# Copyright (C) 2016, 2017, 2018, 2019  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 list test suite:
#

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

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

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

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

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

--[ list-object-basic-val-basic ]-----------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for v in null false true 123 '"foo"' '{}' '[]'; do T='{"type":"list","args":[{"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":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '[]'
$

--[ list-object-basic-val-object-empty ]----------------------------------------

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

--[ list-object-basic-val-object-basic ]----------------------------------------

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

--[ list-object-basic-val-object-basic2 ]---------------------------------------

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

--[ list-object-basic-val-object-basic-basic ]----------------------------------

#
# # 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 T='{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"'"$t"'"}]}]}'; c="json -d '$T' <<< '{\"baa\":$v0,\"buu\":$v}'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[{}],"buu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[{}],"buu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[{}],"buu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[{}],"buu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[{}],"buu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[{}],"buu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[{}],"buu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":null,"buu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":null,"buu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":null,"buu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":null,"buu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":null,"buu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":null,"buu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":null,"buu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":false,"buu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":false,"buu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":false,"buu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":false,"buu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":false,"buu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":false,"buu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":false,"buu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":456,"buu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":456,"buu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":456,"buu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":456,"buu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":456,"buu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":456,"buu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":456,"buu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":"bar","buu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":"bar","buu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":"bar","buu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":"bar","buu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":"bar","buu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":"bar","buu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":"bar","buu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":{},"buu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":{},"buu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":{},"buu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":{},"buu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":{},"buu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":{},"buu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":{},"buu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[],"buu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[],"buu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[],"buu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[],"buu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[],"buu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[],"buu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[],"buu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":[]}'
$

--[ list-object-basic-val-object-basic-basic2 ]---------------------------------

#
# # 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 T='{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"'"$t"'"}]}]}'; c="json -d '$T' <<< '{\"faa\":$v0,\"baa\":$v}'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":[{}],"baa":null}
json: error: <stdin>:1:12:            ^
{"faa":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":[{}],"baa":false}
json: error: <stdin>:1:12:            ^
{"faa":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":[{}],"baa":true}
json: error: <stdin>:1:12:            ^
{"faa":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":[{}],"baa":123}
json: error: <stdin>:1:12:            ^
{"faa":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":"foo"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":[{}],"baa":"foo"}
json: error: <stdin>:1:12:            ^
{"faa":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":[{}],"baa":{}}
json: error: <stdin>:1:12:            ^
{"faa":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":[{}],"baa":[]}
json: error: <stdin>:1:12:            ^
{"faa":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":null}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":false}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":true}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":123}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":"foo"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":"foo"}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":{}}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":[]}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":null}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":false}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":true}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":123}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":"foo"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":{}}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":[]}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":null}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":456,"baa":null}
json: error: <stdin>:1:11:           ^
{"faa":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":false}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":456,"baa":false}
json: error: <stdin>:1:11:           ^
{"faa":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":true}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":456,"baa":true}
json: error: <stdin>:1:11:           ^
{"faa":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":123}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":456,"baa":123}
json: error: <stdin>:1:11:           ^
{"faa":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":"foo"}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":456,"baa":"foo"}
json: error: <stdin>:1:11:           ^
{"faa":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":{}}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":456,"baa":{}}
json: error: <stdin>:1:11:           ^
{"faa":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":[]}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":456,"baa":[]}
json: error: <stdin>:1:11:           ^
{"faa":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"bar","baa":null}
json: error: <stdin>:1:13:             ^
{"faa":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"bar","baa":false}
json: error: <stdin>:1:13:             ^
{"faa":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"bar","baa":true}
json: error: <stdin>:1:13:             ^
{"faa":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"bar","baa":123}
json: error: <stdin>:1:13:             ^
{"faa":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":"foo"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"bar","baa":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"bar","baa":{}}
json: error: <stdin>:1:13:             ^
{"faa":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"bar","baa":[]}
json: error: <stdin>:1:13:             ^
{"faa":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":{},"baa":null}
json: error: <stdin>:1:10:          ^
{"faa":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":false}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":{},"baa":false}
json: error: <stdin>:1:10:          ^
{"faa":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":true}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":{},"baa":true}
json: error: <stdin>:1:10:          ^
{"faa":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":123}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":{},"baa":123}
json: error: <stdin>:1:10:          ^
{"faa":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":"foo"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":{},"baa":"foo"}
json: error: <stdin>:1:10:          ^
{"faa":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":{}}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":{},"baa":{}}
json: error: <stdin>:1:10:          ^
{"faa":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":[]}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":{},"baa":[]}
json: error: <stdin>:1:10:          ^
{"faa":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":[],"baa":null}
json: error: <stdin>:1:10:          ^
{"faa":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":false}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":[],"baa":false}
json: error: <stdin>:1:10:          ^
{"faa":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":true}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":[],"baa":true}
json: error: <stdin>:1:10:          ^
{"faa":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":123}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":[],"baa":123}
json: error: <stdin>:1:10:          ^
{"faa":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":"foo"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":[],"baa":"foo"}
json: error: <stdin>:1:10:          ^
{"faa":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":{}}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":[],"baa":{}}
json: error: <stdin>:1:10:          ^
{"faa":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":[]}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":[],"baa":[]}
json: error: <stdin>:1:10:          ^
{"faa":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":[]}'
$

--[ list-object-basic-basic-val-basic ]-----------------------------------------

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

--[ list-object-basic-basic-val-object-empty ]----------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for t2 in type null boolean number string object array; do T='{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"'"$t"'"},{"name":"baa","type":"'"$t2"'"}]}]}'; c="json -d '$T' <<< '{}'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{}'
$

--[ list-object-basic-basic-val-object-basic ]----------------------------------

#
# # 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 '"foo"' '{}' '[]'; do T='{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"'"$t"'"},{"name":"baa","type":"'"$t2"'"}]}]}'; c="json -d '$T' <<< '{\"fuu\":$v}'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":[]}'
$

--[ list-object-basic-basic-val-object-basic2 ]---------------------------------

#
# # 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 '"foo"' '{}' '[]'; do T='{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"'"$t"'"},{"name":"baa","type":"'"$t2"'"}]}]}'; c="json -d '$T' <<< '{\"faa\":$v}'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":null}'
json: error: <stdin>:1:12: type check error: too few arguments
json: error: <stdin>:1:12: {"faa":null}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":false}'
json: error: <stdin>:1:13: type check error: too few arguments
json: error: <stdin>:1:13: {"faa":false}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":true}'
json: error: <stdin>:1:12: type check error: too few arguments
json: error: <stdin>:1:12: {"faa":true}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":123}'
json: error: <stdin>:1:11: type check error: too few arguments
json: error: <stdin>:1:11: {"faa":123}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":"foo"}'
json: error: <stdin>:1:13: type check error: too few arguments
json: error: <stdin>:1:13: {"faa":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":{}}'
json: error: <stdin>:1:10: type check error: too few arguments
json: error: <stdin>:1:10: {"faa":{}}
json: error: <stdin>:1:10:          ^
{"faa":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":[]}'
json: error: <stdin>:1:10: type check error: too few arguments
json: error: <stdin>:1:10: {"faa":[]}
json: error: <stdin>:1:10:          ^
{"faa":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":null}'
json: error: <stdin>:1:12: type check error: too few arguments
json: error: <stdin>:1:12: {"faa":null}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":false}'
json: error: <stdin>:1:13: type check error: too few arguments
json: error: <stdin>:1:13: {"faa":false}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":true}'
json: error: <stdin>:1:12: type check error: too few arguments
json: error: <stdin>:1:12: {"faa":true}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":123}'
json: error: <stdin>:1:11: type check error: too few arguments
json: error: <stdin>:1:11: {"faa":123}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":"foo"}'
json: error: <stdin>:1:13: type check error: too few arguments
json: error: <stdin>:1:13: {"faa":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":{}}'
json: error: <stdin>:1:10: type check error: too few arguments
json: error: <stdin>:1:10: {"faa":{}}
json: error: <stdin>:1:10:          ^
{"faa":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[]}'
json: error: <stdin>:1:10: type check error: too few arguments
json: error: <stdin>:1:10: {"faa":[]}
json: error: <stdin>:1:10:          ^
{"faa":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":null}'
json: error: <stdin>:1:12: type check error: too few arguments
json: error: <stdin>:1:12: {"faa":null}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":false}'
json: error: <stdin>:1:13: type check error: too few arguments
json: error: <stdin>:1:13: {"faa":false}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":true}'
json: error: <stdin>:1:12: type check error: too few arguments
json: error: <stdin>:1:12: {"faa":true}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":123}'
json: error: <stdin>:1:11: type check error: too few arguments
json: error: <stdin>:1:11: {"faa":123}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":"foo"}'
json: error: <stdin>:1:13: type check error: too few arguments
json: error: <stdin>:1:13: {"faa":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":{}}'
json: error: <stdin>:1:10: type check error: too few arguments
json: error: <stdin>:1:10: {"faa":{}}
json: error: <stdin>:1:10:          ^
{"faa":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[]}'
json: error: <stdin>:1:10: type check error: too few arguments
json: error: <stdin>:1:10: {"faa":[]}
json: error: <stdin>:1:10:          ^
{"faa":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":null}'
json: error: <stdin>:1:12: type check error: too few arguments
json: error: <stdin>:1:12: {"faa":null}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":false}'
json: error: <stdin>:1:13: type check error: too few arguments
json: error: <stdin>:1:13: {"faa":false}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":true}'
json: error: <stdin>:1:12: type check error: too few arguments
json: error: <stdin>:1:12: {"faa":true}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":123}'
json: error: <stdin>:1:11: type check error: too few arguments
json: error: <stdin>:1:11: {"faa":123}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":"foo"}'
json: error: <stdin>:1:13: type check error: too few arguments
json: error: <stdin>:1:13: {"faa":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":{}}'
json: error: <stdin>:1:10: type check error: too few arguments
json: error: <stdin>:1:10: {"faa":{}}
json: error: <stdin>:1:10:          ^
{"faa":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[]}'
json: error: <stdin>:1:10: type check error: too few arguments
json: error: <stdin>:1:10: {"faa":[]}
json: error: <stdin>:1:10:          ^
{"faa":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":null}'
json: error: <stdin>:1:12: type check error: too few arguments
json: error: <stdin>:1:12: {"faa":null}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":false}'
json: error: <stdin>:1:13: type check error: too few arguments
json: error: <stdin>:1:13: {"faa":false}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":true}'
json: error: <stdin>:1:12: type check error: too few arguments
json: error: <stdin>:1:12: {"faa":true}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":123}'
json: error: <stdin>:1:11: type check error: too few arguments
json: error: <stdin>:1:11: {"faa":123}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":"foo"}'
json: error: <stdin>:1:13: type check error: too few arguments
json: error: <stdin>:1:13: {"faa":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":{}}'
json: error: <stdin>:1:10: type check error: too few arguments
json: error: <stdin>:1:10: {"faa":{}}
json: error: <stdin>:1:10:          ^
{"faa":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[]}'
json: error: <stdin>:1:10: type check error: too few arguments
json: error: <stdin>:1:10: {"faa":[]}
json: error: <stdin>:1:10:          ^
{"faa":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":null}'
json: error: <stdin>:1:12: type check error: too few arguments
json: error: <stdin>:1:12: {"faa":null}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":false}'
json: error: <stdin>:1:13: type check error: too few arguments
json: error: <stdin>:1:13: {"faa":false}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":true}'
json: error: <stdin>:1:12: type check error: too few arguments
json: error: <stdin>:1:12: {"faa":true}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":123}'
json: error: <stdin>:1:11: type check error: too few arguments
json: error: <stdin>:1:11: {"faa":123}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":"foo"}'
json: error: <stdin>:1:13: type check error: too few arguments
json: error: <stdin>:1:13: {"faa":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":{}}'
json: error: <stdin>:1:10: type check error: too few arguments
json: error: <stdin>:1:10: {"faa":{}}
json: error: <stdin>:1:10:          ^
{"faa":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[]}'
json: error: <stdin>:1:10: type check error: too few arguments
json: error: <stdin>:1:10: {"faa":[]}
json: error: <stdin>:1:10:          ^
{"faa":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":null}'
json: error: <stdin>:1:12: type check error: too few arguments
json: error: <stdin>:1:12: {"faa":null}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":false}'
json: error: <stdin>:1:13: type check error: too few arguments
json: error: <stdin>:1:13: {"faa":false}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":true}'
json: error: <stdin>:1:12: type check error: too few arguments
json: error: <stdin>:1:12: {"faa":true}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":123}'
json: error: <stdin>:1:11: type check error: too few arguments
json: error: <stdin>:1:11: {"faa":123}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":"foo"}'
json: error: <stdin>:1:13: type check error: too few arguments
json: error: <stdin>:1:13: {"faa":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":{}}'
json: error: <stdin>:1:10: type check error: too few arguments
json: error: <stdin>:1:10: {"faa":{}}
json: error: <stdin>:1:10:          ^
{"faa":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[]}'
json: error: <stdin>:1:10: type check error: too few arguments
json: error: <stdin>:1:10: {"faa":[]}
json: error: <stdin>:1:10:          ^
{"faa":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":null}'
json: error: <stdin>:1:12: type check error: too few arguments
json: error: <stdin>:1:12: {"faa":null}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"faa":false}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"faa":true}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"faa":123}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":"foo"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"faa":"foo"}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"faa":{}}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"faa":[]}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":null}'
json: error: <stdin>:1:12: type check error: too few arguments
json: error: <stdin>:1:12: {"faa":null}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"faa":false}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"faa":true}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"faa":123}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":"foo"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"faa":"foo"}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"faa":{}}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"faa":[]}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":null}'
json: error: <stdin>:1:12: type check error: too few arguments
json: error: <stdin>:1:12: {"faa":null}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"faa":false}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"faa":true}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"faa":123}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":"foo"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"faa":"foo"}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"faa":{}}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"faa":[]}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":null}'
json: error: <stdin>:1:12: type check error: too few arguments
json: error: <stdin>:1:12: {"faa":null}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"faa":false}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"faa":true}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"faa":123}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":"foo"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"faa":"foo"}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"faa":{}}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"faa":[]}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":null}'
json: error: <stdin>:1:12: type check error: too few arguments
json: error: <stdin>:1:12: {"faa":null}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"faa":false}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"faa":true}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"faa":123}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":"foo"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"faa":"foo"}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"faa":{}}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"faa":[]}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":null}'
json: error: <stdin>:1:12: type check error: too few arguments
json: error: <stdin>:1:12: {"faa":null}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"faa":false}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"faa":true}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"faa":123}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":"foo"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"faa":"foo"}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"faa":{}}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"faa":[]}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":null}'
json: error: <stdin>:1:12: type check error: too few arguments
json: error: <stdin>:1:12: {"faa":null}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"faa":false}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"faa":true}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"faa":123}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":"foo"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"faa":"foo"}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"faa":{}}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"faa":[]}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"faa":null}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":false}'
json: error: <stdin>:1:13: type check error: too few arguments
json: error: <stdin>:1:13: {"faa":false}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":true}'
json: error: <stdin>:1:12: type check error: too few arguments
json: error: <stdin>:1:12: {"faa":true}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"faa":123}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":"foo"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"faa":"foo"}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"faa":{}}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"faa":[]}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"faa":null}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":false}'
json: error: <stdin>:1:13: type check error: too few arguments
json: error: <stdin>:1:13: {"faa":false}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":true}'
json: error: <stdin>:1:12: type check error: too few arguments
json: error: <stdin>:1:12: {"faa":true}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"faa":123}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":"foo"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"faa":"foo"}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"faa":{}}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"faa":[]}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"faa":null}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":false}'
json: error: <stdin>:1:13: type check error: too few arguments
json: error: <stdin>:1:13: {"faa":false}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":true}'
json: error: <stdin>:1:12: type check error: too few arguments
json: error: <stdin>:1:12: {"faa":true}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"faa":123}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":"foo"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"faa":"foo"}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"faa":{}}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"faa":[]}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"faa":null}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":false}'
json: error: <stdin>:1:13: type check error: too few arguments
json: error: <stdin>:1:13: {"faa":false}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":true}'
json: error: <stdin>:1:12: type check error: too few arguments
json: error: <stdin>:1:12: {"faa":true}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"faa":123}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":"foo"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"faa":"foo"}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"faa":{}}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"faa":[]}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"faa":null}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":false}'
json: error: <stdin>:1:13: type check error: too few arguments
json: error: <stdin>:1:13: {"faa":false}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":true}'
json: error: <stdin>:1:12: type check error: too few arguments
json: error: <stdin>:1:12: {"faa":true}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"faa":123}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":"foo"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"faa":"foo"}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"faa":{}}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"faa":[]}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"faa":null}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":false}'
json: error: <stdin>:1:13: type check error: too few arguments
json: error: <stdin>:1:13: {"faa":false}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":true}'
json: error: <stdin>:1:12: type check error: too few arguments
json: error: <stdin>:1:12: {"faa":true}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"faa":123}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":"foo"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"faa":"foo"}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"faa":{}}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"faa":[]}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"faa":null}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":false}'
json: error: <stdin>:1:13: type check error: too few arguments
json: error: <stdin>:1:13: {"faa":false}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":true}'
json: error: <stdin>:1:12: type check error: too few arguments
json: error: <stdin>:1:12: {"faa":true}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"faa":123}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":"foo"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"faa":"foo"}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"faa":{}}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"faa":[]}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"faa":null}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"faa":false}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"faa":true}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":123}'
json: error: <stdin>:1:11: type check error: too few arguments
json: error: <stdin>:1:11: {"faa":123}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":"foo"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"faa":"foo"}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"faa":{}}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"faa":[]}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"faa":null}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"faa":false}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"faa":true}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":123}'
json: error: <stdin>:1:11: type check error: too few arguments
json: error: <stdin>:1:11: {"faa":123}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":"foo"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"faa":"foo"}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"faa":{}}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"faa":[]}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"faa":null}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"faa":false}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"faa":true}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":123}'
json: error: <stdin>:1:11: type check error: too few arguments
json: error: <stdin>:1:11: {"faa":123}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":"foo"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"faa":"foo"}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"faa":{}}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"faa":[]}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"faa":null}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"faa":false}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"faa":true}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":123}'
json: error: <stdin>:1:11: type check error: too few arguments
json: error: <stdin>:1:11: {"faa":123}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":"foo"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"faa":"foo"}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"faa":{}}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"faa":[]}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"faa":null}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"faa":false}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"faa":true}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":123}'
json: error: <stdin>:1:11: type check error: too few arguments
json: error: <stdin>:1:11: {"faa":123}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":"foo"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"faa":"foo"}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"faa":{}}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"faa":[]}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"faa":null}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"faa":false}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"faa":true}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":123}'
json: error: <stdin>:1:11: type check error: too few arguments
json: error: <stdin>:1:11: {"faa":123}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":"foo"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"faa":"foo"}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"faa":{}}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"faa":[]}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"faa":null}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"faa":false}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"faa":true}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":123}'
json: error: <stdin>:1:11: type check error: too few arguments
json: error: <stdin>:1:11: {"faa":123}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":"foo"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"faa":"foo"}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"faa":{}}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"faa":[]}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"faa":null}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"faa":false}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"faa":true}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"faa":123}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":"foo"}'
json: error: <stdin>:1:13: type check error: too few arguments
json: error: <stdin>:1:13: {"faa":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"faa":{}}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"faa":[]}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"faa":null}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"faa":false}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"faa":true}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"faa":123}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":"foo"}'
json: error: <stdin>:1:13: type check error: too few arguments
json: error: <stdin>:1:13: {"faa":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"faa":{}}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"faa":[]}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"faa":null}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"faa":false}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"faa":true}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"faa":123}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":"foo"}'
json: error: <stdin>:1:13: type check error: too few arguments
json: error: <stdin>:1:13: {"faa":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"faa":{}}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"faa":[]}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"faa":null}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"faa":false}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"faa":true}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"faa":123}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":"foo"}'
json: error: <stdin>:1:13: type check error: too few arguments
json: error: <stdin>:1:13: {"faa":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"faa":{}}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"faa":[]}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"faa":null}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"faa":false}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"faa":true}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"faa":123}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":"foo"}'
json: error: <stdin>:1:13: type check error: too few arguments
json: error: <stdin>:1:13: {"faa":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"faa":{}}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"faa":[]}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"faa":null}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"faa":false}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"faa":true}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"faa":123}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":"foo"}'
json: error: <stdin>:1:13: type check error: too few arguments
json: error: <stdin>:1:13: {"faa":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"faa":{}}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"faa":[]}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"faa":null}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"faa":false}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"faa":true}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"faa":123}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":"foo"}'
json: error: <stdin>:1:13: type check error: too few arguments
json: error: <stdin>:1:13: {"faa":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"faa":{}}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"faa":[]}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"faa":null}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"faa":false}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"faa":true}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"faa":123}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":"foo"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"faa":"foo"}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":{}}'
json: error: <stdin>:1:10: type check error: too few arguments
json: error: <stdin>:1:10: {"faa":{}}
json: error: <stdin>:1:10:          ^
{"faa":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"faa":[]}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"faa":null}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"faa":false}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"faa":true}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"faa":123}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":"foo"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"faa":"foo"}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":{}}'
json: error: <stdin>:1:10: type check error: too few arguments
json: error: <stdin>:1:10: {"faa":{}}
json: error: <stdin>:1:10:          ^
{"faa":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"faa":[]}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"faa":null}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"faa":false}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"faa":true}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"faa":123}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":"foo"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"faa":"foo"}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":{}}'
json: error: <stdin>:1:10: type check error: too few arguments
json: error: <stdin>:1:10: {"faa":{}}
json: error: <stdin>:1:10:          ^
{"faa":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"faa":[]}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"faa":null}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"faa":false}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"faa":true}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"faa":123}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":"foo"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"faa":"foo"}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":{}}'
json: error: <stdin>:1:10: type check error: too few arguments
json: error: <stdin>:1:10: {"faa":{}}
json: error: <stdin>:1:10:          ^
{"faa":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"faa":[]}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"faa":null}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"faa":false}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"faa":true}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"faa":123}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":"foo"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"faa":"foo"}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":{}}'
json: error: <stdin>:1:10: type check error: too few arguments
json: error: <stdin>:1:10: {"faa":{}}
json: error: <stdin>:1:10:          ^
{"faa":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"faa":[]}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"faa":null}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"faa":false}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"faa":true}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"faa":123}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":"foo"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"faa":"foo"}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":{}}'
json: error: <stdin>:1:10: type check error: too few arguments
json: error: <stdin>:1:10: {"faa":{}}
json: error: <stdin>:1:10:          ^
{"faa":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"faa":[]}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"faa":null}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"faa":false}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"faa":true}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"faa":123}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":"foo"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"faa":"foo"}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":{}}'
json: error: <stdin>:1:10: type check error: too few arguments
json: error: <stdin>:1:10: {"faa":{}}
json: error: <stdin>:1:10:          ^
{"faa":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"faa":[]}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"faa":null}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"faa":false}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"faa":true}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"faa":123}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":"foo"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"faa":"foo"}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"faa":{}}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":[]}'
json: error: <stdin>:1:10: type check error: too few arguments
json: error: <stdin>:1:10: {"faa":[]}
json: error: <stdin>:1:10:          ^
{"faa":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"faa":null}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"faa":false}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"faa":true}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"faa":123}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":"foo"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"faa":"foo"}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"faa":{}}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[]}'
json: error: <stdin>:1:10: type check error: too few arguments
json: error: <stdin>:1:10: {"faa":[]}
json: error: <stdin>:1:10:          ^
{"faa":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"faa":null}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"faa":false}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"faa":true}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"faa":123}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":"foo"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"faa":"foo"}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"faa":{}}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[]}'
json: error: <stdin>:1:10: type check error: too few arguments
json: error: <stdin>:1:10: {"faa":[]}
json: error: <stdin>:1:10:          ^
{"faa":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"faa":null}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"faa":false}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"faa":true}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"faa":123}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":"foo"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"faa":"foo"}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"faa":{}}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[]}'
json: error: <stdin>:1:10: type check error: too few arguments
json: error: <stdin>:1:10: {"faa":[]}
json: error: <stdin>:1:10:          ^
{"faa":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"faa":null}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"faa":false}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"faa":true}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"faa":123}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":"foo"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"faa":"foo"}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"faa":{}}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[]}'
json: error: <stdin>:1:10: type check error: too few arguments
json: error: <stdin>:1:10: {"faa":[]}
json: error: <stdin>:1:10:          ^
{"faa":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"faa":null}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"faa":false}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"faa":true}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"faa":123}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":"foo"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"faa":"foo"}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"faa":{}}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[]}'
json: error: <stdin>:1:10: type check error: too few arguments
json: error: <stdin>:1:10: {"faa":[]}
json: error: <stdin>:1:10:          ^
{"faa":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"faa":null}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"faa":false}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"faa":true}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"faa":123}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":"foo"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"faa":"foo"}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"faa":{}}
json: error: <stdin>:1:8:        ^
{"faa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[]}'
json: error: <stdin>:1:10: type check error: too few arguments
json: error: <stdin>:1:10: {"faa":[]}
json: error: <stdin>:1:10:          ^
{"faa":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[]}'
$

--[ list-object-basic-basic-val-object-basic-basic ]----------------------------

#
# # 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 t2 in type null boolean number string object array; do for v in null false true 123 '"foo"' '{}' '[]'; do T='{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"'"$t"'"},{"name":"baa","type":"'"$t2"'"}]}]}'; c="json -d '$T' <<< '{\"fuu\":$v0,\"baa\":$v}'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":[{}],"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":[{}],"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":[{}],"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":[{}],"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":[{}],"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":[{}],"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":[{}],"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":[{}],"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":[{}],"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":[{}],"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":[{}],"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":[{}],"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":[{}],"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":[{}],"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":[{}],"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":[{}],"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":[{}],"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":[{}],"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":[{}],"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":[{}],"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":[{}],"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":[{}],"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":[{}],"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":[{}],"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":[{}],"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":[{}],"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":[{}],"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":[{}],"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":[{}],"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":[{}],"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":[{}],"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":[{}],"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":[{}],"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":[{}],"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":[{}],"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":[{}],"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":[{}],"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":[{}],"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":[{}],"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":[{}],"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":[{}],"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":[{}],"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":[{}],"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":[{}],"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":[{}],"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":[{}],"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":[{}],"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":[{}],"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":[{}],"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":[{}],"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":[{}],"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":[{}],"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":[{}],"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":[{}],"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":[{}],"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":[{}],"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":[{}],"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":[{}],"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":[{}],"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":[{}],"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":[{}],"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":[{}],"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":[{}],"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":[{}],"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":[{}],"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":[{}],"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":[{}],"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":[{}],"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":[{}],"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":[{}],"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":[{}],"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":[{}],"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":[{}],"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":[{}],"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":[{}],"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":[{}],"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":[{}],"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":[{}],"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":[{}],"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":[{}],"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":[{}],"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":[{}],"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":[{}],"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":[{}],"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":null,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":null,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":null,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":null,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":null,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":null,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":null,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":null,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":null,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":null,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":null,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":null,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":null,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":null,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":null,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":null,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":null,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":null,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":null,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":null,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":null,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":null,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":null,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":null,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":null,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":null,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":null,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":null,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":null,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":null,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":null,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":null,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":null,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":null,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":null,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":null,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":null,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":null,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":null,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":null,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":null,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":null,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":null,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":null,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":null,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":null,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":null,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":null,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":null,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":null,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":null,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":null,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":null,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":null,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":null,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":null,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":null,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":null,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":null,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":null,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":null,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":null,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":null,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":null,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":null,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":null,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":null,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":null,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":null,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":null,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":null,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":null,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":null,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":null,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":null,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":null,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":null,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":null,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":null,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":null,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":null,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":null,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":null,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":null,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":null,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":null,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":null,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":null,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":null,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":null,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":null,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":null,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":null,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":null,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":null,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":null,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":null,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":null,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":false,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":false,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":false,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":false,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":false,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":false,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":false,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":false,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":false,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":false,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":false,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":false,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":false,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":false,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":false,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":false,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":false,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":false,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":false,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":false,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":false,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":false,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":false,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":false,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":false,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":false,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":false,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":false,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":false,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":false,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":false,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":false,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":false,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":false,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":false,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":false,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":false,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":false,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":false,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":false,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":false,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":false,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":false,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":false,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":false,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":false,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":false,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":false,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":false,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":false,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":false,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":false,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":false,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":false,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":false,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":false,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":false,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":false,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":false,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":false,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":false,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":false,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":false,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":false,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":false,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":false,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":false,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":false,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":false,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":false,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":false,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":false,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":false,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":false,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":false,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":false,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":false,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":false,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":false,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":false,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":false,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":false,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":false,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":false,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":456,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":456,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":456,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":456,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":456,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":456,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":456,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":456,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":456,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":456,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":456,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":456,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":456,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":456,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":456,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":456,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":456,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":456,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":456,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":456,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":456,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":456,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":456,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":456,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":456,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":456,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":456,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":456,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":456,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":456,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":456,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":456,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":456,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":456,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":456,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":456,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":456,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":456,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":456,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":456,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":456,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":456,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":456,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":456,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":456,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":456,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":456,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":456,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":456,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":456,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":456,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":456,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":456,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":456,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":456,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":456,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":456,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":456,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":456,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":456,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":456,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":456,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":456,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":456,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":456,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":456,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":456,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":456,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":456,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":456,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":456,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":456,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":456,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":456,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":456,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":456,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":456,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":456,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":456,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":456,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":456,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":456,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":456,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":456,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":456,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":456,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":456,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":456,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":456,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":456,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":456,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":456,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":456,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":456,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":456,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":456,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":456,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":456,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":"bar","baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":"bar","baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":"bar","baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":"bar","baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":"bar","baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":"bar","baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":"bar","baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":"bar","baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":"bar","baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":"bar","baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":"bar","baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":"bar","baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":"bar","baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":"bar","baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":"bar","baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":"bar","baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":"bar","baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":"bar","baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":"bar","baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":"bar","baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":"bar","baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":"bar","baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":"bar","baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":"bar","baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":"bar","baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":"bar","baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":"bar","baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":"bar","baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":"bar","baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":"bar","baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":"bar","baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":"bar","baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":"bar","baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":"bar","baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":"bar","baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":"bar","baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":"bar","baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":"bar","baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":"bar","baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":"bar","baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":"bar","baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":"bar","baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":"bar","baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":"bar","baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":"bar","baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":"bar","baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":"bar","baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":"bar","baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":"bar","baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":"bar","baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":"bar","baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":"bar","baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":"bar","baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":"bar","baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":"bar","baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":"bar","baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":"bar","baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":"bar","baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":"bar","baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":"bar","baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":"bar","baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":"bar","baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":"bar","baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":"bar","baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":"bar","baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":"bar","baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":"bar","baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":"bar","baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":"bar","baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":"bar","baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":"bar","baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":"bar","baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":"bar","baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":"bar","baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":"bar","baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":"bar","baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":"bar","baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":"bar","baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":"bar","baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":"bar","baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":"bar","baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":"bar","baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":"bar","baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":"bar","baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":"bar","baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":"bar","baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":"bar","baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":"bar","baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":"bar","baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":"bar","baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":"bar","baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":"bar","baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":"bar","baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":"bar","baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":"bar","baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":"bar","baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":"bar","baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":"bar","baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":{},"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":{},"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":{},"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":{},"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":{},"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":{},"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":{},"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":{},"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":{},"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":{},"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":{},"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":{},"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":{},"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":{},"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":{},"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":{},"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":{},"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":{},"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":{},"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":{},"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":{},"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":{},"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":{},"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":{},"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":{},"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":{},"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":{},"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":{},"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":{},"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":{},"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":{},"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":{},"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":{},"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":{},"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":{},"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":{},"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":{},"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":{},"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":{},"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":{},"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":{},"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":{},"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":{},"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":{},"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":{},"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":{},"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":{},"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":{},"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":{},"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":{},"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":{},"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":{},"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":{},"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":{},"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":{},"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":{},"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":{},"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":{},"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":{},"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":{},"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":{},"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":{},"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":{},"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":{},"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":{},"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":{},"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":{},"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":{},"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":{},"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":{},"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":{},"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":{},"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":{},"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":{},"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":{},"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":{},"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":{},"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":{},"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":{},"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":{},"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":{},"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":{},"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":{},"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":{},"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":{},"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":{},"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":{},"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":{},"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":{},"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":{},"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":{},"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":{},"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":{},"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":{},"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":{},"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":{},"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":{},"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":{},"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":[],"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":[],"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":[],"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":[],"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":[],"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":[],"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":[],"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":[],"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":[],"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":[],"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":[],"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":[],"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":[],"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"fuu":[],"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":[],"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":[],"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":[],"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":[],"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":[],"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":[],"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":[],"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":[],"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":[],"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":[],"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":[],"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":[],"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":[],"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"fuu":[],"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":[],"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":[],"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":[],"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":[],"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":[],"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":[],"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":[],"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":[],"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":[],"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":[],"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":[],"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":[],"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":[],"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"fuu":[],"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":[],"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":[],"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":[],"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":[],"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":[],"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":[],"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":[],"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":[],"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":[],"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":[],"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":[],"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":[],"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":[],"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"fuu":[],"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":[],"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":[],"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":[],"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":[],"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":[],"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":[],"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":[],"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":[],"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":[],"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":[],"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":[],"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":[],"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":[],"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"fuu":[],"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":[],"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":[],"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":[],"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":[],"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":[],"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":[],"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":[],"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":[],"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":[],"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":[],"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":[],"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":[],"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":[],"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"fuu":[],"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":[],"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":[],"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":[],"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":[],"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":[],"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":[],"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":[],"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":[],"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":[],"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":[],"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":[],"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":[],"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":[],"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"fuu":[],"baa":[]}'
$

--[ list-object-basic-basic-val-object-basic-basic2 ]---------------------------

#
# # 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 t2 in type null boolean number string object array; do for v in null false true 123 '"foo"' '{}' '[]'; do T='{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"'"$t"'"},{"name":"baa","type":"'"$t2"'"}]}]}'; c="json -d '$T' <<< '{\"faa\":$v0,\"buu\":$v}'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":[{}],"buu":null}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":null}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":[{}],"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":[{}],"buu":false}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":false}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":[{}],"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":[{}],"buu":true}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":true}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":[{}],"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":[{}],"buu":123}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":123}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":[{}],"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":[{}],"buu":"foo"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":[{}],"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":[{}],"buu":{}}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":{}}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":[{}],"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":[{}],"buu":[]}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":[]}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":[{}],"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[{}],"buu":null}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":null}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[{}],"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[{}],"buu":false}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":false}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[{}],"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[{}],"buu":true}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":true}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[{}],"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[{}],"buu":123}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":123}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[{}],"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[{}],"buu":"foo"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[{}],"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[{}],"buu":{}}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":{}}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[{}],"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[{}],"buu":[]}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":[]}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[{}],"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[{}],"buu":null}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":null}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[{}],"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[{}],"buu":false}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":false}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[{}],"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[{}],"buu":true}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":true}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[{}],"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[{}],"buu":123}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":123}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[{}],"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[{}],"buu":"foo"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[{}],"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[{}],"buu":{}}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":{}}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[{}],"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[{}],"buu":[]}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":[]}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[{}],"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[{}],"buu":null}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":null}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[{}],"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[{}],"buu":false}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":false}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[{}],"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[{}],"buu":true}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":true}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[{}],"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[{}],"buu":123}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":123}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[{}],"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[{}],"buu":"foo"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[{}],"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[{}],"buu":{}}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":{}}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[{}],"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[{}],"buu":[]}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":[]}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[{}],"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[{}],"buu":null}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":null}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[{}],"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[{}],"buu":false}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":false}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[{}],"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[{}],"buu":true}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":true}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[{}],"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[{}],"buu":123}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":123}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[{}],"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[{}],"buu":"foo"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[{}],"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[{}],"buu":{}}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":{}}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[{}],"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[{}],"buu":[]}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":[]}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[{}],"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[{}],"buu":null}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":null}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[{}],"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[{}],"buu":false}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":false}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[{}],"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[{}],"buu":true}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":true}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[{}],"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[{}],"buu":123}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":123}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[{}],"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[{}],"buu":"foo"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[{}],"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[{}],"buu":{}}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":{}}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[{}],"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[{}],"buu":[]}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":[]}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[{}],"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[{}],"buu":null}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":null}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[{}],"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[{}],"buu":false}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":false}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[{}],"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[{}],"buu":true}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":true}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[{}],"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[{}],"buu":123}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":123}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[{}],"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[{}],"buu":"foo"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[{}],"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[{}],"buu":{}}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":{}}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[{}],"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[{}],"buu":[]}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":[]}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[{}],"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":null,"buu":null}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":null}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":null,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":null,"buu":false}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":false}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":null,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":null,"buu":true}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":true}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":null,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":null,"buu":123}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":123}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":null,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":null,"buu":"foo"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":null,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":null,"buu":{}}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":{}}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":null,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":null,"buu":[]}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":[]}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":null,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":null,"buu":null}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":null}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":null,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":null,"buu":false}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":false}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":null,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":null,"buu":true}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":true}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":null,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":null,"buu":123}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":123}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":null,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":null,"buu":"foo"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":null,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":null,"buu":{}}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":{}}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":null,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":null,"buu":[]}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":[]}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":null,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":null,"buu":null}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":null}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":null,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":null,"buu":false}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":false}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":null,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":null,"buu":true}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":true}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":null,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":null,"buu":123}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":123}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":null,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":null,"buu":"foo"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":null,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":null,"buu":{}}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":{}}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":null,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":null,"buu":[]}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":[]}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":null,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":null,"buu":null}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":null}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":null,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":null,"buu":false}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":false}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":null,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":null,"buu":true}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":true}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":null,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":null,"buu":123}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":123}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":null,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":null,"buu":"foo"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":null,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":null,"buu":{}}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":{}}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":null,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":null,"buu":[]}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":[]}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":null,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":null,"buu":null}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":null}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":null,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":null,"buu":false}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":false}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":null,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":null,"buu":true}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":true}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":null,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":null,"buu":123}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":123}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":null,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":null,"buu":"foo"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":null,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":null,"buu":{}}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":{}}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":null,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":null,"buu":[]}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":[]}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":null,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":null,"buu":null}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":null}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":null,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":null,"buu":false}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":false}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":null,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":null,"buu":true}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":true}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":null,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":null,"buu":123}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":123}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":null,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":null,"buu":"foo"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":null,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":null,"buu":{}}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":{}}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":null,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":null,"buu":[]}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":[]}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":null,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":null,"buu":null}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":null}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":null,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":null,"buu":false}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":false}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":null,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":null,"buu":true}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":true}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":null,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":null,"buu":123}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":123}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":null,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":null,"buu":"foo"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":null,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":null,"buu":{}}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":{}}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":null,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":null,"buu":[]}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":[]}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":null,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":false,"buu":null}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":null}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":false,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":false,"buu":false}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":false}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":false,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":false,"buu":true}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":true}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":false,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":false,"buu":123}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":123}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":false,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":false,"buu":"foo"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":"foo"}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":false,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":false,"buu":{}}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":{}}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":false,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":false,"buu":[]}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":[]}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":false,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":false,"buu":null}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":null}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":false,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":false,"buu":false}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":false}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":false,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":false,"buu":true}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":true}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":false,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":false,"buu":123}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":123}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":false,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":false,"buu":"foo"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":"foo"}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":false,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":false,"buu":{}}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":{}}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":false,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":false,"buu":[]}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":[]}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":false,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":false,"buu":null}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":null}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":false,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":false,"buu":false}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":false}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":false,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":false,"buu":true}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":true}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":false,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":false,"buu":123}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":123}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":false,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":false,"buu":"foo"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":"foo"}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":false,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":false,"buu":{}}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":{}}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":false,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":false,"buu":[]}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":[]}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":false,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":false,"buu":null}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":null}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":false,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":false,"buu":false}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":false}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":false,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":false,"buu":true}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":true}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":false,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":false,"buu":123}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":123}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":false,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":false,"buu":"foo"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":"foo"}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":false,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":false,"buu":{}}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":{}}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":false,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":false,"buu":[]}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":[]}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":false,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":false,"buu":null}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":null}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":false,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":false,"buu":false}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":false}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":false,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":false,"buu":true}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":true}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":false,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":false,"buu":123}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":123}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":false,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":false,"buu":"foo"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":"foo"}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":false,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":false,"buu":{}}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":{}}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":false,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":false,"buu":[]}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":[]}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":false,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":false,"buu":null}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":null}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":false,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":false,"buu":false}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":false}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":false,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":false,"buu":true}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":true}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":false,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":false,"buu":123}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":123}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":false,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":false,"buu":"foo"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":"foo"}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":false,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":false,"buu":{}}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":{}}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":false,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":false,"buu":[]}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":[]}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":false,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":false,"buu":null}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":null}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":false,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":false,"buu":false}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":false}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":false,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":false,"buu":true}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":true}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":false,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":false,"buu":123}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":123}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":false,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":false,"buu":"foo"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":"foo"}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":false,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":false,"buu":{}}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":{}}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":false,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":false,"buu":[]}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":[]}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":false,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":456,"buu":null}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":null}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":456,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":456,"buu":false}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":false}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":456,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":456,"buu":true}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":true}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":456,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":456,"buu":123}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":123}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":456,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":456,"buu":"foo"}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":"foo"}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":456,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":456,"buu":{}}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":{}}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":456,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":456,"buu":[]}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":[]}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":456,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":456,"buu":null}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":null}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":456,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":456,"buu":false}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":false}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":456,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":456,"buu":true}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":true}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":456,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":456,"buu":123}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":123}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":456,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":456,"buu":"foo"}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":"foo"}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":456,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":456,"buu":{}}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":{}}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":456,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":456,"buu":[]}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":[]}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":456,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":456,"buu":null}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":null}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":456,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":456,"buu":false}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":false}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":456,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":456,"buu":true}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":true}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":456,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":456,"buu":123}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":123}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":456,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":456,"buu":"foo"}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":"foo"}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":456,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":456,"buu":{}}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":{}}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":456,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":456,"buu":[]}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":[]}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":456,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":456,"buu":null}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":null}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":456,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":456,"buu":false}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":false}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":456,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":456,"buu":true}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":true}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":456,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":456,"buu":123}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":123}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":456,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":456,"buu":"foo"}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":"foo"}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":456,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":456,"buu":{}}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":{}}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":456,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":456,"buu":[]}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":[]}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":456,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":456,"buu":null}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":null}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":456,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":456,"buu":false}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":false}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":456,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":456,"buu":true}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":true}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":456,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":456,"buu":123}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":123}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":456,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":456,"buu":"foo"}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":"foo"}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":456,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":456,"buu":{}}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":{}}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":456,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":456,"buu":[]}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":[]}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":456,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":456,"buu":null}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":null}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":456,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":456,"buu":false}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":false}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":456,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":456,"buu":true}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":true}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":456,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":456,"buu":123}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":123}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":456,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":456,"buu":"foo"}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":"foo"}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":456,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":456,"buu":{}}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":{}}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":456,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":456,"buu":[]}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":[]}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":456,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":456,"buu":null}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":null}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":456,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":456,"buu":false}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":false}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":456,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":456,"buu":true}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":true}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":456,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":456,"buu":123}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":123}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":456,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":456,"buu":"foo"}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":"foo"}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":456,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":456,"buu":{}}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":{}}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":456,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":456,"buu":[]}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":[]}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":456,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":"bar","buu":null}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":null}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":"bar","buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":"bar","buu":false}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":false}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":"bar","buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":"bar","buu":true}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":true}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":"bar","buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":"bar","buu":123}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":123}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":"bar","buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":"bar","buu":"foo"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":"foo"}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":"bar","buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":"bar","buu":{}}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":{}}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":"bar","buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":"bar","buu":[]}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":[]}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":"bar","buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":"bar","buu":null}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":null}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":"bar","buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":"bar","buu":false}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":false}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":"bar","buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":"bar","buu":true}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":true}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":"bar","buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":"bar","buu":123}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":123}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":"bar","buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":"bar","buu":"foo"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":"foo"}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":"bar","buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":"bar","buu":{}}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":{}}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":"bar","buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":"bar","buu":[]}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":[]}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":"bar","buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":"bar","buu":null}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":null}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":"bar","buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":"bar","buu":false}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":false}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":"bar","buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":"bar","buu":true}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":true}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":"bar","buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":"bar","buu":123}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":123}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":"bar","buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":"bar","buu":"foo"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":"foo"}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":"bar","buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":"bar","buu":{}}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":{}}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":"bar","buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":"bar","buu":[]}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":[]}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":"bar","buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":"bar","buu":null}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":null}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":"bar","buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":"bar","buu":false}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":false}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":"bar","buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":"bar","buu":true}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":true}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":"bar","buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":"bar","buu":123}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":123}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":"bar","buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":"bar","buu":"foo"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":"foo"}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":"bar","buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":"bar","buu":{}}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":{}}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":"bar","buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":"bar","buu":[]}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":[]}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":"bar","buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":"bar","buu":null}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":null}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":"bar","buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":"bar","buu":false}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":false}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":"bar","buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":"bar","buu":true}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":true}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":"bar","buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":"bar","buu":123}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":123}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":"bar","buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":"bar","buu":"foo"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":"foo"}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":"bar","buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":"bar","buu":{}}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":{}}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":"bar","buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":"bar","buu":[]}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":[]}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":"bar","buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":"bar","buu":null}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":null}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":"bar","buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":"bar","buu":false}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":false}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":"bar","buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":"bar","buu":true}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":true}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":"bar","buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":"bar","buu":123}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":123}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":"bar","buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":"bar","buu":"foo"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":"foo"}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":"bar","buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":"bar","buu":{}}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":{}}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":"bar","buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":"bar","buu":[]}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":[]}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":"bar","buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":"bar","buu":null}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":null}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":"bar","buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":"bar","buu":false}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":false}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":"bar","buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":"bar","buu":true}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":true}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":"bar","buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":"bar","buu":123}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":123}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":"bar","buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":"bar","buu":"foo"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":"foo"}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":"bar","buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":"bar","buu":{}}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":{}}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":"bar","buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":"bar","buu":[]}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":[]}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":"bar","buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":{},"buu":null}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":null}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":{},"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":{},"buu":false}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":false}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":{},"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":{},"buu":true}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":true}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":{},"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":{},"buu":123}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":123}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":{},"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":{},"buu":"foo"}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":"foo"}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":{},"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":{},"buu":{}}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":{}}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":{},"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":{},"buu":[]}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":[]}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":{},"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":{},"buu":null}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":null}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":{},"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":{},"buu":false}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":false}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":{},"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":{},"buu":true}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":true}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":{},"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":{},"buu":123}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":123}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":{},"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":{},"buu":"foo"}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":"foo"}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":{},"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":{},"buu":{}}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":{}}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":{},"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":{},"buu":[]}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":[]}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":{},"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":{},"buu":null}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":null}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":{},"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":{},"buu":false}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":false}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":{},"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":{},"buu":true}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":true}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":{},"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":{},"buu":123}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":123}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":{},"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":{},"buu":"foo"}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":"foo"}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":{},"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":{},"buu":{}}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":{}}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":{},"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":{},"buu":[]}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":[]}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":{},"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":{},"buu":null}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":null}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":{},"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":{},"buu":false}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":false}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":{},"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":{},"buu":true}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":true}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":{},"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":{},"buu":123}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":123}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":{},"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":{},"buu":"foo"}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":"foo"}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":{},"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":{},"buu":{}}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":{}}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":{},"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":{},"buu":[]}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":[]}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":{},"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":{},"buu":null}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":null}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":{},"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":{},"buu":false}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":false}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":{},"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":{},"buu":true}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":true}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":{},"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":{},"buu":123}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":123}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":{},"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":{},"buu":"foo"}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":"foo"}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":{},"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":{},"buu":{}}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":{}}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":{},"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":{},"buu":[]}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":[]}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":{},"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":{},"buu":null}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":null}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":{},"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":{},"buu":false}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":false}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":{},"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":{},"buu":true}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":true}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":{},"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":{},"buu":123}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":123}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":{},"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":{},"buu":"foo"}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":"foo"}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":{},"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":{},"buu":{}}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":{}}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":{},"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":{},"buu":[]}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":[]}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":{},"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":{},"buu":null}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":null}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":{},"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":{},"buu":false}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":false}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":{},"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":{},"buu":true}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":true}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":{},"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":{},"buu":123}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":123}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":{},"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":{},"buu":"foo"}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":"foo"}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":{},"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":{},"buu":{}}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":{}}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":{},"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":{},"buu":[]}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":[]}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":{},"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":[],"buu":null}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":null}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":[],"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":[],"buu":false}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":false}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":[],"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":[],"buu":true}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":true}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":[],"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":[],"buu":123}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":123}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":[],"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":[],"buu":"foo"}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":"foo"}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":[],"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":[],"buu":{}}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":{}}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":[],"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":[],"buu":[]}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":[]}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":[],"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[],"buu":null}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":null}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[],"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[],"buu":false}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":false}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[],"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[],"buu":true}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":true}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[],"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[],"buu":123}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":123}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[],"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[],"buu":"foo"}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":"foo"}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[],"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[],"buu":{}}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":{}}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[],"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[],"buu":[]}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":[]}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[],"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[],"buu":null}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":null}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[],"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[],"buu":false}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":false}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[],"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[],"buu":true}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":true}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[],"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[],"buu":123}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":123}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[],"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[],"buu":"foo"}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":"foo"}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[],"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[],"buu":{}}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":{}}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[],"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[],"buu":[]}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":[]}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[],"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[],"buu":null}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":null}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[],"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[],"buu":false}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":false}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[],"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[],"buu":true}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":true}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[],"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[],"buu":123}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":123}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[],"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[],"buu":"foo"}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":"foo"}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[],"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[],"buu":{}}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":{}}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[],"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[],"buu":[]}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":[]}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[],"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[],"buu":null}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":null}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[],"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[],"buu":false}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":false}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[],"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[],"buu":true}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":true}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[],"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[],"buu":123}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":123}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[],"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[],"buu":"foo"}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":"foo"}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[],"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[],"buu":{}}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":{}}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[],"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[],"buu":[]}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":[]}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[],"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[],"buu":null}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":null}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[],"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[],"buu":false}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":false}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[],"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[],"buu":true}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":true}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[],"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[],"buu":123}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":123}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[],"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[],"buu":"foo"}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":"foo"}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[],"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[],"buu":{}}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":{}}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[],"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[],"buu":[]}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":[]}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[],"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[],"buu":null}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":null}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[],"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[],"buu":false}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":false}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[],"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[],"buu":true}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":true}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[],"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[],"buu":123}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":123}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[],"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[],"buu":"foo"}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":"foo"}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[],"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[],"buu":{}}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":{}}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[],"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[],"buu":[]}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":[]}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[],"buu":[]}'
$

--[ list-object-basic-basic-val-object-basic-basic3 ]---------------------------

#
# # 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 t2 in type null boolean number string object array; do for v in null false true 123 '"foo"' '{}' '[]'; do T='{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"'"$t"'"},{"name":"baa","type":"'"$t2"'"}]}]}'; c="json -d '$T' <<< '{\"faa\":$v0,\"baa\":$v}'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":null}'
{"faa":[{}],"baa":null}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":false}'
{"faa":[{}],"baa":false}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":true}'
{"faa":[{}],"baa":true}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":123}'
{"faa":[{}],"baa":123}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":"foo"}'
{"faa":[{}],"baa":"foo"}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":{}}'
{"faa":[{}],"baa":{}}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":[]}'
{"faa":[{}],"baa":[]}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[{}],"baa":null}'
{"faa":[{}],"baa":null}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[{}],"baa":false}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:19: {"faa":[{}],"baa":false}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[{}],"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[{}],"baa":true}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:19: {"faa":[{}],"baa":true}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[{}],"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[{}],"baa":123}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:19: {"faa":[{}],"baa":123}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[{}],"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[{}],"baa":"foo"}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:19: {"faa":[{}],"baa":"foo"}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[{}],"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[{}],"baa":{}}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:19: {"faa":[{}],"baa":{}}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[{}],"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[{}],"baa":[]}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:19: {"faa":[{}],"baa":[]}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[{}],"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[{}],"baa":null}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:19: {"faa":[{}],"baa":null}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[{}],"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[{}],"baa":false}'
{"faa":[{}],"baa":false}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[{}],"baa":true}'
{"faa":[{}],"baa":true}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[{}],"baa":123}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:19: {"faa":[{}],"baa":123}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[{}],"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[{}],"baa":"foo"}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:19: {"faa":[{}],"baa":"foo"}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[{}],"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[{}],"baa":{}}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:19: {"faa":[{}],"baa":{}}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[{}],"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[{}],"baa":[]}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:19: {"faa":[{}],"baa":[]}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[{}],"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[{}],"baa":null}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:19: {"faa":[{}],"baa":null}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[{}],"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[{}],"baa":false}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:19: {"faa":[{}],"baa":false}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[{}],"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[{}],"baa":true}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:19: {"faa":[{}],"baa":true}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[{}],"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[{}],"baa":123}'
{"faa":[{}],"baa":123}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[{}],"baa":"foo"}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:19: {"faa":[{}],"baa":"foo"}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[{}],"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[{}],"baa":{}}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:19: {"faa":[{}],"baa":{}}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[{}],"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[{}],"baa":[]}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:19: {"faa":[{}],"baa":[]}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[{}],"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[{}],"baa":null}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:19: {"faa":[{}],"baa":null}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[{}],"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[{}],"baa":false}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:19: {"faa":[{}],"baa":false}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[{}],"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[{}],"baa":true}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:19: {"faa":[{}],"baa":true}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[{}],"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[{}],"baa":123}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:19: {"faa":[{}],"baa":123}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[{}],"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[{}],"baa":"foo"}'
{"faa":[{}],"baa":"foo"}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[{}],"baa":{}}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:19: {"faa":[{}],"baa":{}}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[{}],"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[{}],"baa":[]}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:19: {"faa":[{}],"baa":[]}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[{}],"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[{}],"baa":null}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:19: {"faa":[{}],"baa":null}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[{}],"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[{}],"baa":false}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:19: {"faa":[{}],"baa":false}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[{}],"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[{}],"baa":true}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:19: {"faa":[{}],"baa":true}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[{}],"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[{}],"baa":123}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:19: {"faa":[{}],"baa":123}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[{}],"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[{}],"baa":"foo"}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:19: {"faa":[{}],"baa":"foo"}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[{}],"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[{}],"baa":{}}'
{"faa":[{}],"baa":{}}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[{}],"baa":[]}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:19: {"faa":[{}],"baa":[]}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[{}],"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[{}],"baa":null}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:19: {"faa":[{}],"baa":null}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[{}],"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[{}],"baa":false}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:19: {"faa":[{}],"baa":false}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[{}],"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[{}],"baa":true}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:19: {"faa":[{}],"baa":true}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[{}],"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[{}],"baa":123}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:19: {"faa":[{}],"baa":123}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[{}],"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[{}],"baa":"foo"}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:19: {"faa":[{}],"baa":"foo"}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[{}],"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[{}],"baa":{}}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:19: {"faa":[{}],"baa":{}}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[{}],"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[{}],"baa":[]}'
{"faa":[{}],"baa":[]}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":null,"baa":null}'
{"faa":null,"baa":null}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":null,"baa":false}'
{"faa":null,"baa":false}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":null,"baa":true}'
{"faa":null,"baa":true}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":null,"baa":123}'
{"faa":null,"baa":123}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":null,"baa":"foo"}'
{"faa":null,"baa":"foo"}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":null,"baa":{}}'
{"faa":null,"baa":{}}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":null,"baa":[]}'
{"faa":null,"baa":[]}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":null,"baa":null}'
{"faa":null,"baa":null}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":null,"baa":false}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:19: {"faa":null,"baa":false}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":null,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":null,"baa":true}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:19: {"faa":null,"baa":true}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":null,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":null,"baa":123}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:19: {"faa":null,"baa":123}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":null,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":null,"baa":"foo"}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:19: {"faa":null,"baa":"foo"}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":null,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":null,"baa":{}}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:19: {"faa":null,"baa":{}}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":null,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":null,"baa":[]}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:19: {"faa":null,"baa":[]}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":null,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":null,"baa":null}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:19: {"faa":null,"baa":null}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":null,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":null,"baa":false}'
{"faa":null,"baa":false}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":null,"baa":true}'
{"faa":null,"baa":true}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":null,"baa":123}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:19: {"faa":null,"baa":123}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":null,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":null,"baa":"foo"}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:19: {"faa":null,"baa":"foo"}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":null,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":null,"baa":{}}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:19: {"faa":null,"baa":{}}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":null,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":null,"baa":[]}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:19: {"faa":null,"baa":[]}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":null,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":null,"baa":null}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:19: {"faa":null,"baa":null}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":null,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":null,"baa":false}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:19: {"faa":null,"baa":false}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":null,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":null,"baa":true}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:19: {"faa":null,"baa":true}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":null,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":null,"baa":123}'
{"faa":null,"baa":123}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":null,"baa":"foo"}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:19: {"faa":null,"baa":"foo"}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":null,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":null,"baa":{}}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:19: {"faa":null,"baa":{}}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":null,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":null,"baa":[]}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:19: {"faa":null,"baa":[]}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":null,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":null,"baa":null}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:19: {"faa":null,"baa":null}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":null,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":null,"baa":false}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:19: {"faa":null,"baa":false}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":null,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":null,"baa":true}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:19: {"faa":null,"baa":true}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":null,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":null,"baa":123}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:19: {"faa":null,"baa":123}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":null,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":null,"baa":"foo"}'
{"faa":null,"baa":"foo"}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":null,"baa":{}}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:19: {"faa":null,"baa":{}}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":null,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":null,"baa":[]}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:19: {"faa":null,"baa":[]}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":null,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":null,"baa":null}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:19: {"faa":null,"baa":null}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":null,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":null,"baa":false}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:19: {"faa":null,"baa":false}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":null,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":null,"baa":true}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:19: {"faa":null,"baa":true}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":null,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":null,"baa":123}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:19: {"faa":null,"baa":123}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":null,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":null,"baa":"foo"}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:19: {"faa":null,"baa":"foo"}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":null,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":null,"baa":{}}'
{"faa":null,"baa":{}}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":null,"baa":[]}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:19: {"faa":null,"baa":[]}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":null,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":null,"baa":null}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:19: {"faa":null,"baa":null}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":null,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":null,"baa":false}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:19: {"faa":null,"baa":false}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":null,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":null,"baa":true}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:19: {"faa":null,"baa":true}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":null,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":null,"baa":123}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:19: {"faa":null,"baa":123}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":null,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":null,"baa":"foo"}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:19: {"faa":null,"baa":"foo"}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":null,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":null,"baa":{}}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:19: {"faa":null,"baa":{}}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":null,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":null,"baa":[]}'
{"faa":null,"baa":[]}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":false,"baa":null}'
{"faa":false,"baa":null}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":false,"baa":false}'
{"faa":false,"baa":false}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":false,"baa":true}'
{"faa":false,"baa":true}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":false,"baa":123}'
{"faa":false,"baa":123}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":false,"baa":"foo"}'
{"faa":false,"baa":"foo"}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":false,"baa":{}}'
{"faa":false,"baa":{}}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":false,"baa":[]}'
{"faa":false,"baa":[]}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":false,"baa":null}'
{"faa":false,"baa":null}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":false,"baa":false}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:20: {"faa":false,"baa":false}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":false,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":false,"baa":true}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:20: {"faa":false,"baa":true}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":false,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":false,"baa":123}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:20: {"faa":false,"baa":123}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":false,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":false,"baa":"foo"}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:20: {"faa":false,"baa":"foo"}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":false,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":false,"baa":{}}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:20: {"faa":false,"baa":{}}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":false,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":false,"baa":[]}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:20: {"faa":false,"baa":[]}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":false,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":null}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:20: {"faa":false,"baa":null}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":false}'
{"faa":false,"baa":false}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":true}'
{"faa":false,"baa":true}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":123}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:20: {"faa":false,"baa":123}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":"foo"}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:20: {"faa":false,"baa":"foo"}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":{}}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:20: {"faa":false,"baa":{}}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":[]}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:20: {"faa":false,"baa":[]}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":false,"baa":null}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:20: {"faa":false,"baa":null}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":false,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":false,"baa":false}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:20: {"faa":false,"baa":false}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":false,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":false,"baa":true}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:20: {"faa":false,"baa":true}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":false,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":false,"baa":123}'
{"faa":false,"baa":123}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":false,"baa":"foo"}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:20: {"faa":false,"baa":"foo"}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":false,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":false,"baa":{}}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:20: {"faa":false,"baa":{}}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":false,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":false,"baa":[]}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:20: {"faa":false,"baa":[]}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":false,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":false,"baa":null}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:20: {"faa":false,"baa":null}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":false,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":false,"baa":false}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:20: {"faa":false,"baa":false}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":false,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":false,"baa":true}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:20: {"faa":false,"baa":true}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":false,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":false,"baa":123}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:20: {"faa":false,"baa":123}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":false,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":false,"baa":"foo"}'
{"faa":false,"baa":"foo"}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":false,"baa":{}}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:20: {"faa":false,"baa":{}}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":false,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":false,"baa":[]}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:20: {"faa":false,"baa":[]}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":false,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":false,"baa":null}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:20: {"faa":false,"baa":null}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":false,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":false,"baa":false}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:20: {"faa":false,"baa":false}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":false,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":false,"baa":true}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:20: {"faa":false,"baa":true}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":false,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":false,"baa":123}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:20: {"faa":false,"baa":123}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":false,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":false,"baa":"foo"}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:20: {"faa":false,"baa":"foo"}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":false,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":false,"baa":{}}'
{"faa":false,"baa":{}}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":false,"baa":[]}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:20: {"faa":false,"baa":[]}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":false,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":false,"baa":null}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:20: {"faa":false,"baa":null}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":false,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":false,"baa":false}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:20: {"faa":false,"baa":false}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":false,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":false,"baa":true}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:20: {"faa":false,"baa":true}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":false,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":false,"baa":123}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:20: {"faa":false,"baa":123}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":false,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":false,"baa":"foo"}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:20: {"faa":false,"baa":"foo"}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":false,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":false,"baa":{}}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:20: {"faa":false,"baa":{}}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":false,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":false,"baa":[]}'
{"faa":false,"baa":[]}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":456,"baa":null}'
{"faa":456,"baa":null}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":456,"baa":false}'
{"faa":456,"baa":false}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":456,"baa":true}'
{"faa":456,"baa":true}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":456,"baa":123}'
{"faa":456,"baa":123}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":456,"baa":"foo"}'
{"faa":456,"baa":"foo"}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":456,"baa":{}}'
{"faa":456,"baa":{}}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":456,"baa":[]}'
{"faa":456,"baa":[]}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":456,"baa":null}'
{"faa":456,"baa":null}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":456,"baa":false}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:18: {"faa":456,"baa":false}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":456,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":456,"baa":true}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:18: {"faa":456,"baa":true}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":456,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":456,"baa":123}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:18: {"faa":456,"baa":123}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":456,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":456,"baa":"foo"}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:18: {"faa":456,"baa":"foo"}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":456,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":456,"baa":{}}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:18: {"faa":456,"baa":{}}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":456,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":456,"baa":[]}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:18: {"faa":456,"baa":[]}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":456,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":456,"baa":null}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:18: {"faa":456,"baa":null}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":456,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":456,"baa":false}'
{"faa":456,"baa":false}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":456,"baa":true}'
{"faa":456,"baa":true}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":456,"baa":123}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:18: {"faa":456,"baa":123}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":456,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":456,"baa":"foo"}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:18: {"faa":456,"baa":"foo"}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":456,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":456,"baa":{}}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:18: {"faa":456,"baa":{}}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":456,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":456,"baa":[]}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:18: {"faa":456,"baa":[]}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":456,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":456,"baa":null}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:18: {"faa":456,"baa":null}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":456,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":456,"baa":false}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:18: {"faa":456,"baa":false}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":456,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":456,"baa":true}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:18: {"faa":456,"baa":true}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":456,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":456,"baa":123}'
{"faa":456,"baa":123}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":456,"baa":"foo"}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:18: {"faa":456,"baa":"foo"}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":456,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":456,"baa":{}}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:18: {"faa":456,"baa":{}}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":456,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":456,"baa":[]}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:18: {"faa":456,"baa":[]}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":456,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":456,"baa":null}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:18: {"faa":456,"baa":null}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":456,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":456,"baa":false}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:18: {"faa":456,"baa":false}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":456,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":456,"baa":true}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:18: {"faa":456,"baa":true}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":456,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":456,"baa":123}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:18: {"faa":456,"baa":123}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":456,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":456,"baa":"foo"}'
{"faa":456,"baa":"foo"}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":456,"baa":{}}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:18: {"faa":456,"baa":{}}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":456,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":456,"baa":[]}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:18: {"faa":456,"baa":[]}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":456,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":456,"baa":null}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:18: {"faa":456,"baa":null}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":456,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":456,"baa":false}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:18: {"faa":456,"baa":false}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":456,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":456,"baa":true}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:18: {"faa":456,"baa":true}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":456,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":456,"baa":123}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:18: {"faa":456,"baa":123}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":456,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":456,"baa":"foo"}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:18: {"faa":456,"baa":"foo"}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":456,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":456,"baa":{}}'
{"faa":456,"baa":{}}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":456,"baa":[]}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:18: {"faa":456,"baa":[]}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":456,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":456,"baa":null}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:18: {"faa":456,"baa":null}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":456,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":456,"baa":false}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:18: {"faa":456,"baa":false}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":456,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":456,"baa":true}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:18: {"faa":456,"baa":true}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":456,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":456,"baa":123}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:18: {"faa":456,"baa":123}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":456,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":456,"baa":"foo"}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:18: {"faa":456,"baa":"foo"}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":456,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":456,"baa":{}}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:18: {"faa":456,"baa":{}}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":456,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":456,"baa":[]}'
{"faa":456,"baa":[]}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":"bar","baa":null}'
{"faa":"bar","baa":null}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":"bar","baa":false}'
{"faa":"bar","baa":false}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":"bar","baa":true}'
{"faa":"bar","baa":true}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":"bar","baa":123}'
{"faa":"bar","baa":123}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":"bar","baa":"foo"}'
{"faa":"bar","baa":"foo"}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":"bar","baa":{}}'
{"faa":"bar","baa":{}}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":"bar","baa":[]}'
{"faa":"bar","baa":[]}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":"bar","baa":null}'
{"faa":"bar","baa":null}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":"bar","baa":false}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:20: {"faa":"bar","baa":false}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":"bar","baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":"bar","baa":true}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:20: {"faa":"bar","baa":true}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":"bar","baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":"bar","baa":123}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:20: {"faa":"bar","baa":123}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":"bar","baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":"bar","baa":"foo"}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:20: {"faa":"bar","baa":"foo"}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":"bar","baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":"bar","baa":{}}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:20: {"faa":"bar","baa":{}}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":"bar","baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":"bar","baa":[]}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:20: {"faa":"bar","baa":[]}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":"bar","baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":"bar","baa":null}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:20: {"faa":"bar","baa":null}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":"bar","baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":"bar","baa":false}'
{"faa":"bar","baa":false}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":"bar","baa":true}'
{"faa":"bar","baa":true}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":"bar","baa":123}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:20: {"faa":"bar","baa":123}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":"bar","baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":"bar","baa":"foo"}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:20: {"faa":"bar","baa":"foo"}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":"bar","baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":"bar","baa":{}}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:20: {"faa":"bar","baa":{}}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":"bar","baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":"bar","baa":[]}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:20: {"faa":"bar","baa":[]}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":"bar","baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":"bar","baa":null}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:20: {"faa":"bar","baa":null}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":"bar","baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":"bar","baa":false}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:20: {"faa":"bar","baa":false}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":"bar","baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":"bar","baa":true}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:20: {"faa":"bar","baa":true}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":"bar","baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":"bar","baa":123}'
{"faa":"bar","baa":123}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":"bar","baa":"foo"}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:20: {"faa":"bar","baa":"foo"}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":"bar","baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":"bar","baa":{}}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:20: {"faa":"bar","baa":{}}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":"bar","baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":"bar","baa":[]}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:20: {"faa":"bar","baa":[]}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":"bar","baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":"bar","baa":null}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:20: {"faa":"bar","baa":null}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":"bar","baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":"bar","baa":false}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:20: {"faa":"bar","baa":false}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":"bar","baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":"bar","baa":true}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:20: {"faa":"bar","baa":true}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":"bar","baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":"bar","baa":123}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:20: {"faa":"bar","baa":123}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":"bar","baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":"bar","baa":"foo"}'
{"faa":"bar","baa":"foo"}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":"bar","baa":{}}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:20: {"faa":"bar","baa":{}}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":"bar","baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":"bar","baa":[]}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:20: {"faa":"bar","baa":[]}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":"bar","baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":"bar","baa":null}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:20: {"faa":"bar","baa":null}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":"bar","baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":"bar","baa":false}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:20: {"faa":"bar","baa":false}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":"bar","baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":"bar","baa":true}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:20: {"faa":"bar","baa":true}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":"bar","baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":"bar","baa":123}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:20: {"faa":"bar","baa":123}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":"bar","baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":"bar","baa":"foo"}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:20: {"faa":"bar","baa":"foo"}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":"bar","baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":"bar","baa":{}}'
{"faa":"bar","baa":{}}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":"bar","baa":[]}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:20: {"faa":"bar","baa":[]}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":"bar","baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":"bar","baa":null}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:20: {"faa":"bar","baa":null}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":"bar","baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":"bar","baa":false}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:20: {"faa":"bar","baa":false}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":"bar","baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":"bar","baa":true}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:20: {"faa":"bar","baa":true}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":"bar","baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":"bar","baa":123}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:20: {"faa":"bar","baa":123}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":"bar","baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":"bar","baa":"foo"}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:20: {"faa":"bar","baa":"foo"}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":"bar","baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":"bar","baa":{}}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:20: {"faa":"bar","baa":{}}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":"bar","baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":"bar","baa":[]}'
{"faa":"bar","baa":[]}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":{},"baa":null}'
{"faa":{},"baa":null}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":{},"baa":false}'
{"faa":{},"baa":false}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":{},"baa":true}'
{"faa":{},"baa":true}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":{},"baa":123}'
{"faa":{},"baa":123}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":{},"baa":"foo"}'
{"faa":{},"baa":"foo"}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":{},"baa":{}}'
{"faa":{},"baa":{}}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":{},"baa":[]}'
{"faa":{},"baa":[]}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":{},"baa":null}'
{"faa":{},"baa":null}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":{},"baa":false}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:17: {"faa":{},"baa":false}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":{},"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":{},"baa":true}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:17: {"faa":{},"baa":true}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":{},"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":{},"baa":123}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:17: {"faa":{},"baa":123}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":{},"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":{},"baa":"foo"}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:17: {"faa":{},"baa":"foo"}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":{},"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":{},"baa":{}}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:17: {"faa":{},"baa":{}}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":{},"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":{},"baa":[]}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:17: {"faa":{},"baa":[]}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":{},"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":{},"baa":null}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:17: {"faa":{},"baa":null}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":{},"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":{},"baa":false}'
{"faa":{},"baa":false}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":{},"baa":true}'
{"faa":{},"baa":true}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":{},"baa":123}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:17: {"faa":{},"baa":123}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":{},"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":{},"baa":"foo"}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:17: {"faa":{},"baa":"foo"}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":{},"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":{},"baa":{}}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:17: {"faa":{},"baa":{}}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":{},"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":{},"baa":[]}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:17: {"faa":{},"baa":[]}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":{},"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":{},"baa":null}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:17: {"faa":{},"baa":null}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":{},"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":{},"baa":false}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:17: {"faa":{},"baa":false}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":{},"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":{},"baa":true}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:17: {"faa":{},"baa":true}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":{},"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":{},"baa":123}'
{"faa":{},"baa":123}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":{},"baa":"foo"}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:17: {"faa":{},"baa":"foo"}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":{},"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":{},"baa":{}}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:17: {"faa":{},"baa":{}}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":{},"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":{},"baa":[]}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:17: {"faa":{},"baa":[]}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":{},"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":{},"baa":null}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:17: {"faa":{},"baa":null}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":{},"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":{},"baa":false}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:17: {"faa":{},"baa":false}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":{},"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":{},"baa":true}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:17: {"faa":{},"baa":true}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":{},"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":{},"baa":123}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:17: {"faa":{},"baa":123}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":{},"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":{},"baa":"foo"}'
{"faa":{},"baa":"foo"}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":{},"baa":{}}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:17: {"faa":{},"baa":{}}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":{},"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":{},"baa":[]}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:17: {"faa":{},"baa":[]}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":{},"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":{},"baa":null}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:17: {"faa":{},"baa":null}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":{},"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":{},"baa":false}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:17: {"faa":{},"baa":false}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":{},"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":{},"baa":true}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:17: {"faa":{},"baa":true}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":{},"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":{},"baa":123}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:17: {"faa":{},"baa":123}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":{},"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":{},"baa":"foo"}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:17: {"faa":{},"baa":"foo"}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":{},"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":{},"baa":{}}'
{"faa":{},"baa":{}}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":{},"baa":[]}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:17: {"faa":{},"baa":[]}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":{},"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":{},"baa":null}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:17: {"faa":{},"baa":null}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":{},"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":{},"baa":false}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:17: {"faa":{},"baa":false}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":{},"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":{},"baa":true}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:17: {"faa":{},"baa":true}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":{},"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":{},"baa":123}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:17: {"faa":{},"baa":123}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":{},"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":{},"baa":"foo"}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:17: {"faa":{},"baa":"foo"}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":{},"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":{},"baa":{}}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:17: {"faa":{},"baa":{}}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":{},"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":{},"baa":[]}'
{"faa":{},"baa":[]}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":[],"baa":null}'
{"faa":[],"baa":null}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":[],"baa":false}'
{"faa":[],"baa":false}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":[],"baa":true}'
{"faa":[],"baa":true}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":[],"baa":123}'
{"faa":[],"baa":123}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":[],"baa":"foo"}'
{"faa":[],"baa":"foo"}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":[],"baa":{}}'
{"faa":[],"baa":{}}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"type"}]}]}' <<< '{"faa":[],"baa":[]}'
{"faa":[],"baa":[]}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[],"baa":null}'
{"faa":[],"baa":null}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[],"baa":false}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:17: {"faa":[],"baa":false}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[],"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[],"baa":true}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:17: {"faa":[],"baa":true}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[],"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[],"baa":123}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:17: {"faa":[],"baa":123}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[],"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[],"baa":"foo"}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:17: {"faa":[],"baa":"foo"}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[],"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[],"baa":{}}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:17: {"faa":[],"baa":{}}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[],"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[],"baa":[]}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:17: {"faa":[],"baa":[]}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"null"}]}]}' <<< '{"faa":[],"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[],"baa":null}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:17: {"faa":[],"baa":null}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[],"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[],"baa":false}'
{"faa":[],"baa":false}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[],"baa":true}'
{"faa":[],"baa":true}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[],"baa":123}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:17: {"faa":[],"baa":123}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[],"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[],"baa":"foo"}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:17: {"faa":[],"baa":"foo"}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[],"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[],"baa":{}}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:17: {"faa":[],"baa":{}}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[],"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[],"baa":[]}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:17: {"faa":[],"baa":[]}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":[],"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[],"baa":null}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:17: {"faa":[],"baa":null}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[],"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[],"baa":false}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:17: {"faa":[],"baa":false}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[],"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[],"baa":true}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:17: {"faa":[],"baa":true}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[],"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[],"baa":123}'
{"faa":[],"baa":123}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[],"baa":"foo"}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:17: {"faa":[],"baa":"foo"}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[],"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[],"baa":{}}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:17: {"faa":[],"baa":{}}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[],"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[],"baa":[]}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:17: {"faa":[],"baa":[]}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"number"}]}]}' <<< '{"faa":[],"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[],"baa":null}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:17: {"faa":[],"baa":null}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[],"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[],"baa":false}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:17: {"faa":[],"baa":false}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[],"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[],"baa":true}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:17: {"faa":[],"baa":true}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[],"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[],"baa":123}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:17: {"faa":[],"baa":123}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[],"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[],"baa":"foo"}'
{"faa":[],"baa":"foo"}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[],"baa":{}}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:17: {"faa":[],"baa":{}}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[],"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[],"baa":[]}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:17: {"faa":[],"baa":[]}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"string"}]}]}' <<< '{"faa":[],"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[],"baa":null}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:17: {"faa":[],"baa":null}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[],"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[],"baa":false}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:17: {"faa":[],"baa":false}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[],"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[],"baa":true}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:17: {"faa":[],"baa":true}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[],"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[],"baa":123}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:17: {"faa":[],"baa":123}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[],"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[],"baa":"foo"}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:17: {"faa":[],"baa":"foo"}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[],"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[],"baa":{}}'
{"faa":[],"baa":{}}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[],"baa":[]}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:17: {"faa":[],"baa":[]}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"object"}]}]}' <<< '{"faa":[],"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[],"baa":null}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:17: {"faa":[],"baa":null}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[],"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[],"baa":false}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:17: {"faa":[],"baa":false}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[],"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[],"baa":true}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:17: {"faa":[],"baa":true}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[],"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[],"baa":123}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:17: {"faa":[],"baa":123}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[],"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[],"baa":"foo"}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:17: {"faa":[],"baa":"foo"}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[],"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[],"baa":{}}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:17: {"faa":[],"baa":{}}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[],"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":"array"}]}]}' <<< '{"faa":[],"baa":[]}'
{"faa":[],"baa":[]}
$

--[ list-object-basic-plain-val-basic ]-----------------------------------------

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

--[ list-object-basic-plain-val-object-empty ]----------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for p in null false true 123 '"foo"'; do T='{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"'"$t"'"},{"name":"baa","type":{"plain":'"$p"'}}]}]}'; c="json -d '$T' <<< '{}'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":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":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{}'
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":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{}'
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":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{}'
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":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{}'
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":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":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":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{}'
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":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{}'
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":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{}'
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":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{}'
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":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":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":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{}'
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":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{}'
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":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{}'
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":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{}'
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":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":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":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{}'
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":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{}'
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":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{}'
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":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{}'
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":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":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":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{}'
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":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{}'
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":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{}'
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":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{}'
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":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":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":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{}'
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":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{}'
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":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{}'
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":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{}'
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":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":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":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{}'
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":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{}'
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":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{}'
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":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{}'
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":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{}'
$

--[ list-object-basic-plain-val-object-basic ]----------------------------------

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

--[ list-object-basic-plain-val-object-basic2 ]---------------------------------

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

--[ list-object-basic-plain-val-object-basic-basic ]----------------------------

#
# # 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 p in null false true 123 '"foo"'; do for v in null false true 123 456 '"foo"' '"bar"' '{}' '[]'; do T='{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"'"$t"'"},{"name":"baa","type":{"plain":'"$p"'}}]}]}'; c="json -d '$T' <<< '{\"fuu\":$v0,\"baa\":$v}'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":[{}],"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":[{}],"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":[{}],"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":[{}],"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":[{}],"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":[{}],"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":[{}],"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":[{}],"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":[{}],"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":[{}],"baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":[{}],"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":[{}],"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":[{}],"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":[{}],"baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":[{}],"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":[{}],"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":[{}],"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":[{}],"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":[{}],"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":[{}],"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":[{}],"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":[{}],"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":[{}],"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":[{}],"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":[{}],"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":[{}],"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":[{}],"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":[{}],"baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":[{}],"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":[{}],"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":[{}],"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":[{}],"baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":[{}],"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":[{}],"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":[{}],"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":[{}],"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":[{}],"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":[{}],"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":[{}],"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":[{}],"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":[{}],"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":[{}],"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":[{}],"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":[{}],"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":[{}],"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":[{}],"baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":[{}],"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":[{}],"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":[{}],"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":[{}],"baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":[{}],"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":[{}],"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":[{}],"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":[{}],"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":[{}],"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":[{}],"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":[{}],"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":[{}],"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":[{}],"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":[{}],"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":[{}],"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":[{}],"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":[{}],"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":[{}],"baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":[{}],"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":[{}],"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":[{}],"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":[{}],"baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":[{}],"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":[{}],"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":[{}],"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":[{}],"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":[{}],"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":[{}],"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":[{}],"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":[{}],"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":[{}],"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":[{}],"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":[{}],"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":[{}],"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":[{}],"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":[{}],"baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":[{}],"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":[{}],"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":[{}],"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":[{}],"baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":[{}],"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":[{}],"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":[{}],"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":[{}],"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":null,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":null,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":null,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":null,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":null,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":null,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":null,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":null,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":null,"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":null,"baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":null,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":null,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":null,"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":null,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":null,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":null,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":null,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":null,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":null,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":null,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":null,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":null,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":null,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":null,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":null,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":null,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":null,"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":null,"baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":null,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":null,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":null,"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":null,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":null,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":null,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":null,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":null,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":null,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":null,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":null,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":null,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":null,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":null,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":null,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":null,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":null,"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":null,"baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":null,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":null,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":null,"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":null,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":null,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":null,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":null,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":null,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":null,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":null,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":null,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":null,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":null,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":null,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":null,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":null,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":null,"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":null,"baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":null,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":null,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":null,"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":null,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":null,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":null,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":null,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":null,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":false,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":false,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":false,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":false,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":false,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":false,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":false,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":false,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":false,"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":false,"baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":false,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":false,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":false,"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":false,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":false,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":false,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":false,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":false,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":false,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":false,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":false,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":false,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":false,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":false,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":false,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":false,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":false,"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":false,"baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":false,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":false,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":false,"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":false,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":false,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":false,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":false,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":false,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":false,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":false,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":false,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":false,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":false,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":false,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":false,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":false,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":false,"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":false,"baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":false,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":false,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":false,"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":false,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":false,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":false,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":false,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":false,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":false,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":false,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":false,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":false,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":false,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":false,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":false,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":false,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":false,"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":false,"baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":false,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":false,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":false,"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":false,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":false,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":false,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":false,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":false,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":456,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":456,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":456,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":456,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":456,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":456,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":456,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":456,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":456,"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":456,"baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":456,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":456,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":456,"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":456,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":456,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":456,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":456,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":456,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":456,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":456,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":456,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":456,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":456,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":456,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":456,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":456,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":456,"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":456,"baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":456,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":456,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":456,"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":456,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":456,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":456,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":456,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":456,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":456,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":456,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":456,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":456,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":456,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":456,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":456,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":456,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":456,"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":456,"baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":456,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":456,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":456,"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":456,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":456,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":456,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":456,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":456,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":456,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":456,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":456,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":456,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":456,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":456,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":456,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":456,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":456,"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":456,"baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":456,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":456,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":456,"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":456,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":456,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":456,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":456,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":456,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":456,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":456,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":456,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":456,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":456,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":456,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":456,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":456,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":456,"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":456,"baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":456,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":456,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":456,"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":456,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":456,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":456,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":456,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":456,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":"bar","baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":"bar","baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":"bar","baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":"bar","baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":"bar","baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":"bar","baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":"bar","baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":"bar","baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":"bar","baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":"bar","baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":"bar","baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":"bar","baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":"bar","baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":"bar","baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":"bar","baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":"bar","baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":"bar","baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":"bar","baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":"bar","baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":"bar","baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":"bar","baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":"bar","baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":"bar","baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":"bar","baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":"bar","baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":"bar","baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":"bar","baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":"bar","baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":"bar","baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":"bar","baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":"bar","baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":"bar","baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":"bar","baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":"bar","baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":"bar","baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":"bar","baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":"bar","baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":"bar","baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":"bar","baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":"bar","baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":"bar","baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":"bar","baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":"bar","baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":"bar","baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":"bar","baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":"bar","baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":"bar","baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":"bar","baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":"bar","baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":"bar","baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":"bar","baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":"bar","baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":"bar","baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":"bar","baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":"bar","baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":"bar","baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":"bar","baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":"bar","baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":"bar","baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":"bar","baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":"bar","baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":"bar","baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":"bar","baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":"bar","baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":"bar","baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":"bar","baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":"bar","baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":"bar","baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":"bar","baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":"bar","baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":"bar","baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":"bar","baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"bar","baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"bar","baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"bar","baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"bar","baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"bar","baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"bar","baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"bar","baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"bar","baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"bar","baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"bar","baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"bar","baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"bar","baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"bar","baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"bar","baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"bar","baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"bar","baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"bar","baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar","baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"bar","baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":{},"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":{},"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":{},"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":{},"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":{},"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":{},"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":{},"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":{},"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":{},"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":{},"baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":{},"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":{},"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":{},"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":{},"baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":{},"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":{},"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":{},"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":{},"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":{},"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":{},"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":{},"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":{},"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":{},"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":{},"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":{},"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":{},"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":{},"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":{},"baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":{},"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":{},"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":{},"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":{},"baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":{},"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":{},"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":{},"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":{},"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":{},"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":{},"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":{},"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":{},"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":{},"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":{},"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":{},"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":{},"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":{},"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":{},"baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":{},"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":{},"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":{},"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":{},"baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":{},"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":{},"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":{},"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":{},"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":{},"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":{},"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":{},"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":{},"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":{},"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":{},"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":{},"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":{},"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":{},"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":{},"baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":{},"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":{},"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":{},"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":{},"baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":{},"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":{},"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":{},"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":{},"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":{},"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":{},"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":{},"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":{},"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":{},"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":{},"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":{},"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":{},"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":{},"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":{},"baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":{},"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":{},"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":{},"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":{},"baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":{},"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":{},"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":{},"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":{},"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":[],"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":[],"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":[],"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":[],"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":[],"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":[],"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":[],"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":[],"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":[],"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":[],"baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":[],"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":[],"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":[],"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":[],"baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":[],"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":[],"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":[],"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"fuu":[],"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":[],"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":[],"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":[],"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":[],"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":[],"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":[],"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":[],"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":[],"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":[],"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":[],"baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":[],"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":[],"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":[],"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":[],"baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":[],"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":[],"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":[],"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"fuu":[],"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":[],"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":[],"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":[],"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":[],"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":[],"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":[],"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":[],"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":[],"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":[],"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":[],"baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":[],"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":[],"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":[],"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":[],"baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":[],"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":[],"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":[],"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"fuu":[],"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":[],"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":[],"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":[],"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":[],"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":[],"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":[],"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":[],"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":[],"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":[],"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":[],"baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":[],"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":[],"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":[],"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":[],"baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":[],"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":[],"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":[],"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"fuu":[],"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":[],"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":[],"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":[],"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":[],"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":[],"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":[],"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":[],"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":[],"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":[],"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":[],"baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":[],"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":[],"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":[],"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":[],"baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":[],"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":[],"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":[],"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":[],"baa":[]}'
$

--[ list-object-basic-plain-val-object-basic-basic2 ]---------------------------

#
# # 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 p in null false true 123 '"foo"'; do for v in null false true 123 456 '"foo"' '"bar"' '{}' '[]'; do T='{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"'"$t"'"},{"name":"baa","type":{"plain":'"$p"'}}]}]}'; c="json -d '$T' <<< '{\"faa\":$v0,\"buu\":$v}'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[{}],"buu":null}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":null}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[{}],"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[{}],"buu":false}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":false}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[{}],"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[{}],"buu":true}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":true}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[{}],"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[{}],"buu":123}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":123}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[{}],"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[{}],"buu":456}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":456}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[{}],"buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[{}],"buu":"foo"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[{}],"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[{}],"buu":"bar"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":"bar"}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[{}],"buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[{}],"buu":{}}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":{}}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[{}],"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[{}],"buu":[]}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":[]}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[{}],"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[{}],"buu":null}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":null}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[{}],"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[{}],"buu":false}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":false}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[{}],"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[{}],"buu":true}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":true}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[{}],"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[{}],"buu":123}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":123}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[{}],"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[{}],"buu":456}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":456}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[{}],"buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[{}],"buu":"foo"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[{}],"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[{}],"buu":"bar"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":"bar"}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[{}],"buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[{}],"buu":{}}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":{}}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[{}],"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[{}],"buu":[]}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":[]}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[{}],"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[{}],"buu":null}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":null}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[{}],"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[{}],"buu":false}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":false}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[{}],"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[{}],"buu":true}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":true}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[{}],"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[{}],"buu":123}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":123}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[{}],"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[{}],"buu":456}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":456}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[{}],"buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[{}],"buu":"foo"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[{}],"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[{}],"buu":"bar"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":"bar"}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[{}],"buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[{}],"buu":{}}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":{}}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[{}],"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[{}],"buu":[]}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":[]}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[{}],"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[{}],"buu":null}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":null}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[{}],"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[{}],"buu":false}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":false}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[{}],"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[{}],"buu":true}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":true}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[{}],"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[{}],"buu":123}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":123}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[{}],"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[{}],"buu":456}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":456}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[{}],"buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[{}],"buu":"foo"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[{}],"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[{}],"buu":"bar"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":"bar"}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[{}],"buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[{}],"buu":{}}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":{}}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[{}],"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[{}],"buu":[]}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":[]}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[{}],"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[{}],"buu":null}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":null}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[{}],"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[{}],"buu":false}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":false}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[{}],"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[{}],"buu":true}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":true}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[{}],"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[{}],"buu":123}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":123}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[{}],"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[{}],"buu":456}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":456}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[{}],"buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[{}],"buu":"foo"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[{}],"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[{}],"buu":"bar"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":"bar"}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[{}],"buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[{}],"buu":{}}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":{}}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[{}],"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[{}],"buu":[]}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":[{}],"buu":[]}
json: error: <stdin>:1:13:             ^
{"faa":[{}],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[{}],"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":null,"buu":null}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":null}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":null,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":null,"buu":false}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":false}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":null,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":null,"buu":true}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":true}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":null,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":null,"buu":123}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":123}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":null,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":null,"buu":456}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":456}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":null,"buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":null,"buu":"foo"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":null,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":null,"buu":"bar"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":"bar"}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":null,"buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":null,"buu":{}}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":{}}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":null,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":null,"buu":[]}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":[]}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":null,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":null,"buu":null}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":null}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":null,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":null,"buu":false}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":false}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":null,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":null,"buu":true}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":true}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":null,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":null,"buu":123}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":123}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":null,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":null,"buu":456}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":456}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":null,"buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":null,"buu":"foo"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":null,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":null,"buu":"bar"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":"bar"}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":null,"buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":null,"buu":{}}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":{}}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":null,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":null,"buu":[]}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":[]}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":null,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":null,"buu":null}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":null}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":null,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":null,"buu":false}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":false}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":null,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":null,"buu":true}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":true}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":null,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":null,"buu":123}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":123}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":null,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":null,"buu":456}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":456}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":null,"buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":null,"buu":"foo"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":null,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":null,"buu":"bar"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":"bar"}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":null,"buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":null,"buu":{}}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":{}}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":null,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":null,"buu":[]}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":[]}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":null,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":null,"buu":null}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":null}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":null,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":null,"buu":false}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":false}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":null,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":null,"buu":true}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":true}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":null,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":null,"buu":123}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":123}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":null,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":null,"buu":456}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":456}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":null,"buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":null,"buu":"foo"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":null,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":null,"buu":"bar"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":"bar"}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":null,"buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":null,"buu":{}}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":{}}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":null,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":null,"buu":[]}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":[]}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":null,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":null,"buu":null}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":null}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":null,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":null,"buu":false}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":false}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":null,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":null,"buu":true}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":true}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":null,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":null,"buu":123}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":123}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":null,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":null,"buu":456}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":456}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":null,"buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":null,"buu":"foo"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":null,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":null,"buu":"bar"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":"bar"}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":null,"buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":null,"buu":{}}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":{}}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":null,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":null,"buu":[]}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":[]}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":null,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":false,"buu":null}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":null}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":false,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":false,"buu":false}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":false}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":false,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":false,"buu":true}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":true}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":false,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":false,"buu":123}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":123}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":false,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":false,"buu":456}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":456}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":false,"buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":false,"buu":"foo"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":"foo"}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":false,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":false,"buu":"bar"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":"bar"}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":false,"buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":false,"buu":{}}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":{}}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":false,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":false,"buu":[]}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":[]}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":false,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":false,"buu":null}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":null}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":false,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":false,"buu":false}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":false}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":false,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":false,"buu":true}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":true}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":false,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":false,"buu":123}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":123}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":false,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":false,"buu":456}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":456}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":false,"buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":false,"buu":"foo"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":"foo"}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":false,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":false,"buu":"bar"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":"bar"}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":false,"buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":false,"buu":{}}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":{}}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":false,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":false,"buu":[]}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":[]}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":false,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":false,"buu":null}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":null}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":false,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":false,"buu":false}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":false}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":false,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":false,"buu":true}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":true}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":false,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":false,"buu":123}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":123}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":false,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":false,"buu":456}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":456}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":false,"buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":false,"buu":"foo"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":"foo"}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":false,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":false,"buu":"bar"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":"bar"}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":false,"buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":false,"buu":{}}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":{}}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":false,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":false,"buu":[]}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":[]}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":false,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":false,"buu":null}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":null}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":false,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":false,"buu":false}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":false}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":false,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":false,"buu":true}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":true}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":false,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":false,"buu":123}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":123}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":false,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":false,"buu":456}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":456}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":false,"buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":false,"buu":"foo"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":"foo"}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":false,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":false,"buu":"bar"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":"bar"}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":false,"buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":false,"buu":{}}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":{}}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":false,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":false,"buu":[]}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":[]}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":false,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":false,"buu":null}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":null}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":false,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":false,"buu":false}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":false}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":false,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":false,"buu":true}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":true}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":false,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":false,"buu":123}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":123}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":false,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":false,"buu":456}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":456}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":false,"buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":false,"buu":"foo"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":"foo"}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":false,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":false,"buu":"bar"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":"bar"}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":false,"buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":false,"buu":{}}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":{}}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":false,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":false,"buu":[]}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":[]}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":false,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":456,"buu":null}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":null}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":456,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":456,"buu":false}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":false}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":456,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":456,"buu":true}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":true}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":456,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":456,"buu":123}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":123}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":456,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":456,"buu":456}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":456}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":456,"buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":456,"buu":"foo"}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":"foo"}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":456,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":456,"buu":"bar"}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":"bar"}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":456,"buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":456,"buu":{}}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":{}}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":456,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":456,"buu":[]}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":[]}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":456,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":456,"buu":null}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":null}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":456,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":456,"buu":false}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":false}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":456,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":456,"buu":true}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":true}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":456,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":456,"buu":123}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":123}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":456,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":456,"buu":456}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":456}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":456,"buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":456,"buu":"foo"}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":"foo"}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":456,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":456,"buu":"bar"}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":"bar"}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":456,"buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":456,"buu":{}}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":{}}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":456,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":456,"buu":[]}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":[]}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":456,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":456,"buu":null}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":null}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":456,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":456,"buu":false}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":false}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":456,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":456,"buu":true}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":true}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":456,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":456,"buu":123}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":123}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":456,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":456,"buu":456}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":456}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":456,"buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":456,"buu":"foo"}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":"foo"}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":456,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":456,"buu":"bar"}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":"bar"}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":456,"buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":456,"buu":{}}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":{}}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":456,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":456,"buu":[]}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":[]}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":456,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":456,"buu":null}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":null}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":456,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":456,"buu":false}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":false}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":456,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":456,"buu":true}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":true}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":456,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":456,"buu":123}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":123}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":456,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":456,"buu":456}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":456}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":456,"buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":456,"buu":"foo"}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":"foo"}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":456,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":456,"buu":"bar"}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":"bar"}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":456,"buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":456,"buu":{}}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":{}}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":456,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":456,"buu":[]}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":[]}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":456,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":456,"buu":null}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":null}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":456,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":456,"buu":false}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":false}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":456,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":456,"buu":true}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":true}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":456,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":456,"buu":123}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":123}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":456,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":456,"buu":456}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":456}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":456,"buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":456,"buu":"foo"}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":"foo"}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":456,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":456,"buu":"bar"}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":"bar"}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":456,"buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":456,"buu":{}}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":{}}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":456,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":456,"buu":[]}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":456,"buu":[]}
json: error: <stdin>:1:12:            ^
{"faa":456,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":456,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":"bar","buu":null}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":null}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":"bar","buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":"bar","buu":false}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":false}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":"bar","buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":"bar","buu":true}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":true}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":"bar","buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":"bar","buu":123}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":123}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":"bar","buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":"bar","buu":456}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":456}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":"bar","buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":"bar","buu":"foo"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":"foo"}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":"bar","buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":"bar","buu":"bar"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":"bar"}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":"bar","buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":"bar","buu":{}}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":{}}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":"bar","buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":"bar","buu":[]}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":[]}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":"bar","buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":"bar","buu":null}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":null}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":"bar","buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":"bar","buu":false}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":false}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":"bar","buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":"bar","buu":true}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":true}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":"bar","buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":"bar","buu":123}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":123}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":"bar","buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":"bar","buu":456}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":456}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":"bar","buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":"bar","buu":"foo"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":"foo"}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":"bar","buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":"bar","buu":"bar"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":"bar"}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":"bar","buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":"bar","buu":{}}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":{}}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":"bar","buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":"bar","buu":[]}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":[]}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":"bar","buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":"bar","buu":null}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":null}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":"bar","buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":"bar","buu":false}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":false}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":"bar","buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":"bar","buu":true}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":true}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":"bar","buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":"bar","buu":123}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":123}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":"bar","buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":"bar","buu":456}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":456}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":"bar","buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":"bar","buu":"foo"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":"foo"}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":"bar","buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":"bar","buu":"bar"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":"bar"}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":"bar","buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":"bar","buu":{}}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":{}}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":"bar","buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":"bar","buu":[]}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":[]}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":"bar","buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":"bar","buu":null}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":null}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":"bar","buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":"bar","buu":false}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":false}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":"bar","buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":"bar","buu":true}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":true}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":"bar","buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":"bar","buu":123}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":123}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":"bar","buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":"bar","buu":456}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":456}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":"bar","buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":"bar","buu":"foo"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":"foo"}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":"bar","buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":"bar","buu":"bar"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":"bar"}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":"bar","buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":"bar","buu":{}}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":{}}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":"bar","buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":"bar","buu":[]}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":[]}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":"bar","buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"bar","buu":null}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":null}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"bar","buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"bar","buu":false}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":false}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"bar","buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"bar","buu":true}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":true}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"bar","buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"bar","buu":123}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":123}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"bar","buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"bar","buu":456}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":456}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"bar","buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"bar","buu":"foo"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":"foo"}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"bar","buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"bar","buu":"bar"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":"bar"}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"bar","buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"bar","buu":{}}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":{}}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"bar","buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"bar","buu":[]}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"bar","buu":[]}
json: error: <stdin>:1:14:              ^
{"faa":"bar",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"bar","buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":{},"buu":null}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":null}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":{},"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":{},"buu":false}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":false}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":{},"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":{},"buu":true}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":true}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":{},"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":{},"buu":123}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":123}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":{},"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":{},"buu":456}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":456}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":{},"buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":{},"buu":"foo"}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":"foo"}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":{},"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":{},"buu":"bar"}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":"bar"}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":{},"buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":{},"buu":{}}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":{}}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":{},"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":{},"buu":[]}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":[]}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":{},"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":{},"buu":null}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":null}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":{},"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":{},"buu":false}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":false}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":{},"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":{},"buu":true}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":true}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":{},"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":{},"buu":123}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":123}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":{},"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":{},"buu":456}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":456}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":{},"buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":{},"buu":"foo"}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":"foo"}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":{},"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":{},"buu":"bar"}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":"bar"}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":{},"buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":{},"buu":{}}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":{}}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":{},"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":{},"buu":[]}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":[]}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":{},"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":{},"buu":null}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":null}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":{},"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":{},"buu":false}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":false}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":{},"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":{},"buu":true}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":true}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":{},"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":{},"buu":123}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":123}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":{},"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":{},"buu":456}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":456}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":{},"buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":{},"buu":"foo"}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":"foo"}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":{},"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":{},"buu":"bar"}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":"bar"}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":{},"buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":{},"buu":{}}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":{}}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":{},"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":{},"buu":[]}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":[]}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":{},"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":{},"buu":null}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":null}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":{},"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":{},"buu":false}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":false}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":{},"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":{},"buu":true}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":true}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":{},"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":{},"buu":123}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":123}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":{},"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":{},"buu":456}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":456}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":{},"buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":{},"buu":"foo"}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":"foo"}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":{},"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":{},"buu":"bar"}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":"bar"}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":{},"buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":{},"buu":{}}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":{}}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":{},"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":{},"buu":[]}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":[]}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":{},"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":{},"buu":null}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":null}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":{},"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":{},"buu":false}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":false}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":{},"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":{},"buu":true}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":true}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":{},"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":{},"buu":123}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":123}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":{},"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":{},"buu":456}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":456}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":{},"buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":{},"buu":"foo"}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":"foo"}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":{},"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":{},"buu":"bar"}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":"bar"}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":{},"buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":{},"buu":{}}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":{}}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":{},"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":{},"buu":[]}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":{},"buu":[]}
json: error: <stdin>:1:11:           ^
{"faa":{},
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":{},"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[],"buu":null}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":null}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[],"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[],"buu":false}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":false}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[],"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[],"buu":true}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":true}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[],"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[],"buu":123}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":123}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[],"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[],"buu":456}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":456}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[],"buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[],"buu":"foo"}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":"foo"}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[],"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[],"buu":"bar"}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":"bar"}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[],"buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[],"buu":{}}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":{}}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[],"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[],"buu":[]}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":[]}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[],"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[],"buu":null}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":null}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[],"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[],"buu":false}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":false}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[],"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[],"buu":true}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":true}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[],"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[],"buu":123}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":123}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[],"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[],"buu":456}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":456}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[],"buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[],"buu":"foo"}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":"foo"}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[],"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[],"buu":"bar"}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":"bar"}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[],"buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[],"buu":{}}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":{}}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[],"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[],"buu":[]}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":[]}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[],"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[],"buu":null}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":null}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[],"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[],"buu":false}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":false}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[],"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[],"buu":true}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":true}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[],"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[],"buu":123}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":123}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[],"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[],"buu":456}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":456}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[],"buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[],"buu":"foo"}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":"foo"}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[],"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[],"buu":"bar"}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":"bar"}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[],"buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[],"buu":{}}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":{}}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[],"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[],"buu":[]}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":[]}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[],"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[],"buu":null}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":null}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[],"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[],"buu":false}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":false}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[],"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[],"buu":true}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":true}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[],"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[],"buu":123}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":123}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[],"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[],"buu":456}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":456}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[],"buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[],"buu":"foo"}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":"foo"}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[],"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[],"buu":"bar"}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":"bar"}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[],"buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[],"buu":{}}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":{}}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[],"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[],"buu":[]}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":[]}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[],"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[],"buu":null}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":null}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[],"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[],"buu":false}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":false}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[],"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[],"buu":true}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":true}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[],"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[],"buu":123}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":123}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[],"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[],"buu":456}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":456}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[],"buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[],"buu":"foo"}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":"foo"}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[],"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[],"buu":"bar"}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":"bar"}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[],"buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[],"buu":{}}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":{}}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[],"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[],"buu":[]}'
json: error: <stdin>:1:11: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:11: {"faa":[],"buu":[]}
json: error: <stdin>:1:11:           ^
{"faa":[],
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[],"buu":[]}'
$

--[ list-object-basic-plain-val-object-basic-basic3 ]---------------------------

#
# # 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 p in null false true 123 '"foo"'; do for v in null false true 123 456 '"foo"' '"bar"' '{}' '[]'; do T='{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"'"$t"'"},{"name":"baa","type":{"plain":'"$p"'}}]}]}'; c="json -d '$T' <<< '{\"faa\":$v0,\"baa\":$v}'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[{}],"baa":null}'
{"faa":[{}],"baa":null}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[{}],"baa":false}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:19: {"faa":[{}],"baa":false}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[{}],"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[{}],"baa":true}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:19: {"faa":[{}],"baa":true}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[{}],"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[{}],"baa":123}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:19: {"faa":[{}],"baa":123}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[{}],"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[{}],"baa":456}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:19: {"faa":[{}],"baa":456}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[{}],"baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[{}],"baa":"foo"}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:19: {"faa":[{}],"baa":"foo"}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[{}],"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[{}],"baa":"bar"}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:19: {"faa":[{}],"baa":"bar"}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[{}],"baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[{}],"baa":{}}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:19: {"faa":[{}],"baa":{}}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[{}],"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[{}],"baa":[]}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:19: {"faa":[{}],"baa":[]}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[{}],"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[{}],"baa":null}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:19: {"faa":[{}],"baa":null}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[{}],"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[{}],"baa":false}'
{"faa":[{}],"baa":false}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[{}],"baa":true}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:19: {"faa":[{}],"baa":true}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[{}],"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[{}],"baa":123}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:19: {"faa":[{}],"baa":123}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[{}],"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[{}],"baa":456}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:19: {"faa":[{}],"baa":456}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[{}],"baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[{}],"baa":"foo"}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:19: {"faa":[{}],"baa":"foo"}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[{}],"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[{}],"baa":"bar"}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:19: {"faa":[{}],"baa":"bar"}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[{}],"baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[{}],"baa":{}}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:19: {"faa":[{}],"baa":{}}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[{}],"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[{}],"baa":[]}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:19: {"faa":[{}],"baa":[]}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[{}],"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[{}],"baa":null}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:19: {"faa":[{}],"baa":null}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[{}],"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[{}],"baa":false}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:19: {"faa":[{}],"baa":false}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[{}],"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[{}],"baa":true}'
{"faa":[{}],"baa":true}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[{}],"baa":123}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:19: {"faa":[{}],"baa":123}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[{}],"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[{}],"baa":456}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:19: {"faa":[{}],"baa":456}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[{}],"baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[{}],"baa":"foo"}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:19: {"faa":[{}],"baa":"foo"}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[{}],"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[{}],"baa":"bar"}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:19: {"faa":[{}],"baa":"bar"}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[{}],"baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[{}],"baa":{}}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:19: {"faa":[{}],"baa":{}}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[{}],"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[{}],"baa":[]}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:19: {"faa":[{}],"baa":[]}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[{}],"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[{}],"baa":null}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:19: {"faa":[{}],"baa":null}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[{}],"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[{}],"baa":false}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:19: {"faa":[{}],"baa":false}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[{}],"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[{}],"baa":true}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:19: {"faa":[{}],"baa":true}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[{}],"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[{}],"baa":123}'
{"faa":[{}],"baa":123}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[{}],"baa":456}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:19: {"faa":[{}],"baa":456}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[{}],"baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[{}],"baa":"foo"}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:19: {"faa":[{}],"baa":"foo"}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[{}],"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[{}],"baa":"bar"}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:19: {"faa":[{}],"baa":"bar"}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[{}],"baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[{}],"baa":{}}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:19: {"faa":[{}],"baa":{}}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[{}],"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[{}],"baa":[]}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:19: {"faa":[{}],"baa":[]}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[{}],"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[{}],"baa":null}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:19: {"faa":[{}],"baa":null}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[{}],"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[{}],"baa":false}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:19: {"faa":[{}],"baa":false}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[{}],"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[{}],"baa":true}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:19: {"faa":[{}],"baa":true}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[{}],"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[{}],"baa":123}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:19: {"faa":[{}],"baa":123}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[{}],"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[{}],"baa":456}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:19: {"faa":[{}],"baa":456}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[{}],"baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[{}],"baa":"foo"}'
{"faa":[{}],"baa":"foo"}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[{}],"baa":"bar"}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:19: {"faa":[{}],"baa":"bar"}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[{}],"baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[{}],"baa":{}}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:19: {"faa":[{}],"baa":{}}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[{}],"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[{}],"baa":[]}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:19: {"faa":[{}],"baa":[]}
json: error: <stdin>:1:19:                   ^
{"faa":[{}],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"type"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[{}],"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":null}'
{"faa":null,"baa":null}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":false}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:19: {"faa":null,"baa":false}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":true}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:19: {"faa":null,"baa":true}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":123}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:19: {"faa":null,"baa":123}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":456}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:19: {"faa":null,"baa":456}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":"foo"}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:19: {"faa":null,"baa":"foo"}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":"bar"}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:19: {"faa":null,"baa":"bar"}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":{}}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:19: {"faa":null,"baa":{}}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":[]}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:19: {"faa":null,"baa":[]}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":null,"baa":null}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:19: {"faa":null,"baa":null}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":null,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":null,"baa":false}'
{"faa":null,"baa":false}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":null,"baa":true}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:19: {"faa":null,"baa":true}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":null,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":null,"baa":123}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:19: {"faa":null,"baa":123}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":null,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":null,"baa":456}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:19: {"faa":null,"baa":456}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":null,"baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":null,"baa":"foo"}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:19: {"faa":null,"baa":"foo"}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":null,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":null,"baa":"bar"}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:19: {"faa":null,"baa":"bar"}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":null,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":null,"baa":{}}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:19: {"faa":null,"baa":{}}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":null,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":null,"baa":[]}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:19: {"faa":null,"baa":[]}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":null,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":null,"baa":null}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:19: {"faa":null,"baa":null}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":null,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":null,"baa":false}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:19: {"faa":null,"baa":false}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":null,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":null,"baa":true}'
{"faa":null,"baa":true}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":null,"baa":123}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:19: {"faa":null,"baa":123}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":null,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":null,"baa":456}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:19: {"faa":null,"baa":456}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":null,"baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":null,"baa":"foo"}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:19: {"faa":null,"baa":"foo"}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":null,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":null,"baa":"bar"}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:19: {"faa":null,"baa":"bar"}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":null,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":null,"baa":{}}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:19: {"faa":null,"baa":{}}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":null,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":null,"baa":[]}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:19: {"faa":null,"baa":[]}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":null,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":null,"baa":null}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:19: {"faa":null,"baa":null}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":null,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":null,"baa":false}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:19: {"faa":null,"baa":false}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":null,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":null,"baa":true}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:19: {"faa":null,"baa":true}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":null,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":null,"baa":123}'
{"faa":null,"baa":123}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":null,"baa":456}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:19: {"faa":null,"baa":456}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":null,"baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":null,"baa":"foo"}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:19: {"faa":null,"baa":"foo"}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":null,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":null,"baa":"bar"}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:19: {"faa":null,"baa":"bar"}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":null,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":null,"baa":{}}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:19: {"faa":null,"baa":{}}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":null,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":null,"baa":[]}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:19: {"faa":null,"baa":[]}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":null,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":null,"baa":null}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:19: {"faa":null,"baa":null}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":null,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":null,"baa":false}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:19: {"faa":null,"baa":false}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":null,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":null,"baa":true}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:19: {"faa":null,"baa":true}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":null,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":null,"baa":123}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:19: {"faa":null,"baa":123}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":null,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":null,"baa":456}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:19: {"faa":null,"baa":456}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":null,"baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":null,"baa":"foo"}'
{"faa":null,"baa":"foo"}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":null,"baa":"bar"}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:19: {"faa":null,"baa":"bar"}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":null,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":null,"baa":{}}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:19: {"faa":null,"baa":{}}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":null,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":null,"baa":[]}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:19: {"faa":null,"baa":[]}
json: error: <stdin>:1:19:                   ^
{"faa":null,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"null"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":null,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":false,"baa":null}'
{"faa":false,"baa":null}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":false,"baa":false}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:20: {"faa":false,"baa":false}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":false,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":false,"baa":true}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:20: {"faa":false,"baa":true}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":false,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":false,"baa":123}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:20: {"faa":false,"baa":123}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":false,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":false,"baa":456}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:20: {"faa":false,"baa":456}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":false,"baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":false,"baa":"foo"}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:20: {"faa":false,"baa":"foo"}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":false,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":false,"baa":"bar"}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:20: {"faa":false,"baa":"bar"}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":false,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":false,"baa":{}}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:20: {"faa":false,"baa":{}}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":false,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":false,"baa":[]}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:20: {"faa":false,"baa":[]}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":false,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":null}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:20: {"faa":false,"baa":null}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":false}'
{"faa":false,"baa":false}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":true}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:20: {"faa":false,"baa":true}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":123}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:20: {"faa":false,"baa":123}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":456}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:20: {"faa":false,"baa":456}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":"foo"}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:20: {"faa":false,"baa":"foo"}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":"bar"}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:20: {"faa":false,"baa":"bar"}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":{}}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:20: {"faa":false,"baa":{}}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":[]}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:20: {"faa":false,"baa":[]}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":false,"baa":null}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:20: {"faa":false,"baa":null}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":false,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":false,"baa":false}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:20: {"faa":false,"baa":false}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":false,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":false,"baa":true}'
{"faa":false,"baa":true}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":false,"baa":123}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:20: {"faa":false,"baa":123}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":false,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":false,"baa":456}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:20: {"faa":false,"baa":456}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":false,"baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":false,"baa":"foo"}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:20: {"faa":false,"baa":"foo"}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":false,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":false,"baa":"bar"}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:20: {"faa":false,"baa":"bar"}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":false,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":false,"baa":{}}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:20: {"faa":false,"baa":{}}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":false,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":false,"baa":[]}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:20: {"faa":false,"baa":[]}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":false,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":false,"baa":null}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:20: {"faa":false,"baa":null}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":false,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":false,"baa":false}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:20: {"faa":false,"baa":false}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":false,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":false,"baa":true}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:20: {"faa":false,"baa":true}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":false,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":false,"baa":123}'
{"faa":false,"baa":123}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":false,"baa":456}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:20: {"faa":false,"baa":456}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":false,"baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":false,"baa":"foo"}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:20: {"faa":false,"baa":"foo"}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":false,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":false,"baa":"bar"}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:20: {"faa":false,"baa":"bar"}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":false,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":false,"baa":{}}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:20: {"faa":false,"baa":{}}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":false,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":false,"baa":[]}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:20: {"faa":false,"baa":[]}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":false,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":false,"baa":null}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:20: {"faa":false,"baa":null}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":false,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":false,"baa":false}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:20: {"faa":false,"baa":false}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":false,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":false,"baa":true}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:20: {"faa":false,"baa":true}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":false,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":false,"baa":123}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:20: {"faa":false,"baa":123}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":false,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":false,"baa":456}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:20: {"faa":false,"baa":456}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":false,"baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":false,"baa":"foo"}'
{"faa":false,"baa":"foo"}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":false,"baa":"bar"}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:20: {"faa":false,"baa":"bar"}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":false,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":false,"baa":{}}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:20: {"faa":false,"baa":{}}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":false,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":false,"baa":[]}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:20: {"faa":false,"baa":[]}
json: error: <stdin>:1:20:                    ^
{"faa":false,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"boolean"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":false,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":456,"baa":null}'
{"faa":456,"baa":null}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":456,"baa":false}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:18: {"faa":456,"baa":false}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":456,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":456,"baa":true}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:18: {"faa":456,"baa":true}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":456,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":456,"baa":123}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:18: {"faa":456,"baa":123}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":456,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":456,"baa":456}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:18: {"faa":456,"baa":456}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":456,"baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":456,"baa":"foo"}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:18: {"faa":456,"baa":"foo"}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":456,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":456,"baa":"bar"}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:18: {"faa":456,"baa":"bar"}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":456,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":456,"baa":{}}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:18: {"faa":456,"baa":{}}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":456,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":456,"baa":[]}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:18: {"faa":456,"baa":[]}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":456,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":456,"baa":null}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:18: {"faa":456,"baa":null}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":456,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":456,"baa":false}'
{"faa":456,"baa":false}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":456,"baa":true}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:18: {"faa":456,"baa":true}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":456,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":456,"baa":123}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:18: {"faa":456,"baa":123}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":456,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":456,"baa":456}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:18: {"faa":456,"baa":456}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":456,"baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":456,"baa":"foo"}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:18: {"faa":456,"baa":"foo"}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":456,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":456,"baa":"bar"}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:18: {"faa":456,"baa":"bar"}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":456,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":456,"baa":{}}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:18: {"faa":456,"baa":{}}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":456,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":456,"baa":[]}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:18: {"faa":456,"baa":[]}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":456,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":456,"baa":null}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:18: {"faa":456,"baa":null}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":456,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":456,"baa":false}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:18: {"faa":456,"baa":false}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":456,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":456,"baa":true}'
{"faa":456,"baa":true}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":456,"baa":123}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:18: {"faa":456,"baa":123}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":456,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":456,"baa":456}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:18: {"faa":456,"baa":456}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":456,"baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":456,"baa":"foo"}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:18: {"faa":456,"baa":"foo"}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":456,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":456,"baa":"bar"}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:18: {"faa":456,"baa":"bar"}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":456,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":456,"baa":{}}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:18: {"faa":456,"baa":{}}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":456,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":456,"baa":[]}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:18: {"faa":456,"baa":[]}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":456,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":456,"baa":null}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:18: {"faa":456,"baa":null}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":456,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":456,"baa":false}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:18: {"faa":456,"baa":false}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":456,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":456,"baa":true}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:18: {"faa":456,"baa":true}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":456,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":456,"baa":123}'
{"faa":456,"baa":123}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":456,"baa":456}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:18: {"faa":456,"baa":456}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":456,"baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":456,"baa":"foo"}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:18: {"faa":456,"baa":"foo"}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":456,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":456,"baa":"bar"}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:18: {"faa":456,"baa":"bar"}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":456,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":456,"baa":{}}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:18: {"faa":456,"baa":{}}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":456,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":456,"baa":[]}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:18: {"faa":456,"baa":[]}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":456,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":456,"baa":null}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:18: {"faa":456,"baa":null}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":456,"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":456,"baa":false}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:18: {"faa":456,"baa":false}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":456,"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":456,"baa":true}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:18: {"faa":456,"baa":true}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":456,"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":456,"baa":123}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:18: {"faa":456,"baa":123}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":456,"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":456,"baa":456}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:18: {"faa":456,"baa":456}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":456,"baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":456,"baa":"foo"}'
{"faa":456,"baa":"foo"}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":456,"baa":"bar"}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:18: {"faa":456,"baa":"bar"}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":456,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":456,"baa":{}}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:18: {"faa":456,"baa":{}}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":456,"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":456,"baa":[]}'
json: error: <stdin>:1:18: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:18: {"faa":456,"baa":[]}
json: error: <stdin>:1:18:                  ^
{"faa":456,"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"number"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":456,"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":"bar","baa":null}'
{"faa":"bar","baa":null}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":"bar","baa":false}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:20: {"faa":"bar","baa":false}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":"bar","baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":"bar","baa":true}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:20: {"faa":"bar","baa":true}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":"bar","baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":"bar","baa":123}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:20: {"faa":"bar","baa":123}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":"bar","baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":"bar","baa":456}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:20: {"faa":"bar","baa":456}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":"bar","baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":"bar","baa":"foo"}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:20: {"faa":"bar","baa":"foo"}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":"bar","baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":"bar","baa":"bar"}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:20: {"faa":"bar","baa":"bar"}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":"bar","baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":"bar","baa":{}}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:20: {"faa":"bar","baa":{}}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":"bar","baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":"bar","baa":[]}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:20: {"faa":"bar","baa":[]}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":"bar","baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":"bar","baa":null}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:20: {"faa":"bar","baa":null}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":"bar","baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":"bar","baa":false}'
{"faa":"bar","baa":false}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":"bar","baa":true}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:20: {"faa":"bar","baa":true}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":"bar","baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":"bar","baa":123}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:20: {"faa":"bar","baa":123}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":"bar","baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":"bar","baa":456}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:20: {"faa":"bar","baa":456}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":"bar","baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":"bar","baa":"foo"}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:20: {"faa":"bar","baa":"foo"}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":"bar","baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":"bar","baa":"bar"}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:20: {"faa":"bar","baa":"bar"}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":"bar","baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":"bar","baa":{}}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:20: {"faa":"bar","baa":{}}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":"bar","baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":"bar","baa":[]}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:20: {"faa":"bar","baa":[]}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":"bar","baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":"bar","baa":null}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:20: {"faa":"bar","baa":null}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":"bar","baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":"bar","baa":false}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:20: {"faa":"bar","baa":false}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":"bar","baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":"bar","baa":true}'
{"faa":"bar","baa":true}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":"bar","baa":123}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:20: {"faa":"bar","baa":123}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":"bar","baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":"bar","baa":456}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:20: {"faa":"bar","baa":456}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":"bar","baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":"bar","baa":"foo"}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:20: {"faa":"bar","baa":"foo"}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":"bar","baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":"bar","baa":"bar"}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:20: {"faa":"bar","baa":"bar"}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":"bar","baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":"bar","baa":{}}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:20: {"faa":"bar","baa":{}}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":"bar","baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":"bar","baa":[]}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:20: {"faa":"bar","baa":[]}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":"bar","baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":"bar","baa":null}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:20: {"faa":"bar","baa":null}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":"bar","baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":"bar","baa":false}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:20: {"faa":"bar","baa":false}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":"bar","baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":"bar","baa":true}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:20: {"faa":"bar","baa":true}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":"bar","baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":"bar","baa":123}'
{"faa":"bar","baa":123}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":"bar","baa":456}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:20: {"faa":"bar","baa":456}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":"bar","baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":"bar","baa":"foo"}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:20: {"faa":"bar","baa":"foo"}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":"bar","baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":"bar","baa":"bar"}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:20: {"faa":"bar","baa":"bar"}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":"bar","baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":"bar","baa":{}}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:20: {"faa":"bar","baa":{}}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":"bar","baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":"bar","baa":[]}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:20: {"faa":"bar","baa":[]}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":"bar","baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"bar","baa":null}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:20: {"faa":"bar","baa":null}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"bar","baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"bar","baa":false}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:20: {"faa":"bar","baa":false}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"bar","baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"bar","baa":true}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:20: {"faa":"bar","baa":true}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"bar","baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"bar","baa":123}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:20: {"faa":"bar","baa":123}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"bar","baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"bar","baa":456}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:20: {"faa":"bar","baa":456}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"bar","baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"bar","baa":"foo"}'
{"faa":"bar","baa":"foo"}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"bar","baa":"bar"}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:20: {"faa":"bar","baa":"bar"}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"bar","baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"bar","baa":{}}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:20: {"faa":"bar","baa":{}}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"bar","baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"bar","baa":[]}'
json: error: <stdin>:1:20: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:20: {"faa":"bar","baa":[]}
json: error: <stdin>:1:20:                    ^
{"faa":"bar","baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"string"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"bar","baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":{},"baa":null}'
{"faa":{},"baa":null}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":{},"baa":false}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:17: {"faa":{},"baa":false}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":{},"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":{},"baa":true}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:17: {"faa":{},"baa":true}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":{},"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":{},"baa":123}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:17: {"faa":{},"baa":123}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":{},"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":{},"baa":456}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:17: {"faa":{},"baa":456}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":{},"baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":{},"baa":"foo"}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:17: {"faa":{},"baa":"foo"}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":{},"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":{},"baa":"bar"}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:17: {"faa":{},"baa":"bar"}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":{},"baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":{},"baa":{}}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:17: {"faa":{},"baa":{}}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":{},"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":{},"baa":[]}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:17: {"faa":{},"baa":[]}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":{},"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":{},"baa":null}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:17: {"faa":{},"baa":null}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":{},"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":{},"baa":false}'
{"faa":{},"baa":false}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":{},"baa":true}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:17: {"faa":{},"baa":true}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":{},"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":{},"baa":123}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:17: {"faa":{},"baa":123}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":{},"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":{},"baa":456}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:17: {"faa":{},"baa":456}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":{},"baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":{},"baa":"foo"}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:17: {"faa":{},"baa":"foo"}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":{},"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":{},"baa":"bar"}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:17: {"faa":{},"baa":"bar"}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":{},"baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":{},"baa":{}}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:17: {"faa":{},"baa":{}}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":{},"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":{},"baa":[]}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:17: {"faa":{},"baa":[]}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":{},"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":{},"baa":null}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:17: {"faa":{},"baa":null}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":{},"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":{},"baa":false}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:17: {"faa":{},"baa":false}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":{},"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":{},"baa":true}'
{"faa":{},"baa":true}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":{},"baa":123}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:17: {"faa":{},"baa":123}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":{},"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":{},"baa":456}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:17: {"faa":{},"baa":456}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":{},"baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":{},"baa":"foo"}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:17: {"faa":{},"baa":"foo"}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":{},"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":{},"baa":"bar"}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:17: {"faa":{},"baa":"bar"}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":{},"baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":{},"baa":{}}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:17: {"faa":{},"baa":{}}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":{},"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":{},"baa":[]}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:17: {"faa":{},"baa":[]}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":{},"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":{},"baa":null}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:17: {"faa":{},"baa":null}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":{},"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":{},"baa":false}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:17: {"faa":{},"baa":false}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":{},"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":{},"baa":true}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:17: {"faa":{},"baa":true}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":{},"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":{},"baa":123}'
{"faa":{},"baa":123}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":{},"baa":456}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:17: {"faa":{},"baa":456}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":{},"baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":{},"baa":"foo"}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:17: {"faa":{},"baa":"foo"}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":{},"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":{},"baa":"bar"}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:17: {"faa":{},"baa":"bar"}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":{},"baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":{},"baa":{}}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:17: {"faa":{},"baa":{}}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":{},"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":{},"baa":[]}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:17: {"faa":{},"baa":[]}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":{},"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":{},"baa":null}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:17: {"faa":{},"baa":null}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":{},"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":{},"baa":false}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:17: {"faa":{},"baa":false}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":{},"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":{},"baa":true}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:17: {"faa":{},"baa":true}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":{},"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":{},"baa":123}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:17: {"faa":{},"baa":123}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":{},"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":{},"baa":456}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:17: {"faa":{},"baa":456}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":{},"baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":{},"baa":"foo"}'
{"faa":{},"baa":"foo"}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":{},"baa":"bar"}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:17: {"faa":{},"baa":"bar"}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":{},"baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":{},"baa":{}}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:17: {"faa":{},"baa":{}}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":{},"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":{},"baa":[]}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:17: {"faa":{},"baa":[]}
json: error: <stdin>:1:17:                 ^
{"faa":{},"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"object"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":{},"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[],"baa":null}'
{"faa":[],"baa":null}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[],"baa":false}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:17: {"faa":[],"baa":false}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[],"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[],"baa":true}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:17: {"faa":[],"baa":true}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[],"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[],"baa":123}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:17: {"faa":[],"baa":123}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[],"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[],"baa":456}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:17: {"faa":[],"baa":456}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[],"baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[],"baa":"foo"}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:17: {"faa":[],"baa":"foo"}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[],"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[],"baa":"bar"}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:17: {"faa":[],"baa":"bar"}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[],"baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[],"baa":{}}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:17: {"faa":[],"baa":{}}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[],"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[],"baa":[]}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:17: {"faa":[],"baa":[]}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":null}}]}]}' <<< '{"faa":[],"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[],"baa":null}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:17: {"faa":[],"baa":null}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[],"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[],"baa":false}'
{"faa":[],"baa":false}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[],"baa":true}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:17: {"faa":[],"baa":true}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[],"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[],"baa":123}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:17: {"faa":[],"baa":123}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[],"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[],"baa":456}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:17: {"faa":[],"baa":456}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[],"baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[],"baa":"foo"}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:17: {"faa":[],"baa":"foo"}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[],"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[],"baa":"bar"}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:17: {"faa":[],"baa":"bar"}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[],"baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[],"baa":{}}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:17: {"faa":[],"baa":{}}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[],"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[],"baa":[]}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:17: {"faa":[],"baa":[]}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":false}}]}]}' <<< '{"faa":[],"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[],"baa":null}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:17: {"faa":[],"baa":null}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[],"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[],"baa":false}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:17: {"faa":[],"baa":false}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[],"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[],"baa":true}'
{"faa":[],"baa":true}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[],"baa":123}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:17: {"faa":[],"baa":123}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[],"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[],"baa":456}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:17: {"faa":[],"baa":456}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[],"baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[],"baa":"foo"}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:17: {"faa":[],"baa":"foo"}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[],"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[],"baa":"bar"}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:17: {"faa":[],"baa":"bar"}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[],"baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[],"baa":{}}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:17: {"faa":[],"baa":{}}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[],"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[],"baa":[]}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:17: {"faa":[],"baa":[]}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":true}}]}]}' <<< '{"faa":[],"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[],"baa":null}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:17: {"faa":[],"baa":null}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[],"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[],"baa":false}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:17: {"faa":[],"baa":false}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[],"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[],"baa":true}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:17: {"faa":[],"baa":true}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[],"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[],"baa":123}'
{"faa":[],"baa":123}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[],"baa":456}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:17: {"faa":[],"baa":456}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[],"baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[],"baa":"foo"}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:17: {"faa":[],"baa":"foo"}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[],"baa":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[],"baa":"bar"}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:17: {"faa":[],"baa":"bar"}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[],"baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[],"baa":{}}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:17: {"faa":[],"baa":{}}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[],"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[],"baa":[]}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:17: {"faa":[],"baa":[]}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":123}}]}]}' <<< '{"faa":[],"baa":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[],"baa":null}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:17: {"faa":[],"baa":null}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[],"baa":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[],"baa":false}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:17: {"faa":[],"baa":false}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[],"baa":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[],"baa":true}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:17: {"faa":[],"baa":true}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[],"baa":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[],"baa":123}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:17: {"faa":[],"baa":123}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[],"baa":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[],"baa":456}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:17: {"faa":[],"baa":456}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[],"baa":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[],"baa":"foo"}'
{"faa":[],"baa":"foo"}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[],"baa":"bar"}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:17: {"faa":[],"baa":"bar"}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[],"baa":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[],"baa":{}}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:17: {"faa":[],"baa":{}}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[],"baa":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[],"baa":[]}'
json: error: <stdin>:1:17: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:17: {"faa":[],"baa":[]}
json: error: <stdin>:1:17:                 ^
{"faa":[],"baa":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":"array"},{"name":"baa","type":{"plain":"foo"}}]}]}' <<< '{"faa":[],"baa":[]}'
$

--[ list-object-plain-basic-val-basic ]-----------------------------------------

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

--[ list-object-plain-basic-val-object-empty ]----------------------------------

#
# # meta command:
# $ for p in null false true 123 '"foo"'; do for t in type null boolean number string object array; do T='{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":'"$p"'}},{"name":"baa","type":"'"$t"'"}]}]}'; c="json -d '$T' <<< '{}'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"type"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"null"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"boolean"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"number"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"string"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"object"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"array"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"type"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"null"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"boolean"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"number"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"string"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"object"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"array"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"type"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"null"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"boolean"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"number"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"string"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"object"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"array"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"type"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"null"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"boolean"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"number"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"string"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"object"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"array"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"type"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"null"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"boolean"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"number"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"string"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"object"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","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":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"array"}]}]}' <<< '{}'
$

--[ list-object-plain-basic-val-object-basic ]----------------------------------

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

--[ list-object-plain-basic-val-object-basic2 ]---------------------------------

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

--[ list-object-plain-basic-val-object-basic-basic ]----------------------------

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

--[ list-object-plain-basic-val-object-basic-basic2 ]---------------------------

#
# # meta command:
# $ for p in null false true 123 '"foo"'; do for t in type null boolean number string object array; do for v in null false true 123 456 '"foo"' '"bar"' '{}' '[]'; do T='{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":'"$p"'}},{"name":"baa","type":"'"$t"'"}]}]}'; c="json -d '$T' <<< '{\"faa\":$p,\"buu\":$v}'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":null,"buu":null}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":null}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":null,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":null,"buu":false}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":false}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":null,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":null,"buu":true}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":true}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":null,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":null,"buu":123}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":123}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":null,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":null,"buu":456}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":456}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":null,"buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":null,"buu":"foo"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":null,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":null,"buu":"bar"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":"bar"}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":null,"buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":null,"buu":{}}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":{}}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":null,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":null,"buu":[]}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":[]}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":null,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":null,"buu":null}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":null}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":null,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":null,"buu":false}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":false}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":null,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":null,"buu":true}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":true}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":null,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":null,"buu":123}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":123}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":null,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":null,"buu":456}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":456}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":null,"buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":null,"buu":"foo"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":null,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":null,"buu":"bar"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":"bar"}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":null,"buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":null,"buu":{}}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":{}}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":null,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":null,"buu":[]}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":[]}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":null,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":null,"buu":null}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":null}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":null,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":null,"buu":false}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":false}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":null,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":null,"buu":true}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":true}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":null,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":null,"buu":123}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":123}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":null,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":null,"buu":456}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":456}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":null,"buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":null,"buu":"foo"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":null,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":null,"buu":"bar"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":"bar"}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":null,"buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":null,"buu":{}}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":{}}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":null,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":null,"buu":[]}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":[]}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":null,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":null,"buu":null}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":null}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":null,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":null,"buu":false}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":false}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":null,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":null,"buu":true}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":true}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":null,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":null,"buu":123}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":123}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":null,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":null,"buu":456}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":456}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":null,"buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":null,"buu":"foo"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":null,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":null,"buu":"bar"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":"bar"}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":null,"buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":null,"buu":{}}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":{}}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":null,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":null,"buu":[]}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":[]}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":null,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":null,"buu":null}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":null}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":null,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":null,"buu":false}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":false}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":null,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":null,"buu":true}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":true}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":null,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":null,"buu":123}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":123}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":null,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":null,"buu":456}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":456}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":null,"buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":null,"buu":"foo"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":null,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":null,"buu":"bar"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":"bar"}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":null,"buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":null,"buu":{}}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":{}}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":null,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":null,"buu":[]}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":[]}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":null,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":null,"buu":null}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":null}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":null,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":null,"buu":false}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":false}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":null,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":null,"buu":true}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":true}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":null,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":null,"buu":123}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":123}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":null,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":null,"buu":456}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":456}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":null,"buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":null,"buu":"foo"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":null,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":null,"buu":"bar"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":"bar"}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":null,"buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":null,"buu":{}}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":{}}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":null,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":null,"buu":[]}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":[]}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":null,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":null,"buu":null}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":null}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":null,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":null,"buu":false}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":false}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":null,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":null,"buu":true}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":true}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":null,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":null,"buu":123}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":123}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":null,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":null,"buu":456}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":456}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":null,"buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":null,"buu":"foo"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":null,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":null,"buu":"bar"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":"bar"}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":null,"buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":null,"buu":{}}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":{}}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":null,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":null,"buu":[]}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":null,"buu":[]}
json: error: <stdin>:1:13:             ^
{"faa":null,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":null}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":null,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":false,"buu":null}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":null}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":false,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":false,"buu":false}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":false}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":false,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":false,"buu":true}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":true}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":false,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":false,"buu":123}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":123}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":false,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":false,"buu":456}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":456}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":false,"buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":false,"buu":"foo"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":"foo"}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":false,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":false,"buu":"bar"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":"bar"}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":false,"buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":false,"buu":{}}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":{}}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":false,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":false,"buu":[]}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":[]}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":false,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":false,"buu":null}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":null}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":false,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":false,"buu":false}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":false}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":false,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":false,"buu":true}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":true}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":false,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":false,"buu":123}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":123}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":false,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":false,"buu":456}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":456}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":false,"buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":false,"buu":"foo"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":"foo"}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":false,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":false,"buu":"bar"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":"bar"}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":false,"buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":false,"buu":{}}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":{}}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":false,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":false,"buu":[]}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":[]}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":false,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":false,"buu":null}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":null}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":false,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":false,"buu":false}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":false}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":false,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":false,"buu":true}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":true}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":false,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":false,"buu":123}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":123}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":false,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":false,"buu":456}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":456}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":false,"buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":false,"buu":"foo"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":"foo"}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":false,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":false,"buu":"bar"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":"bar"}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":false,"buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":false,"buu":{}}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":{}}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":false,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":false,"buu":[]}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":[]}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":false,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":false,"buu":null}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":null}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":false,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":false,"buu":false}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":false}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":false,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":false,"buu":true}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":true}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":false,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":false,"buu":123}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":123}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":false,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":false,"buu":456}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":456}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":false,"buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":false,"buu":"foo"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":"foo"}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":false,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":false,"buu":"bar"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":"bar"}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":false,"buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":false,"buu":{}}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":{}}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":false,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":false,"buu":[]}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":[]}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":false,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":false,"buu":null}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":null}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":false,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":false,"buu":false}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":false}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":false,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":false,"buu":true}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":true}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":false,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":false,"buu":123}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":123}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":false,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":false,"buu":456}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":456}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":false,"buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":false,"buu":"foo"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":"foo"}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":false,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":false,"buu":"bar"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":"bar"}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":false,"buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":false,"buu":{}}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":{}}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":false,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":false,"buu":[]}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":[]}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":false,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":false,"buu":null}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":null}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":false,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":false,"buu":false}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":false}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":false,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":false,"buu":true}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":true}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":false,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":false,"buu":123}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":123}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":false,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":false,"buu":456}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":456}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":false,"buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":false,"buu":"foo"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":"foo"}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":false,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":false,"buu":"bar"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":"bar"}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":false,"buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":false,"buu":{}}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":{}}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":false,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":false,"buu":[]}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":[]}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":false,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":false,"buu":null}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":null}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":false,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":false,"buu":false}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":false}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":false,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":false,"buu":true}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":true}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":false,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":false,"buu":123}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":123}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":false,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":false,"buu":456}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":456}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":false,"buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":false,"buu":"foo"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":"foo"}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":false,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":false,"buu":"bar"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":"bar"}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":false,"buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":false,"buu":{}}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":{}}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":false,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":false,"buu":[]}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":false,"buu":[]}
json: error: <stdin>:1:14:              ^
{"faa":false,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":false}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":false,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":true,"buu":null}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":null}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":true,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":true,"buu":false}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":false}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":true,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":true,"buu":true}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":true}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":true,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":true,"buu":123}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":123}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":true,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":true,"buu":456}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":456}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":true,"buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":true,"buu":"foo"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":true,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":true,"buu":"bar"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":"bar"}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":true,"buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":true,"buu":{}}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":{}}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":true,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":true,"buu":[]}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":[]}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":true,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":true,"buu":null}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":null}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":true,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":true,"buu":false}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":false}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":true,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":true,"buu":true}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":true}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":true,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":true,"buu":123}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":123}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":true,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":true,"buu":456}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":456}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":true,"buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":true,"buu":"foo"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":true,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":true,"buu":"bar"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":"bar"}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":true,"buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":true,"buu":{}}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":{}}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":true,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":true,"buu":[]}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":[]}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":true,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":true,"buu":null}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":null}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":true,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":true,"buu":false}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":false}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":true,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":true,"buu":true}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":true}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":true,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":true,"buu":123}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":123}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":true,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":true,"buu":456}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":456}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":true,"buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":true,"buu":"foo"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":true,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":true,"buu":"bar"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":"bar"}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":true,"buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":true,"buu":{}}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":{}}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":true,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":true,"buu":[]}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":[]}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":true,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":true,"buu":null}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":null}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":true,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":true,"buu":false}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":false}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":true,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":true,"buu":true}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":true}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":true,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":true,"buu":123}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":123}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":true,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":true,"buu":456}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":456}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":true,"buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":true,"buu":"foo"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":true,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":true,"buu":"bar"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":"bar"}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":true,"buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":true,"buu":{}}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":{}}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":true,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":true,"buu":[]}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":[]}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":true,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":true,"buu":null}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":null}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":true,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":true,"buu":false}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":false}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":true,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":true,"buu":true}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":true}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":true,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":true,"buu":123}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":123}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":true,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":true,"buu":456}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":456}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":true,"buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":true,"buu":"foo"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":true,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":true,"buu":"bar"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":"bar"}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":true,"buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":true,"buu":{}}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":{}}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":true,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":true,"buu":[]}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":[]}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":true,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":true,"buu":null}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":null}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":true,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":true,"buu":false}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":false}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":true,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":true,"buu":true}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":true}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":true,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":true,"buu":123}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":123}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":true,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":true,"buu":456}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":456}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":true,"buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":true,"buu":"foo"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":true,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":true,"buu":"bar"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":"bar"}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":true,"buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":true,"buu":{}}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":{}}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":true,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":true,"buu":[]}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":[]}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":true,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":true,"buu":null}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":null}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":true,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":true,"buu":false}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":false}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":true,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":true,"buu":true}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":true}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":true,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":true,"buu":123}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":123}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":true,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":true,"buu":456}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":456}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":true,"buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":true,"buu":"foo"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":true,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":true,"buu":"bar"}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":"bar"}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":true,"buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":true,"buu":{}}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":{}}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":true,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":true,"buu":[]}'
json: error: <stdin>:1:13: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:13: {"faa":true,"buu":[]}
json: error: <stdin>:1:13:             ^
{"faa":true,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":true}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":true,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":123,"buu":null}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":null}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":123,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":123,"buu":false}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":false}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":123,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":123,"buu":true}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":true}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":123,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":123,"buu":123}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":123}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":123,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":123,"buu":456}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":456}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":123,"buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":123,"buu":"foo"}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":"foo"}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":123,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":123,"buu":"bar"}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":"bar"}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":123,"buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":123,"buu":{}}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":{}}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":123,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":123,"buu":[]}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":[]}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":123,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":123,"buu":null}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":null}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":123,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":123,"buu":false}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":false}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":123,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":123,"buu":true}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":true}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":123,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":123,"buu":123}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":123}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":123,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":123,"buu":456}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":456}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":123,"buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":123,"buu":"foo"}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":"foo"}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":123,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":123,"buu":"bar"}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":"bar"}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":123,"buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":123,"buu":{}}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":{}}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":123,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":123,"buu":[]}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":[]}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":123,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":123,"buu":null}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":null}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":123,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":123,"buu":false}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":false}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":123,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":123,"buu":true}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":true}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":123,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":123,"buu":123}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":123}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":123,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":123,"buu":456}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":456}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":123,"buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":123,"buu":"foo"}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":"foo"}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":123,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":123,"buu":"bar"}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":"bar"}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":123,"buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":123,"buu":{}}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":{}}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":123,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":123,"buu":[]}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":[]}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":123,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":123,"buu":null}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":null}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":123,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":123,"buu":false}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":false}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":123,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":123,"buu":true}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":true}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":123,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":123,"buu":123}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":123}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":123,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":123,"buu":456}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":456}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":123,"buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":123,"buu":"foo"}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":"foo"}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":123,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":123,"buu":"bar"}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":"bar"}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":123,"buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":123,"buu":{}}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":{}}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":123,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":123,"buu":[]}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":[]}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":123,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":123,"buu":null}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":null}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":123,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":123,"buu":false}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":false}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":123,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":123,"buu":true}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":true}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":123,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":123,"buu":123}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":123}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":123,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":123,"buu":456}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":456}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":123,"buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":123,"buu":"foo"}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":"foo"}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":123,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":123,"buu":"bar"}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":"bar"}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":123,"buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":123,"buu":{}}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":{}}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":123,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":123,"buu":[]}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":[]}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":123,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":123,"buu":null}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":null}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":123,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":123,"buu":false}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":false}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":123,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":123,"buu":true}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":true}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":123,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":123,"buu":123}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":123}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":123,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":123,"buu":456}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":456}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":123,"buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":123,"buu":"foo"}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":"foo"}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":123,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":123,"buu":"bar"}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":"bar"}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":123,"buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":123,"buu":{}}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":{}}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":123,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":123,"buu":[]}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":[]}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":123,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":123,"buu":null}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":null}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":123,"buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":123,"buu":false}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":false}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":123,"buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":123,"buu":true}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":true}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":123,"buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":123,"buu":123}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":123}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":123,"buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":123,"buu":456}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":456}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":123,"buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":123,"buu":"foo"}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":"foo"}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":123,"buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":123,"buu":"bar"}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":"bar"}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":123,"buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":123,"buu":{}}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":{}}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":123,"buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":123,"buu":[]}'
json: error: <stdin>:1:12: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:12: {"faa":123,"buu":[]}
json: error: <stdin>:1:12:            ^
{"faa":123,
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":123}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":123,"buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":"foo","buu":null}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":null}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":"foo","buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":"foo","buu":false}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":false}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":"foo","buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":"foo","buu":true}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":true}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":"foo","buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":"foo","buu":123}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":123}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":"foo","buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":"foo","buu":456}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":456}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":"foo","buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":"foo","buu":"foo"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":"foo"}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":"foo","buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":"foo","buu":"bar"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":"bar"}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":"foo","buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":"foo","buu":{}}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":{}}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":"foo","buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":"foo","buu":[]}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":[]}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"type"}]}]}' <<< '{"faa":"foo","buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":"foo","buu":null}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":null}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":"foo","buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":"foo","buu":false}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":false}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":"foo","buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":"foo","buu":true}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":true}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":"foo","buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":"foo","buu":123}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":123}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":"foo","buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":"foo","buu":456}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":456}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":"foo","buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":"foo","buu":"foo"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":"foo"}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":"foo","buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":"foo","buu":"bar"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":"bar"}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":"foo","buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":"foo","buu":{}}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":{}}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":"foo","buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":"foo","buu":[]}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":[]}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"null"}]}]}' <<< '{"faa":"foo","buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":"foo","buu":null}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":null}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":"foo","buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":"foo","buu":false}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":false}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":"foo","buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":"foo","buu":true}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":true}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":"foo","buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":"foo","buu":123}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":123}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":"foo","buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":"foo","buu":456}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":456}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":"foo","buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":"foo","buu":"foo"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":"foo"}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":"foo","buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":"foo","buu":"bar"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":"bar"}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":"foo","buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":"foo","buu":{}}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":{}}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":"foo","buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":"foo","buu":[]}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":[]}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"boolean"}]}]}' <<< '{"faa":"foo","buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":"foo","buu":null}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":null}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":"foo","buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":"foo","buu":false}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":false}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":"foo","buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":"foo","buu":true}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":true}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":"foo","buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":"foo","buu":123}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":123}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":"foo","buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":"foo","buu":456}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":456}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":"foo","buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":"foo","buu":"foo"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":"foo"}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":"foo","buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":"foo","buu":"bar"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":"bar"}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":"foo","buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":"foo","buu":{}}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":{}}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":"foo","buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":"foo","buu":[]}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":[]}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"number"}]}]}' <<< '{"faa":"foo","buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":"foo","buu":null}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":null}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":"foo","buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":"foo","buu":false}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":false}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":"foo","buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":"foo","buu":true}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":true}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":"foo","buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":"foo","buu":123}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":123}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":"foo","buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":"foo","buu":456}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":456}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":"foo","buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":"foo","buu":"foo"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":"foo"}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":"foo","buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":"foo","buu":"bar"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":"bar"}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":"foo","buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":"foo","buu":{}}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":{}}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":"foo","buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":"foo","buu":[]}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":[]}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"string"}]}]}' <<< '{"faa":"foo","buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":"foo","buu":null}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":null}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":"foo","buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":"foo","buu":false}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":false}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":"foo","buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":"foo","buu":true}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":true}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":"foo","buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":"foo","buu":123}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":123}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":"foo","buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":"foo","buu":456}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":456}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":"foo","buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":"foo","buu":"foo"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":"foo"}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":"foo","buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":"foo","buu":"bar"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":"bar"}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":"foo","buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":"foo","buu":{}}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":{}}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":"foo","buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":"foo","buu":[]}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":[]}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"object"}]}]}' <<< '{"faa":"foo","buu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":"foo","buu":null}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":null}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":"foo","buu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":"foo","buu":false}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":false}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":"foo","buu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":"foo","buu":true}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":true}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":"foo","buu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":"foo","buu":123}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":123}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":"foo","buu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":"foo","buu":456}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":456}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":"foo","buu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":"foo","buu":"foo"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":"foo"}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":"foo","buu":"foo"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":"foo","buu":"bar"}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":"bar"}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":"foo","buu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":"foo","buu":{}}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":{}}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":"foo","buu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":"foo","buu":[]}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:14: {"faa":"foo","buu":[]}
json: error: <stdin>:1:14:              ^
{"faa":"foo",
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}},{"name":"baa","type":"array"}]}]}' <<< '{"faa":"foo","buu":[]}'
$

--[ list-object-plain-basic-val-object-basic-basic3 ]---------------------------

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

--[ list-basic-object-basic-val-basic ]-----------------------------------------

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

--[ list-basic-object-basic-val-object-empty ]----------------------------------

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

--[ list-basic-object-basic-val-object-basic ]----------------------------------

#
# # 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 T='{"type":"list","args":["'"$t"'",{"type":"object","args":[{"name":"faa","type":"'"$t2"'"}]}]}'; c="json -d '$T' <<< '{\"fuu\":$v}'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":null}'
{"fuu":null}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":false}'
{"fuu":false}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":true}'
{"fuu":true}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":123}'
{"fuu":123}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":"bar"}'
{"fuu":"bar"}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":{}}'
{"fuu":{}}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[]}'
{"fuu":[]}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null}'
{"fuu":null}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":false}'
{"fuu":false}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":true}'
{"fuu":true}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":123}'
{"fuu":123}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":"bar"}'
{"fuu":"bar"}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":{}}'
{"fuu":{}}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":[]}'
{"fuu":[]}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":null}'
{"fuu":null}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false}'
{"fuu":false}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":true}'
{"fuu":true}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":123}'
{"fuu":123}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":"bar"}'
{"fuu":"bar"}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":{}}'
{"fuu":{}}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":[]}'
{"fuu":[]}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":null}'
{"fuu":null}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":false}'
{"fuu":false}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":true}'
{"fuu":true}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":123}'
{"fuu":123}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":"bar"}'
{"fuu":"bar"}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":{}}'
{"fuu":{}}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":[]}'
{"fuu":[]}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":null}'
{"fuu":null}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":false}'
{"fuu":false}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":true}'
{"fuu":true}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":123}'
{"fuu":123}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"bar"}'
{"fuu":"bar"}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":{}}'
{"fuu":{}}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":[]}'
{"fuu":[]}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":null}'
{"fuu":null}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":false}'
{"fuu":false}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":true}'
{"fuu":true}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":123}'
{"fuu":123}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":"bar"}'
{"fuu":"bar"}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{}}'
{"fuu":{}}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":[]}'
{"fuu":[]}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":null}'
{"fuu":null}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":false}'
{"fuu":false}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":true}'
{"fuu":true}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":123}'
{"fuu":123}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":"bar"}'
{"fuu":"bar"}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":{}}'
{"fuu":{}}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[]}'
{"fuu":[]}
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":null}'
{"fuu":null}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":false}'
{"fuu":false}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":true}'
{"fuu":true}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":123}'
{"fuu":123}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":"bar"}'
{"fuu":"bar"}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":{}}'
{"fuu":{}}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[]}'
{"fuu":[]}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null}'
{"fuu":null}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":false}'
{"fuu":false}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":true}'
{"fuu":true}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":123}'
{"fuu":123}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":"bar"}'
{"fuu":"bar"}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":{}}'
{"fuu":{}}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":[]}'
{"fuu":[]}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":null}'
{"fuu":null}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false}'
{"fuu":false}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":true}'
{"fuu":true}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":123}'
{"fuu":123}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":"bar"}'
{"fuu":"bar"}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":{}}'
{"fuu":{}}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":[]}'
{"fuu":[]}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":null}'
{"fuu":null}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":false}'
{"fuu":false}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":true}'
{"fuu":true}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":123}'
{"fuu":123}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":"bar"}'
{"fuu":"bar"}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":{}}'
{"fuu":{}}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":[]}'
{"fuu":[]}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":null}'
{"fuu":null}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":false}'
{"fuu":false}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":true}'
{"fuu":true}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":123}'
{"fuu":123}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"bar"}'
{"fuu":"bar"}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":{}}'
{"fuu":{}}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":[]}'
{"fuu":[]}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":null}'
{"fuu":null}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":false}'
{"fuu":false}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":true}'
{"fuu":true}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":123}'
{"fuu":123}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":"bar"}'
{"fuu":"bar"}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{}}'
{"fuu":{}}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":[]}'
{"fuu":[]}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":null}'
{"fuu":null}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":false}'
{"fuu":false}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":true}'
{"fuu":true}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":123}'
{"fuu":123}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":"bar"}'
{"fuu":"bar"}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":{}}'
{"fuu":{}}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[]}'
{"fuu":[]}
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[]}'
$

--[ list-basic-object-basic-val-object-basic2 ]---------------------------------

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

--[ list-basic-object-basic-val-object-basic-basic ]----------------------------

#
# # 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 '"foo"' '{}' '[]'; do case "$t2" in type) v0='[{}]';; null) v0='null';; boolean) v0='false';; number) v0='456';; string) v0='"bar"';; object) v0='{}';; array) v0='[]';; esac; T='{"type":"list","args":["'"$t"'",{"type":"object","args":[{"name":"faa","type":"'"$t2"'"}]}]}'; c="json -d '$T' <<< '{\"baa\":$v0,\"buu\":$v}'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":null}'
{"baa":[{}],"buu":null}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":false}'
{"baa":[{}],"buu":false}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":true}'
{"baa":[{}],"buu":true}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":123}'
{"baa":[{}],"buu":123}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":"foo"}'
{"baa":[{}],"buu":"foo"}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":{}}'
{"baa":[{}],"buu":{}}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":[]}'
{"baa":[{}],"buu":[]}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":null}'
{"baa":null,"buu":null}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":false}'
{"baa":null,"buu":false}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":true}'
{"baa":null,"buu":true}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":123}'
{"baa":null,"buu":123}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":"foo"}'
{"baa":null,"buu":"foo"}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":{}}'
{"baa":null,"buu":{}}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":[]}'
{"baa":null,"buu":[]}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":null}'
{"baa":false,"buu":null}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":false}'
{"baa":false,"buu":false}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":true}'
{"baa":false,"buu":true}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":123}'
{"baa":false,"buu":123}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":"foo"}'
{"baa":false,"buu":"foo"}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":{}}'
{"baa":false,"buu":{}}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":[]}'
{"baa":false,"buu":[]}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":null}'
{"baa":456,"buu":null}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":false}'
{"baa":456,"buu":false}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":true}'
{"baa":456,"buu":true}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":123}'
{"baa":456,"buu":123}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":"foo"}'
{"baa":456,"buu":"foo"}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":{}}'
{"baa":456,"buu":{}}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":[]}'
{"baa":456,"buu":[]}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":null}'
{"baa":"bar","buu":null}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":false}'
{"baa":"bar","buu":false}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":true}'
{"baa":"bar","buu":true}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":123}'
{"baa":"bar","buu":123}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":"foo"}'
{"baa":"bar","buu":"foo"}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":{}}'
{"baa":"bar","buu":{}}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":[]}'
{"baa":"bar","buu":[]}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":null}'
{"baa":{},"buu":null}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":false}'
{"baa":{},"buu":false}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":true}'
{"baa":{},"buu":true}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":123}'
{"baa":{},"buu":123}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":"foo"}'
{"baa":{},"buu":"foo"}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":{}}'
{"baa":{},"buu":{}}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":[]}'
{"baa":{},"buu":[]}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":null}'
{"baa":[],"buu":null}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":false}'
{"baa":[],"buu":false}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":true}'
{"baa":[],"buu":true}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":123}'
{"baa":[],"buu":123}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":"foo"}'
{"baa":[],"buu":"foo"}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":{}}'
{"baa":[],"buu":{}}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":[]}'
{"baa":[],"buu":[]}
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[{}],"buu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":null}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[{}],"buu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":false}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[{}],"buu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":true}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[{}],"buu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":123}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[{}],"buu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":"foo"}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[{}],"buu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":{}}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[{}],"buu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":[]}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":null,"buu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":null}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":null,"buu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":false}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":null,"buu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":true}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":null,"buu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":123}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":null,"buu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":"foo"}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":null,"buu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":{}}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":null,"buu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":[]}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":false,"buu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":null}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":false,"buu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":false}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":false,"buu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":true}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":false,"buu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":123}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":false,"buu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":"foo"}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":false,"buu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":{}}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":false,"buu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":[]}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":456,"buu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":null}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":456,"buu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":false}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":456,"buu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":true}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":456,"buu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":123}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":456,"buu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":"foo"}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":456,"buu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":{}}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":456,"buu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":[]}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":"bar","buu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":null}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":"bar","buu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":false}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":"bar","buu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":true}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":"bar","buu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":123}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":"bar","buu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":"foo"}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":"bar","buu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":{}}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":"bar","buu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":[]}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":{},"buu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":null}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":{},"buu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":false}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":{},"buu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":true}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":{},"buu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":123}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":{},"buu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":"foo"}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":{},"buu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":{}}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":{},"buu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":[]}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[],"buu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":null}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[],"buu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":false}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[],"buu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":true}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[],"buu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":123}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[],"buu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":"foo"}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[],"buu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":{}}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[],"buu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":[]}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[{}],"buu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":null}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[{}],"buu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":false}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[{}],"buu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":true}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[{}],"buu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":123}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[{}],"buu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":"foo"}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[{}],"buu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":{}}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[{}],"buu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":[]}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":null,"buu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":null}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":null,"buu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":false}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":null,"buu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":true}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":null,"buu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":123}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":null,"buu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":"foo"}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":null,"buu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":{}}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":null,"buu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":[]}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":false,"buu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":null}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":false,"buu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":false}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":false,"buu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":true}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":false,"buu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":123}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":false,"buu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":"foo"}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":false,"buu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":{}}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":false,"buu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":[]}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":456,"buu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":null}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":456,"buu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":false}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":456,"buu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":true}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":456,"buu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":123}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":456,"buu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":"foo"}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":456,"buu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":{}}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":456,"buu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":[]}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":"bar","buu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":null}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":"bar","buu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":false}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":"bar","buu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":true}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":"bar","buu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":123}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":"bar","buu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":"foo"}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":"bar","buu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":{}}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":"bar","buu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":[]}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":{},"buu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":null}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":{},"buu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":false}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":{},"buu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":true}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":{},"buu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":123}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":{},"buu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":"foo"}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":{},"buu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":{}}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":{},"buu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":[]}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[],"buu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":null}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[],"buu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":false}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[],"buu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":true}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[],"buu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":123}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[],"buu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":"foo"}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[],"buu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":{}}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[],"buu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":[]}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[{}],"buu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":null}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[{}],"buu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":false}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[{}],"buu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":true}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[{}],"buu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":123}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[{}],"buu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":"foo"}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[{}],"buu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":{}}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[{}],"buu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":[]}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":null,"buu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":null}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":null,"buu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":false}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":null,"buu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":true}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":null,"buu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":123}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":null,"buu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":"foo"}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":null,"buu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":{}}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":null,"buu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":[]}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":false,"buu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":null}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":false,"buu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":false}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":false,"buu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":true}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":false,"buu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":123}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":false,"buu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":"foo"}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":false,"buu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":{}}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":false,"buu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":[]}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":456,"buu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":null}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":456,"buu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":false}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":456,"buu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":true}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":456,"buu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":123}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":456,"buu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":"foo"}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":456,"buu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":{}}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":456,"buu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":[]}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":"bar","buu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":null}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":"bar","buu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":false}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":"bar","buu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":true}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":"bar","buu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":123}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":"bar","buu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":"foo"}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":"bar","buu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":{}}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":"bar","buu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":[]}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":{},"buu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":null}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":{},"buu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":false}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":{},"buu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":true}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":{},"buu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":123}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":{},"buu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":"foo"}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":{},"buu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":{}}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":{},"buu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":[]}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[],"buu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":null}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[],"buu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":false}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[],"buu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":true}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[],"buu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":123}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[],"buu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":"foo"}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[],"buu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":{}}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[],"buu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":[]}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[{}],"buu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":null}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[{}],"buu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":false}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[{}],"buu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":true}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[{}],"buu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":123}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[{}],"buu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":"foo"}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[{}],"buu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":{}}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[{}],"buu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":[]}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":null,"buu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":null}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":null,"buu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":false}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":null,"buu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":true}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":null,"buu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":123}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":null,"buu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":"foo"}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":null,"buu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":{}}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":null,"buu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":[]}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":false,"buu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":null}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":false,"buu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":false}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":false,"buu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":true}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":false,"buu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":123}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":false,"buu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":"foo"}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":false,"buu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":{}}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":false,"buu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":[]}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":456,"buu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":null}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":456,"buu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":false}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":456,"buu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":true}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":456,"buu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":123}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":456,"buu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":"foo"}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":456,"buu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":{}}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":456,"buu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":[]}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":"bar","buu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":null}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":"bar","buu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":false}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":"bar","buu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":true}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":"bar","buu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":123}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":"bar","buu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":"foo"}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":"bar","buu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":{}}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":"bar","buu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":[]}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":{},"buu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":null}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":{},"buu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":false}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":{},"buu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":true}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":{},"buu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":123}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":{},"buu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":"foo"}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":{},"buu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":{}}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":{},"buu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":[]}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[],"buu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":null}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[],"buu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":false}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[],"buu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":true}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[],"buu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":123}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[],"buu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":"foo"}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[],"buu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":{}}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[],"buu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":[]}'
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":null}'
{"baa":[{}],"buu":null}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":false}'
{"baa":[{}],"buu":false}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":true}'
{"baa":[{}],"buu":true}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":123}'
{"baa":[{}],"buu":123}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":"foo"}'
{"baa":[{}],"buu":"foo"}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":{}}'
{"baa":[{}],"buu":{}}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":[]}'
{"baa":[{}],"buu":[]}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":null}'
{"baa":null,"buu":null}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":false}'
{"baa":null,"buu":false}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":true}'
{"baa":null,"buu":true}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":123}'
{"baa":null,"buu":123}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":"foo"}'
{"baa":null,"buu":"foo"}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":{}}'
{"baa":null,"buu":{}}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":[]}'
{"baa":null,"buu":[]}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":null}'
{"baa":false,"buu":null}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":false}'
{"baa":false,"buu":false}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":true}'
{"baa":false,"buu":true}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":123}'
{"baa":false,"buu":123}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":"foo"}'
{"baa":false,"buu":"foo"}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":{}}'
{"baa":false,"buu":{}}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":[]}'
{"baa":false,"buu":[]}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":null}'
{"baa":456,"buu":null}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":false}'
{"baa":456,"buu":false}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":true}'
{"baa":456,"buu":true}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":123}'
{"baa":456,"buu":123}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":"foo"}'
{"baa":456,"buu":"foo"}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":{}}'
{"baa":456,"buu":{}}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":[]}'
{"baa":456,"buu":[]}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":null}'
{"baa":"bar","buu":null}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":false}'
{"baa":"bar","buu":false}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":true}'
{"baa":"bar","buu":true}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":123}'
{"baa":"bar","buu":123}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":"foo"}'
{"baa":"bar","buu":"foo"}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":{}}'
{"baa":"bar","buu":{}}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":[]}'
{"baa":"bar","buu":[]}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":null}'
{"baa":{},"buu":null}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":false}'
{"baa":{},"buu":false}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":true}'
{"baa":{},"buu":true}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":123}'
{"baa":{},"buu":123}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":"foo"}'
{"baa":{},"buu":"foo"}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":{}}'
{"baa":{},"buu":{}}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":[]}'
{"baa":{},"buu":[]}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":null}'
{"baa":[],"buu":null}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":false}'
{"baa":[],"buu":false}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":true}'
{"baa":[],"buu":true}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":123}'
{"baa":[],"buu":123}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":"foo"}'
{"baa":[],"buu":"foo"}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":{}}'
{"baa":[],"buu":{}}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":[]}'
{"baa":[],"buu":[]}
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[{}],"buu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":null}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[{}],"buu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":false}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[{}],"buu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":true}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[{}],"buu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":123}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[{}],"buu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":"foo"}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[{}],"buu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":{}}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[{}],"buu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"baa":[{}],"buu":[]}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":null,"buu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":null}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":null,"buu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":false}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":null,"buu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":true}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":null,"buu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":123}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":null,"buu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":"foo"}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":null,"buu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":{}}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":null,"buu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"baa":null,"buu":[]}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":false,"buu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":null}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":false,"buu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":false}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":false,"buu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":true}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":false,"buu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":123}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":false,"buu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":"foo"}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":false,"buu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":{}}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":false,"buu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"baa":false,"buu":[]}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":456,"buu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":null}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":456,"buu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":false}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":456,"buu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":true}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":456,"buu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":123}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":456,"buu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":"foo"}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":456,"buu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":{}}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":456,"buu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"baa":456,"buu":[]}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":"bar","buu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":null}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":"bar","buu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":false}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":"bar","buu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":true}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":"bar","buu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":123}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":"bar","buu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":"foo"}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":"bar","buu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":{}}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":"bar","buu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"baa":"bar","buu":[]}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":{},"buu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":null}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":{},"buu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":false}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":{},"buu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":true}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":{},"buu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":123}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":{},"buu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":"foo"}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":{},"buu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":{}}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":{},"buu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"baa":{},"buu":[]}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[],"buu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":null}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[],"buu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":false}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[],"buu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":true}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[],"buu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":123}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[],"buu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":"foo"}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[],"buu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":{}}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"baa":[],"buu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"baa":[],"buu":[]}'
$

--[ list-basic-object-basic-val-object-basic-basic2 ]---------------------------

#
# # 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 '"foo"' '{}' '[]'; do case "$t2" in type) v0='[{}]';; null) v0='null';; boolean) v0='false';; number) v0='456';; string) v0='"bar"';; object) v0='{}';; array) v0='[]';; esac; T='{"type":"list","args":["'"$t"'",{"type":"object","args":[{"name":"faa","type":"'"$t2"'"}]}]}'; c="json -d '$T' <<< '{\"faa\":$v0,\"baa\":$v}'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":null}'
{"faa":[{}],"baa":null}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":false}'
{"faa":[{}],"baa":false}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":true}'
{"faa":[{}],"baa":true}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":123}'
{"faa":[{}],"baa":123}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":"foo"}'
{"faa":[{}],"baa":"foo"}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":{}}'
{"faa":[{}],"baa":{}}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":[]}'
{"faa":[{}],"baa":[]}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":null}'
{"faa":null,"baa":null}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":false}'
{"faa":null,"baa":false}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":true}'
{"faa":null,"baa":true}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":123}'
{"faa":null,"baa":123}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":"foo"}'
{"faa":null,"baa":"foo"}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":{}}'
{"faa":null,"baa":{}}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":[]}'
{"faa":null,"baa":[]}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":null}'
{"faa":false,"baa":null}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":false}'
{"faa":false,"baa":false}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":true}'
{"faa":false,"baa":true}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":123}'
{"faa":false,"baa":123}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":"foo"}'
{"faa":false,"baa":"foo"}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":{}}'
{"faa":false,"baa":{}}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":[]}'
{"faa":false,"baa":[]}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":null}'
{"faa":456,"baa":null}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":false}'
{"faa":456,"baa":false}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":true}'
{"faa":456,"baa":true}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":123}'
{"faa":456,"baa":123}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":"foo"}'
{"faa":456,"baa":"foo"}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":{}}'
{"faa":456,"baa":{}}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":[]}'
{"faa":456,"baa":[]}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":null}'
{"faa":"bar","baa":null}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":false}'
{"faa":"bar","baa":false}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":true}'
{"faa":"bar","baa":true}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":123}'
{"faa":"bar","baa":123}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":"foo"}'
{"faa":"bar","baa":"foo"}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":{}}'
{"faa":"bar","baa":{}}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":[]}'
{"faa":"bar","baa":[]}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":null}'
{"faa":{},"baa":null}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":false}'
{"faa":{},"baa":false}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":true}'
{"faa":{},"baa":true}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":123}'
{"faa":{},"baa":123}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":"foo"}'
{"faa":{},"baa":"foo"}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":{}}'
{"faa":{},"baa":{}}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":[]}'
{"faa":{},"baa":[]}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":null}'
{"faa":[],"baa":null}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":false}'
{"faa":[],"baa":false}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":true}'
{"faa":[],"baa":true}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":123}'
{"faa":[],"baa":123}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":"foo"}'
{"faa":[],"baa":"foo"}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":{}}'
{"faa":[],"baa":{}}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":[]}'
{"faa":[],"baa":[]}
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":[{}],"baa":null}
json: error: <stdin>:1:12:            ^
{"faa":[{}]
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":null}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":[{}],"baa":false}
json: error: <stdin>:1:12:            ^
{"faa":[{}]
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":false}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":[{}],"baa":true}
json: error: <stdin>:1:12:            ^
{"faa":[{}]
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":true}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":[{}],"baa":123}
json: error: <stdin>:1:12:            ^
{"faa":[{}]
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":123}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":"foo"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":[{}],"baa":"foo"}
json: error: <stdin>:1:12:            ^
{"faa":[{}]
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":"foo"}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":[{}],"baa":{}}
json: error: <stdin>:1:12:            ^
{"faa":[{}]
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":{}}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":[{}],"baa":[]}
json: error: <stdin>:1:12:            ^
{"faa":[{}]
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":[]}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":null}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":null}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":false}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":false}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":true}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":true}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":123}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":123}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":"foo"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":"foo"}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":"foo"}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":{}}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":{}}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":[]}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":[]}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":null}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":null}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":false}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":false}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":true}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":true}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":123}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":123}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":"foo"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":"foo"}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":{}}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":{}}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":[]}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":[]}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":null}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":456,"baa":null}
json: error: <stdin>:1:11:           ^
{"faa":456
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":null}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":false}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":456,"baa":false}
json: error: <stdin>:1:11:           ^
{"faa":456
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":false}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":true}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":456,"baa":true}
json: error: <stdin>:1:11:           ^
{"faa":456
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":true}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":123}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":456,"baa":123}
json: error: <stdin>:1:11:           ^
{"faa":456
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":123}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":"foo"}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":456,"baa":"foo"}
json: error: <stdin>:1:11:           ^
{"faa":456
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":"foo"}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":{}}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":456,"baa":{}}
json: error: <stdin>:1:11:           ^
{"faa":456
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":{}}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":[]}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":456,"baa":[]}
json: error: <stdin>:1:11:           ^
{"faa":456
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":[]}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"bar","baa":null}
json: error: <stdin>:1:13:             ^
{"faa":"bar"
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":null}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"bar","baa":false}
json: error: <stdin>:1:13:             ^
{"faa":"bar"
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":false}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"bar","baa":true}
json: error: <stdin>:1:13:             ^
{"faa":"bar"
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":true}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"bar","baa":123}
json: error: <stdin>:1:13:             ^
{"faa":"bar"
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":123}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":"foo"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"bar","baa":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":"bar"
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":"foo"}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"bar","baa":{}}
json: error: <stdin>:1:13:             ^
{"faa":"bar"
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":{}}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"bar","baa":[]}
json: error: <stdin>:1:13:             ^
{"faa":"bar"
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":[]}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":{},"baa":null}
json: error: <stdin>:1:10:          ^
{"faa":{}
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":null}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":false}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":{},"baa":false}
json: error: <stdin>:1:10:          ^
{"faa":{}
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":false}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":true}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":{},"baa":true}
json: error: <stdin>:1:10:          ^
{"faa":{}
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":true}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":123}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":{},"baa":123}
json: error: <stdin>:1:10:          ^
{"faa":{}
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":123}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":"foo"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":{},"baa":"foo"}
json: error: <stdin>:1:10:          ^
{"faa":{}
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":"foo"}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":{}}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":{},"baa":{}}
json: error: <stdin>:1:10:          ^
{"faa":{}
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":{}}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":[]}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":{},"baa":[]}
json: error: <stdin>:1:10:          ^
{"faa":{}
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":[]}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":[],"baa":null}
json: error: <stdin>:1:10:          ^
{"faa":[]
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":null}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":false}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":[],"baa":false}
json: error: <stdin>:1:10:          ^
{"faa":[]
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":false}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":true}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":[],"baa":true}
json: error: <stdin>:1:10:          ^
{"faa":[]
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":true}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":123}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":[],"baa":123}
json: error: <stdin>:1:10:          ^
{"faa":[]
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":123}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":"foo"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":[],"baa":"foo"}
json: error: <stdin>:1:10:          ^
{"faa":[]
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":"foo"}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":{}}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":[],"baa":{}}
json: error: <stdin>:1:10:          ^
{"faa":[]
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":{}}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":[]}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":[],"baa":[]}
json: error: <stdin>:1:10:          ^
{"faa":[]
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":[]}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":[{}],"baa":null}
json: error: <stdin>:1:12:            ^
{"faa":[{}]
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":null}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":[{}],"baa":false}
json: error: <stdin>:1:12:            ^
{"faa":[{}]
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":false}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":[{}],"baa":true}
json: error: <stdin>:1:12:            ^
{"faa":[{}]
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":true}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":[{}],"baa":123}
json: error: <stdin>:1:12:            ^
{"faa":[{}]
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":123}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":"foo"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":[{}],"baa":"foo"}
json: error: <stdin>:1:12:            ^
{"faa":[{}]
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":"foo"}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":[{}],"baa":{}}
json: error: <stdin>:1:12:            ^
{"faa":[{}]
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":{}}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":[{}],"baa":[]}
json: error: <stdin>:1:12:            ^
{"faa":[{}]
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":[]}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":null}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":null}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":false}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":false}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":true}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":true}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":123}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":123}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":"foo"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":"foo"}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":"foo"}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":{}}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":{}}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":[]}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":[]}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":null}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":null}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":false}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":false}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":true}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":true}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":123}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":123}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":"foo"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":"foo"}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":{}}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":{}}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":[]}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":[]}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":null}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":456,"baa":null}
json: error: <stdin>:1:11:           ^
{"faa":456
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":null}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":false}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":456,"baa":false}
json: error: <stdin>:1:11:           ^
{"faa":456
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":false}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":true}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":456,"baa":true}
json: error: <stdin>:1:11:           ^
{"faa":456
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":true}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":123}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":456,"baa":123}
json: error: <stdin>:1:11:           ^
{"faa":456
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":123}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":"foo"}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":456,"baa":"foo"}
json: error: <stdin>:1:11:           ^
{"faa":456
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":"foo"}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":{}}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":456,"baa":{}}
json: error: <stdin>:1:11:           ^
{"faa":456
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":{}}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":[]}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":456,"baa":[]}
json: error: <stdin>:1:11:           ^
{"faa":456
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":[]}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"bar","baa":null}
json: error: <stdin>:1:13:             ^
{"faa":"bar"
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":null}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"bar","baa":false}
json: error: <stdin>:1:13:             ^
{"faa":"bar"
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":false}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"bar","baa":true}
json: error: <stdin>:1:13:             ^
{"faa":"bar"
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":true}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"bar","baa":123}
json: error: <stdin>:1:13:             ^
{"faa":"bar"
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":123}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":"foo"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"bar","baa":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":"bar"
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":"foo"}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"bar","baa":{}}
json: error: <stdin>:1:13:             ^
{"faa":"bar"
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":{}}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"bar","baa":[]}
json: error: <stdin>:1:13:             ^
{"faa":"bar"
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":[]}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":{},"baa":null}
json: error: <stdin>:1:10:          ^
{"faa":{}
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":null}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":false}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":{},"baa":false}
json: error: <stdin>:1:10:          ^
{"faa":{}
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":false}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":true}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":{},"baa":true}
json: error: <stdin>:1:10:          ^
{"faa":{}
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":true}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":123}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":{},"baa":123}
json: error: <stdin>:1:10:          ^
{"faa":{}
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":123}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":"foo"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":{},"baa":"foo"}
json: error: <stdin>:1:10:          ^
{"faa":{}
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":"foo"}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":{}}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":{},"baa":{}}
json: error: <stdin>:1:10:          ^
{"faa":{}
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":{}}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":[]}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":{},"baa":[]}
json: error: <stdin>:1:10:          ^
{"faa":{}
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":[]}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":[],"baa":null}
json: error: <stdin>:1:10:          ^
{"faa":[]
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":null}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":false}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":[],"baa":false}
json: error: <stdin>:1:10:          ^
{"faa":[]
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":false}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":true}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":[],"baa":true}
json: error: <stdin>:1:10:          ^
{"faa":[]
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":true}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":123}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":[],"baa":123}
json: error: <stdin>:1:10:          ^
{"faa":[]
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":123}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":"foo"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":[],"baa":"foo"}
json: error: <stdin>:1:10:          ^
{"faa":[]
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":"foo"}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":{}}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":[],"baa":{}}
json: error: <stdin>:1:10:          ^
{"faa":[]
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":{}}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":[]}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":[],"baa":[]}
json: error: <stdin>:1:10:          ^
{"faa":[]
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":[]}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":[{}],"baa":null}
json: error: <stdin>:1:12:            ^
{"faa":[{}]
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":null}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":[{}],"baa":false}
json: error: <stdin>:1:12:            ^
{"faa":[{}]
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":false}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":[{}],"baa":true}
json: error: <stdin>:1:12:            ^
{"faa":[{}]
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":true}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":[{}],"baa":123}
json: error: <stdin>:1:12:            ^
{"faa":[{}]
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":123}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":"foo"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":[{}],"baa":"foo"}
json: error: <stdin>:1:12:            ^
{"faa":[{}]
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":"foo"}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":[{}],"baa":{}}
json: error: <stdin>:1:12:            ^
{"faa":[{}]
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":{}}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":[{}],"baa":[]}
json: error: <stdin>:1:12:            ^
{"faa":[{}]
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":[]}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":null}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":null}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":false}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":false}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":true}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":true}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":123}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":123}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":"foo"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":"foo"}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":"foo"}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":{}}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":{}}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":[]}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":[]}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":null}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":null}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":false}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":false}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":true}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":true}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":123}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":123}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":"foo"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":"foo"}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":{}}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":{}}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":[]}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":[]}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":null}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":456,"baa":null}
json: error: <stdin>:1:11:           ^
{"faa":456
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":null}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":false}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":456,"baa":false}
json: error: <stdin>:1:11:           ^
{"faa":456
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":false}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":true}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":456,"baa":true}
json: error: <stdin>:1:11:           ^
{"faa":456
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":true}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":123}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":456,"baa":123}
json: error: <stdin>:1:11:           ^
{"faa":456
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":123}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":"foo"}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":456,"baa":"foo"}
json: error: <stdin>:1:11:           ^
{"faa":456
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":"foo"}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":{}}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":456,"baa":{}}
json: error: <stdin>:1:11:           ^
{"faa":456
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":{}}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":[]}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":456,"baa":[]}
json: error: <stdin>:1:11:           ^
{"faa":456
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":[]}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"bar","baa":null}
json: error: <stdin>:1:13:             ^
{"faa":"bar"
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":null}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"bar","baa":false}
json: error: <stdin>:1:13:             ^
{"faa":"bar"
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":false}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"bar","baa":true}
json: error: <stdin>:1:13:             ^
{"faa":"bar"
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":true}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"bar","baa":123}
json: error: <stdin>:1:13:             ^
{"faa":"bar"
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":123}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":"foo"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"bar","baa":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":"bar"
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":"foo"}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"bar","baa":{}}
json: error: <stdin>:1:13:             ^
{"faa":"bar"
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":{}}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"bar","baa":[]}
json: error: <stdin>:1:13:             ^
{"faa":"bar"
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":[]}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":{},"baa":null}
json: error: <stdin>:1:10:          ^
{"faa":{}
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":null}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":false}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":{},"baa":false}
json: error: <stdin>:1:10:          ^
{"faa":{}
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":false}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":true}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":{},"baa":true}
json: error: <stdin>:1:10:          ^
{"faa":{}
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":true}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":123}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":{},"baa":123}
json: error: <stdin>:1:10:          ^
{"faa":{}
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":123}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":"foo"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":{},"baa":"foo"}
json: error: <stdin>:1:10:          ^
{"faa":{}
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":"foo"}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":{}}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":{},"baa":{}}
json: error: <stdin>:1:10:          ^
{"faa":{}
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":{}}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":[]}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":{},"baa":[]}
json: error: <stdin>:1:10:          ^
{"faa":{}
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":[]}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":[],"baa":null}
json: error: <stdin>:1:10:          ^
{"faa":[]
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":null}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":false}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":[],"baa":false}
json: error: <stdin>:1:10:          ^
{"faa":[]
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":false}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":true}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":[],"baa":true}
json: error: <stdin>:1:10:          ^
{"faa":[]
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":true}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":123}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":[],"baa":123}
json: error: <stdin>:1:10:          ^
{"faa":[]
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":123}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":"foo"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":[],"baa":"foo"}
json: error: <stdin>:1:10:          ^
{"faa":[]
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":"foo"}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":{}}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":[],"baa":{}}
json: error: <stdin>:1:10:          ^
{"faa":[]
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":{}}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":[]}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":[],"baa":[]}
json: error: <stdin>:1:10:          ^
{"faa":[]
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":[]}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":[{}],"baa":null}
json: error: <stdin>:1:12:            ^
{"faa":[{}]
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":null}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":[{}],"baa":false}
json: error: <stdin>:1:12:            ^
{"faa":[{}]
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":false}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":[{}],"baa":true}
json: error: <stdin>:1:12:            ^
{"faa":[{}]
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":true}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":[{}],"baa":123}
json: error: <stdin>:1:12:            ^
{"faa":[{}]
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":123}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":"foo"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":[{}],"baa":"foo"}
json: error: <stdin>:1:12:            ^
{"faa":[{}]
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":"foo"}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":[{}],"baa":{}}
json: error: <stdin>:1:12:            ^
{"faa":[{}]
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":{}}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":[{}],"baa":[]}
json: error: <stdin>:1:12:            ^
{"faa":[{}]
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":[]}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":null}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":null}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":false}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":false}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":true}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":true}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":123}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":123}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":"foo"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":"foo"}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":"foo"}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":{}}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":{}}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":[]}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":[]}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":null}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":null}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":false}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":false}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":true}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":true}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":123}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":123}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":"foo"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":"foo"}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":{}}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":{}}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":[]}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":[]}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":null}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":456,"baa":null}
json: error: <stdin>:1:11:           ^
{"faa":456
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":null}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":false}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":456,"baa":false}
json: error: <stdin>:1:11:           ^
{"faa":456
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":false}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":true}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":456,"baa":true}
json: error: <stdin>:1:11:           ^
{"faa":456
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":true}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":123}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":456,"baa":123}
json: error: <stdin>:1:11:           ^
{"faa":456
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":123}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":"foo"}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":456,"baa":"foo"}
json: error: <stdin>:1:11:           ^
{"faa":456
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":"foo"}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":{}}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":456,"baa":{}}
json: error: <stdin>:1:11:           ^
{"faa":456
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":{}}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":[]}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":456,"baa":[]}
json: error: <stdin>:1:11:           ^
{"faa":456
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":[]}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"bar","baa":null}
json: error: <stdin>:1:13:             ^
{"faa":"bar"
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":null}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"bar","baa":false}
json: error: <stdin>:1:13:             ^
{"faa":"bar"
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":false}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"bar","baa":true}
json: error: <stdin>:1:13:             ^
{"faa":"bar"
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":true}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"bar","baa":123}
json: error: <stdin>:1:13:             ^
{"faa":"bar"
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":123}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":"foo"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"bar","baa":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":"bar"
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":"foo"}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"bar","baa":{}}
json: error: <stdin>:1:13:             ^
{"faa":"bar"
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":{}}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"bar","baa":[]}
json: error: <stdin>:1:13:             ^
{"faa":"bar"
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":[]}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":{},"baa":null}
json: error: <stdin>:1:10:          ^
{"faa":{}
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":null}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":false}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":{},"baa":false}
json: error: <stdin>:1:10:          ^
{"faa":{}
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":false}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":true}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":{},"baa":true}
json: error: <stdin>:1:10:          ^
{"faa":{}
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":true}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":123}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":{},"baa":123}
json: error: <stdin>:1:10:          ^
{"faa":{}
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":123}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":"foo"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":{},"baa":"foo"}
json: error: <stdin>:1:10:          ^
{"faa":{}
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":"foo"}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":{}}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":{},"baa":{}}
json: error: <stdin>:1:10:          ^
{"faa":{}
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":{}}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":[]}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":{},"baa":[]}
json: error: <stdin>:1:10:          ^
{"faa":{}
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":[]}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":[],"baa":null}
json: error: <stdin>:1:10:          ^
{"faa":[]
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":null}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":false}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":[],"baa":false}
json: error: <stdin>:1:10:          ^
{"faa":[]
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":false}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":true}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":[],"baa":true}
json: error: <stdin>:1:10:          ^
{"faa":[]
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":true}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":123}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":[],"baa":123}
json: error: <stdin>:1:10:          ^
{"faa":[]
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":123}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":"foo"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":[],"baa":"foo"}
json: error: <stdin>:1:10:          ^
{"faa":[]
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":"foo"}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":{}}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":[],"baa":{}}
json: error: <stdin>:1:10:          ^
{"faa":[]
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":{}}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":[]}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":[],"baa":[]}
json: error: <stdin>:1:10:          ^
{"faa":[]
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":[]}'
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":null}'
{"faa":[{}],"baa":null}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":false}'
{"faa":[{}],"baa":false}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":true}'
{"faa":[{}],"baa":true}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":123}'
{"faa":[{}],"baa":123}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":"foo"}'
{"faa":[{}],"baa":"foo"}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":{}}'
{"faa":[{}],"baa":{}}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":[]}'
{"faa":[{}],"baa":[]}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":null}'
{"faa":null,"baa":null}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":false}'
{"faa":null,"baa":false}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":true}'
{"faa":null,"baa":true}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":123}'
{"faa":null,"baa":123}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":"foo"}'
{"faa":null,"baa":"foo"}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":{}}'
{"faa":null,"baa":{}}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":[]}'
{"faa":null,"baa":[]}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":null}'
{"faa":false,"baa":null}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":false}'
{"faa":false,"baa":false}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":true}'
{"faa":false,"baa":true}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":123}'
{"faa":false,"baa":123}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":"foo"}'
{"faa":false,"baa":"foo"}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":{}}'
{"faa":false,"baa":{}}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":[]}'
{"faa":false,"baa":[]}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":null}'
{"faa":456,"baa":null}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":false}'
{"faa":456,"baa":false}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":true}'
{"faa":456,"baa":true}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":123}'
{"faa":456,"baa":123}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":"foo"}'
{"faa":456,"baa":"foo"}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":{}}'
{"faa":456,"baa":{}}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":[]}'
{"faa":456,"baa":[]}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":null}'
{"faa":"bar","baa":null}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":false}'
{"faa":"bar","baa":false}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":true}'
{"faa":"bar","baa":true}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":123}'
{"faa":"bar","baa":123}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":"foo"}'
{"faa":"bar","baa":"foo"}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":{}}'
{"faa":"bar","baa":{}}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":[]}'
{"faa":"bar","baa":[]}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":null}'
{"faa":{},"baa":null}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":false}'
{"faa":{},"baa":false}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":true}'
{"faa":{},"baa":true}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":123}'
{"faa":{},"baa":123}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":"foo"}'
{"faa":{},"baa":"foo"}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":{}}'
{"faa":{},"baa":{}}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":[]}'
{"faa":{},"baa":[]}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":null}'
{"faa":[],"baa":null}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":false}'
{"faa":[],"baa":false}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":true}'
{"faa":[],"baa":true}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":123}'
{"faa":[],"baa":123}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":"foo"}'
{"faa":[],"baa":"foo"}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":{}}'
{"faa":[],"baa":{}}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":[]}'
{"faa":[],"baa":[]}
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":[{}],"baa":null}
json: error: <stdin>:1:12:            ^
{"faa":[{}]
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":null}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":[{}],"baa":false}
json: error: <stdin>:1:12:            ^
{"faa":[{}]
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":false}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":[{}],"baa":true}
json: error: <stdin>:1:12:            ^
{"faa":[{}]
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":true}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":[{}],"baa":123}
json: error: <stdin>:1:12:            ^
{"faa":[{}]
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":123}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":"foo"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":[{}],"baa":"foo"}
json: error: <stdin>:1:12:            ^
{"faa":[{}]
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":"foo"}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":[{}],"baa":{}}
json: error: <stdin>:1:12:            ^
{"faa":[{}]
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":{}}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":[{}],"baa":[]}
json: error: <stdin>:1:12:            ^
{"faa":[{}]
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"faa":[{}],"baa":[]}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":null}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":null}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":false}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":false}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":true}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":true}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":123}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":123}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":"foo"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":"foo"}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":"foo"}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":{}}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":{}}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":[]}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"faa":null,"baa":[]}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":null}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":null}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":false}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":false}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":true}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":true}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":123}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":123}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":"foo"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":"foo"}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":{}}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":{}}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":[]}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"faa":false,"baa":[]}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":null}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":456,"baa":null}
json: error: <stdin>:1:11:           ^
{"faa":456
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":null}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":false}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":456,"baa":false}
json: error: <stdin>:1:11:           ^
{"faa":456
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":false}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":true}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":456,"baa":true}
json: error: <stdin>:1:11:           ^
{"faa":456
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":true}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":123}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":456,"baa":123}
json: error: <stdin>:1:11:           ^
{"faa":456
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":123}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":"foo"}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":456,"baa":"foo"}
json: error: <stdin>:1:11:           ^
{"faa":456
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":"foo"}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":{}}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":456,"baa":{}}
json: error: <stdin>:1:11:           ^
{"faa":456
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":{}}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":[]}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":456,"baa":[]}
json: error: <stdin>:1:11:           ^
{"faa":456
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"faa":456,"baa":[]}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"bar","baa":null}
json: error: <stdin>:1:13:             ^
{"faa":"bar"
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":null}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"bar","baa":false}
json: error: <stdin>:1:13:             ^
{"faa":"bar"
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":false}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"bar","baa":true}
json: error: <stdin>:1:13:             ^
{"faa":"bar"
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":true}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"bar","baa":123}
json: error: <stdin>:1:13:             ^
{"faa":"bar"
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":123}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":"foo"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"bar","baa":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":"bar"
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":"foo"}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"bar","baa":{}}
json: error: <stdin>:1:13:             ^
{"faa":"bar"
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":{}}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"bar","baa":[]}
json: error: <stdin>:1:13:             ^
{"faa":"bar"
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"faa":"bar","baa":[]}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":{},"baa":null}
json: error: <stdin>:1:10:          ^
{"faa":{}
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":null}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":false}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":{},"baa":false}
json: error: <stdin>:1:10:          ^
{"faa":{}
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":false}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":true}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":{},"baa":true}
json: error: <stdin>:1:10:          ^
{"faa":{}
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":true}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":123}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":{},"baa":123}
json: error: <stdin>:1:10:          ^
{"faa":{}
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":123}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":"foo"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":{},"baa":"foo"}
json: error: <stdin>:1:10:          ^
{"faa":{}
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":"foo"}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":{}}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":{},"baa":{}}
json: error: <stdin>:1:10:          ^
{"faa":{}
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":{}}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":[]}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":{},"baa":[]}
json: error: <stdin>:1:10:          ^
{"faa":{}
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"faa":{},"baa":[]}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":[],"baa":null}
json: error: <stdin>:1:10:          ^
{"faa":[]
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":null}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":false}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":[],"baa":false}
json: error: <stdin>:1:10:          ^
{"faa":[]
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":false}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":true}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":[],"baa":true}
json: error: <stdin>:1:10:          ^
{"faa":[]
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":true}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":123}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":[],"baa":123}
json: error: <stdin>:1:10:          ^
{"faa":[]
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":123}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":"foo"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":[],"baa":"foo"}
json: error: <stdin>:1:10:          ^
{"faa":[]
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":"foo"}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":{}}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":[],"baa":{}}
json: error: <stdin>:1:10:          ^
{"faa":[]
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":{}}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":[]}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"faa":[],"baa":[]}
json: error: <stdin>:1:10:          ^
{"faa":[]
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"faa":[],"baa":[]}'
$

--[ list-basic-object-plain-val-basic ]-----------------------------------------

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

--[ list-basic-object-plain-val-object-empty ]----------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for p in null false true 123 '"foo"'; do T='{"type":"list","args":["'"$t"'",{"type":"object","args":[{"name":"faa","type":{"plain":'"$p"'}}]}]}'; c="json -d '$T' <<< '{}'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{}'
{}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{}'
{}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{}'
{}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{}'
{}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{}'
{}
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":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":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{}'
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":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{}'
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":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{}'
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":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{}'
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":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":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":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{}'
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":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{}'
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":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{}'
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":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{}'
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":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":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":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{}'
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":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{}'
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":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{}'
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":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{}'
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":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":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":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{}'
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":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{}'
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":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{}'
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":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{}'
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":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{}'
{}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{}'
{}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{}'
{}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{}'
{}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{}'
{}
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":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":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{}'
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":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{}'
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":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{}'
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":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{}'
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":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{}'
$

--[ list-basic-object-plain-val-object-basic ]----------------------------------

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

--[ list-basic-object-plain-val-object-basic2 ]---------------------------------

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

--[ list-basic-object-plain-val-object-basic-basic ]----------------------------

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

--[ list-basic-object-plain-val-object-basic-basic2 ]---------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for p in null false true 123 '"foo"'; do for v in null false true 123 456 '"foo"' '"bar"' '{}' '[]'; do T='{"type":"list","args":["'"$t"'",{"type":"object","args":[{"name":"faa","type":{"plain":'"$p"'}}]}]}'; c="json -d '$T' <<< '{\"faa\":$p,\"baa\":$v}'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":null}'
{"faa":null,"baa":null}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":false}'
{"faa":null,"baa":false}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":true}'
{"faa":null,"baa":true}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":123}'
{"faa":null,"baa":123}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":456}'
{"faa":null,"baa":456}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":"foo"}'
{"faa":null,"baa":"foo"}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":"bar"}'
{"faa":null,"baa":"bar"}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":{}}'
{"faa":null,"baa":{}}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":[]}'
{"faa":null,"baa":[]}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":null}'
{"faa":false,"baa":null}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":false}'
{"faa":false,"baa":false}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":true}'
{"faa":false,"baa":true}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":123}'
{"faa":false,"baa":123}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":456}'
{"faa":false,"baa":456}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":"foo"}'
{"faa":false,"baa":"foo"}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":"bar"}'
{"faa":false,"baa":"bar"}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":{}}'
{"faa":false,"baa":{}}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":[]}'
{"faa":false,"baa":[]}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":null}'
{"faa":true,"baa":null}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":false}'
{"faa":true,"baa":false}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":true}'
{"faa":true,"baa":true}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":123}'
{"faa":true,"baa":123}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":456}'
{"faa":true,"baa":456}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":"foo"}'
{"faa":true,"baa":"foo"}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":"bar"}'
{"faa":true,"baa":"bar"}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":{}}'
{"faa":true,"baa":{}}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":[]}'
{"faa":true,"baa":[]}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":null}'
{"faa":123,"baa":null}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":false}'
{"faa":123,"baa":false}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":true}'
{"faa":123,"baa":true}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":123}'
{"faa":123,"baa":123}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":456}'
{"faa":123,"baa":456}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":"foo"}'
{"faa":123,"baa":"foo"}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":"bar"}'
{"faa":123,"baa":"bar"}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":{}}'
{"faa":123,"baa":{}}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":[]}'
{"faa":123,"baa":[]}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":null}'
{"faa":"foo","baa":null}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":false}'
{"faa":"foo","baa":false}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":true}'
{"faa":"foo","baa":true}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":123}'
{"faa":"foo","baa":123}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":456}'
{"faa":"foo","baa":456}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":"foo"}'
{"faa":"foo","baa":"foo"}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":"bar"}'
{"faa":"foo","baa":"bar"}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":{}}'
{"faa":"foo","baa":{}}
$ json -d '{"type":"list","args":["type",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":[]}'
{"faa":"foo","baa":[]}
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":null}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":null}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":false}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":false}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":true}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":true}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":123}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":123}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":456}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":456}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":456}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":"foo"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":"foo"}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":"foo"}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":"bar"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":"bar"}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":"bar"}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":{}}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":{}}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":[]}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":[]}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":null}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":null}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":false}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":false}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":true}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":true}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":123}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":123}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":456}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":456}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":456}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":"foo"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":"foo"}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":"bar"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":"bar"}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":"bar"}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":{}}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":{}}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":[]}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":[]}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":null}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":null}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":false}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":false}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":true}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":true}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":123}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":123}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":456}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":456}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":456}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":"foo"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":"foo"}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":"foo"}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":"bar"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":"bar"}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":"bar"}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":{}}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":{}}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":[]}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":[]}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":null}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":null}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":null}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":false}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":false}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":false}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":true}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":true}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":true}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":123}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":123}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":123}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":456}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":456}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":456}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":"foo"}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":"foo"}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":"foo"}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":"bar"}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":"bar"}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":"bar"}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":{}}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":{}}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":{}}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":[]}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":[]}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":[]}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":null}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":null}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":false}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":false}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":true}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":true}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":123}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":123}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":456}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":456}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":456}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":"foo"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":"foo"}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":"bar"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":"bar"}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":"bar"}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":{}}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":{}}'
$ json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":[]}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":["null",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":[]}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":null}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":null}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":false}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":false}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":true}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":true}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":123}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":123}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":456}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":456}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":456}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":"foo"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":"foo"}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":"foo"}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":"bar"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":"bar"}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":"bar"}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":{}}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":{}}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":[]}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":[]}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":null}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":null}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":false}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":false}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":true}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":true}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":123}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":123}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":456}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":456}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":456}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":"foo"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":"foo"}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":"bar"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":"bar"}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":"bar"}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":{}}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":{}}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":[]}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":[]}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":null}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":null}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":false}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":false}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":true}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":true}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":123}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":123}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":456}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":456}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":456}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":"foo"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":"foo"}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":"foo"}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":"bar"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":"bar"}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":"bar"}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":{}}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":{}}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":[]}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":[]}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":null}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":null}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":null}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":false}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":false}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":false}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":true}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":true}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":true}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":123}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":123}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":123}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":456}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":456}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":456}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":"foo"}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":"foo"}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":"foo"}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":"bar"}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":"bar"}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":"bar"}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":{}}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":{}}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":{}}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":[]}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":[]}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":[]}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":null}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":null}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":false}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":false}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":true}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":true}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":123}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":123}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":456}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":456}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":456}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":"foo"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":"foo"}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":"bar"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":"bar"}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":"bar"}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":{}}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":{}}'
$ json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":[]}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":["boolean",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":[]}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":null}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":null}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":false}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":false}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":true}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":true}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":123}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":123}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":456}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":456}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":456}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":"foo"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":"foo"}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":"foo"}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":"bar"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":"bar"}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":"bar"}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":{}}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":{}}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":[]}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":[]}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":null}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":null}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":false}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":false}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":true}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":true}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":123}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":123}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":456}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":456}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":456}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":"foo"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":"foo"}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":"bar"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":"bar"}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":"bar"}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":{}}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":{}}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":[]}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":[]}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":null}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":null}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":false}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":false}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":true}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":true}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":123}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":123}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":456}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":456}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":456}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":"foo"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":"foo"}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":"foo"}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":"bar"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":"bar"}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":"bar"}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":{}}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":{}}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":[]}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":[]}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":null}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":null}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":null}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":false}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":false}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":false}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":true}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":true}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":true}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":123}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":123}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":123}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":456}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":456}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":456}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":"foo"}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":"foo"}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":"foo"}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":"bar"}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":"bar"}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":"bar"}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":{}}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":{}}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":{}}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":[]}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":[]}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":[]}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":null}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":null}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":false}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":false}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":true}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":true}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":123}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":123}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":456}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":456}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":456}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":"foo"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":"foo"}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":"bar"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":"bar"}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":"bar"}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":{}}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":{}}'
$ json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":[]}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":["number",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":[]}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":null}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":null}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":false}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":false}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":true}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":true}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":123}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":123}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":456}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":456}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":456}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":"foo"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":"foo"}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":"foo"}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":"bar"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":"bar"}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":"bar"}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":{}}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":{}}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":[]}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":[]}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":null}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":null}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":false}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":false}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":true}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":true}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":123}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":123}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":456}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":456}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":456}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":"foo"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":"foo"}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":"bar"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":"bar"}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":"bar"}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":{}}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":{}}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":[]}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":[]}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":null}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":null}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":false}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":false}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":true}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":true}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":123}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":123}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":456}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":456}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":456}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":"foo"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":"foo"}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":"foo"}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":"bar"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":"bar"}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":"bar"}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":{}}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":{}}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":[]}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":[]}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":null}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":null}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":null}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":false}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":false}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":false}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":true}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":true}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":true}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":123}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":123}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":123}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":456}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":456}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":456}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":"foo"}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":"foo"}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":"foo"}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":"bar"}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":"bar"}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":"bar"}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":{}}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":{}}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":{}}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":[]}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":[]}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":[]}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":null}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":null}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":false}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":false}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":true}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":true}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":123}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":123}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":456}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":456}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":456}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":"foo"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":"foo"}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":"bar"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":"bar"}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":"bar"}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":{}}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":{}}'
$ json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":[]}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":["string",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":[]}'
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":null}'
{"faa":null,"baa":null}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":false}'
{"faa":null,"baa":false}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":true}'
{"faa":null,"baa":true}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":123}'
{"faa":null,"baa":123}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":456}'
{"faa":null,"baa":456}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":"foo"}'
{"faa":null,"baa":"foo"}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":"bar"}'
{"faa":null,"baa":"bar"}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":{}}'
{"faa":null,"baa":{}}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":[]}'
{"faa":null,"baa":[]}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":null}'
{"faa":false,"baa":null}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":false}'
{"faa":false,"baa":false}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":true}'
{"faa":false,"baa":true}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":123}'
{"faa":false,"baa":123}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":456}'
{"faa":false,"baa":456}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":"foo"}'
{"faa":false,"baa":"foo"}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":"bar"}'
{"faa":false,"baa":"bar"}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":{}}'
{"faa":false,"baa":{}}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":[]}'
{"faa":false,"baa":[]}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":null}'
{"faa":true,"baa":null}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":false}'
{"faa":true,"baa":false}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":true}'
{"faa":true,"baa":true}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":123}'
{"faa":true,"baa":123}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":456}'
{"faa":true,"baa":456}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":"foo"}'
{"faa":true,"baa":"foo"}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":"bar"}'
{"faa":true,"baa":"bar"}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":{}}'
{"faa":true,"baa":{}}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":[]}'
{"faa":true,"baa":[]}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":null}'
{"faa":123,"baa":null}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":false}'
{"faa":123,"baa":false}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":true}'
{"faa":123,"baa":true}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":123}'
{"faa":123,"baa":123}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":456}'
{"faa":123,"baa":456}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":"foo"}'
{"faa":123,"baa":"foo"}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":"bar"}'
{"faa":123,"baa":"bar"}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":{}}'
{"faa":123,"baa":{}}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":[]}'
{"faa":123,"baa":[]}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":null}'
{"faa":"foo","baa":null}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":false}'
{"faa":"foo","baa":false}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":true}'
{"faa":"foo","baa":true}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":123}'
{"faa":"foo","baa":123}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":456}'
{"faa":"foo","baa":456}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":"foo"}'
{"faa":"foo","baa":"foo"}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":"bar"}'
{"faa":"foo","baa":"bar"}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":{}}'
{"faa":"foo","baa":{}}
$ json -d '{"type":"list","args":["object",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":[]}'
{"faa":"foo","baa":[]}
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":null}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":null}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":false}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":false}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":true}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":true}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":123}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":123}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":456}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":456}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":456}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":"foo"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":"foo"}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":"foo"}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":"bar"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":"bar"}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":"bar"}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":{}}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":{}}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":[]}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":[]}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":null}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":null}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":false}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":false}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":true}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":true}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":123}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":123}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":456}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":456}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":456}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":"foo"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":"foo"}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":"bar"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":"bar"}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":"bar"}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":{}}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":{}}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":[]}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":[]}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":null}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":null}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":false}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":false}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":true}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":true}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":123}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":123}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":456}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":456}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":456}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":"foo"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":"foo"}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":"foo"}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":"bar"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":"bar"}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":"bar"}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":{}}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":{}}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":[]}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":[]}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":null}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":null}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":null}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":false}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":false}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":false}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":true}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":true}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":true}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":123}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":123}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":123}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":456}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":456}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":456}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":"foo"}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":"foo"}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":"foo"}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":"bar"}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":"bar"}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":"bar"}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":{}}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":{}}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":{}}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":[]}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":[]}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":[]}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":null}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":null}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":false}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":false}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":true}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":true}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":123}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":123}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":456}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":456}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":456}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":"foo"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":"foo"}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":"bar"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":"bar"}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":"bar"}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":{}}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":{}}'
$ json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":[]}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":["array",{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":[]}'
$

--[ list-plain-object-basic-val-basic ]-----------------------------------------

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

--[ list-plain-object-basic-val-object-empty ]----------------------------------

#
# # meta command:
# $ for p in null false true 123 '"foo"'; do for t in type null boolean number string object array; do T='{"type":"list","args":[{"plain":'"$p"'},{"type":"object","args":[{"name":"faa","type":"'"$t"'"}]}]}'; c="json -d '$T' <<< '[]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","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":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","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":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","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":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","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":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","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":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","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":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","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":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","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":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","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":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","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":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","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":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","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":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","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":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","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":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","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":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","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":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","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":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","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":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","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":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","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":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","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":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","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":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","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":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","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":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","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":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","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":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","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":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","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":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","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":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","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":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","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":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","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":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","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":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","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":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","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":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{}'
$

--[ list-plain-object-basic-val-object-basic ]----------------------------------

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

--[ list-plain-object-basic-val-object-basic2 ]---------------------------------

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

--[ list-plain-object-basic-val-object-basic-basic ]----------------------------

#
# # meta command:
# $ for p in null false true 123 '"foo"'; do for t in type null boolean number string object array; do for v in null false true 123 456 '"foo"' '"bar"' '{}' '[]'; do case "$t" in type) v0='[{}]';; null) v0='null';; boolean) v0='false';; number) v0='789';; string) v0='"baz"';; object) v0='{}';; array) v0='[]';; esac; T='{"type":"list","args":[{"plain":'"$p"'},{"type":"object","args":[{"name":"faa","type":"'"$t"'"}]}]}'; c="json -d '$T' <<< '{\"fuu\":$v0,\"baa\":$v}'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":null}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":false}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":true}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":123}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":456}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":null}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":false}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":true}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":123}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":456}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":null}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":false}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":true}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":123}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":456}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":789,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":null}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":789,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":false}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":789,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":true}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":789,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":123}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":789,"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":456}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":789,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":789,"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":789,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":789,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"baz","baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":null}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"baz","baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":false}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"baz","baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":true}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"baz","baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":123}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"baz","baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":456}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"baz","baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"baz","baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"baz","baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":{}}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"baz","baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":[]}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":null}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":false}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":true}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":123}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":456}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":null}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":false}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":true}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":123}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":456}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":null}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":false}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":true}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":123}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":456}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":null}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":false}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":true}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":123}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":456}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":null}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":false}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":true}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":123}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":456}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":789,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":null}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":789,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":false}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":789,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":true}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":789,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":123}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":789,"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":456}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":789,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":789,"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":789,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":789,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"baz","baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":null}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"baz","baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":false}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"baz","baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":true}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"baz","baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":123}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"baz","baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":456}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"baz","baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"baz","baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"baz","baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":{}}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"baz","baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":[]}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":null}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":false}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":true}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":123}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":456}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":null}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":false}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":true}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":123}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":456}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":null}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":false}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":true}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":123}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":456}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":null}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":false}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":true}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":123}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":456}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":null}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":false}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":true}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":123}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":456}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":789,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":null}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":789,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":false}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":789,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":true}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":789,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":123}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":789,"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":456}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":789,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":789,"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":789,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":789,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"baz","baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":null}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"baz","baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":false}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"baz","baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":true}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"baz","baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":123}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"baz","baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":456}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"baz","baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"baz","baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"baz","baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":{}}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"baz","baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":[]}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":null}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":false}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":true}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":123}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":456}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":null}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":false}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":true}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":123}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":456}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":null}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":false}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":true}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":123}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":456}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":null}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":false}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":true}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":123}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":456}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":null}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":false}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":true}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":123}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":456}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":789,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":null}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":789,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":false}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":789,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":true}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":789,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":123}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":789,"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":456}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":789,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":789,"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":789,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":789,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"baz","baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":null}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"baz","baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":false}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"baz","baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":true}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"baz","baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":123}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"baz","baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":456}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"baz","baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"baz","baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"baz","baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":{}}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"baz","baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":[]}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":null}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":false}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":true}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":123}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":456}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":null}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":false}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":true}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":123}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":456}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":null}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":false}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":true}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":123}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":456}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[{}],"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"type"}]}]}' <<< '{"fuu":[{}],"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":null}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":false}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":true}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":123}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":456}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"null"}]}]}' <<< '{"fuu":null,"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":null}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":false}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":true}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":123}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":456}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"boolean"}]}]}' <<< '{"fuu":false,"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":789,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":null}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":789,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":false}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":789,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":true}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":789,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":123}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":789,"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":456}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":789,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":789,"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":789,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":789,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"number"}]}]}' <<< '{"fuu":789,"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"baz","baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":null}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"baz","baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":false}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"baz","baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":true}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"baz","baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":123}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"baz","baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":456}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"baz","baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"baz","baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"baz","baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":{}}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"baz","baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"string"}]}]}' <<< '{"fuu":"baz","baa":[]}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":null}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":false}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":true}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":123}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":456}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{},"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"object"}]}]}' <<< '{"fuu":{},"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":null}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":false}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":true}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":123}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":456}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[],"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":"array"}]}]}' <<< '{"fuu":[],"baa":[]}'
$

--[ list-plain-object-basic-val-object-basic-basic2 ]---------------------------

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

--[ list-plain-object-plain-val-basic ]-----------------------------------------

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

--[ list-plain-object-plain-val-array-empty ]-----------------------------------

#
# # meta command:
# $ for p in null false true 123 '"foo"'; do for p2 in null false true 123 '"foo"'; do T='{"type":"list","args":[{"plain":'"$p"'},{"type":"object","args":[{"name":"faa","type":{"plain":'"$p2"'}}]}]}'; c="json -d '$T' <<< '{}'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":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":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{}'
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":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{}'
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":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{}'
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":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{}'
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":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":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":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{}'
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":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{}'
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":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{}'
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":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{}'
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":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":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":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{}'
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":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{}'
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":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{}'
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":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{}'
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":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":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":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{}'
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":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{}'
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":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{}'
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":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{}'
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":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":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":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{}'
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":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{}'
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":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{}'
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":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{}'
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":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{}'
$

--[ list-plain-object-plain-val-object-basic ]----------------------------------

#
# # meta command:
# $ for p in null false true 123 '"foo"'; do for p2 in null false true 123 '"foo"'; do for v in null false true 123 456 '"foo"' '"bar"' '{}' '[]'; do T='{"type":"list","args":[{"plain":'"$p"'},{"type":"object","args":[{"name":"faa","type":{"plain":'"$p2"'}}]}]}'; c="json -d '$T' <<< '{\"fuu\":$v}'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":456}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":456}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":456}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":456}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":456}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":456}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":456}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":456}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":456}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":456}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":456}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":456}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":456}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":456}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":456}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":456}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":456}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":456}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":456}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":456}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":456}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":456}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":456}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":456}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":456}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo"}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":[]}'
$

--[ list-plain-object-plain-val-object-basic2 ]---------------------------------

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

--[ list-plain-object-plain-val-object-basic-basic ]----------------------------

#
# # meta command:
# $ for p in null false true 123 '"foo"'; do for p2 in null false true 123 '"foo"'; do for v in null false true 123 456 '"foo"' '"bar"' '{}' '[]'; do T='{"type":"list","args":[{"plain":'"$p"'},{"type":"object","args":[{"name":"faa","type":{"plain":'"$p2"'}}]}]}'; c="json -d '$T' <<< '{\"fuu\":$p2,\"baa\":$v}'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":null}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":false}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":true}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":123}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":456}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":null}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":false}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":true}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":123}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":456}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":null}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":false}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":true}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":123}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true,"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":456}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true,"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":null}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":false}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":true}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":123}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123,"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":456}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123,"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo","baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":null}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo","baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":false}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo","baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":true}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo","baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":123}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo","baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":456}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo","baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo","baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo","baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":{}}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo","baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":[]}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":null}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":false}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":true}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":123}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":456}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":null}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":false}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":true}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":123}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":456}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":null}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":false}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":true}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":123}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true,"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":456}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true,"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":null}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":false}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":true}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":123}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123,"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":456}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123,"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo","baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":null}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo","baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":false}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo","baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":true}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo","baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":123}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo","baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":456}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo","baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo","baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo","baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":{}}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo","baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":[]}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":null}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":false}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":true}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":123}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":456}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":null}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":false}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":true}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":123}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":456}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":null}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":false}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":true}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":123}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true,"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":456}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true,"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":null}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":false}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":true}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":123}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123,"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":456}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123,"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo","baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":null}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo","baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":false}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo","baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":true}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo","baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":123}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo","baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":456}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo","baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo","baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo","baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":{}}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo","baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":[]}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":null}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":false}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":true}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":123}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":456}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":null}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":false}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":true}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":123}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":456}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":null}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":false}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":true}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":123}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true,"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":456}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true,"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":null}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":false}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":true}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":123}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123,"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":456}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123,"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo","baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":null}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo","baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":false}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo","baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":true}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo","baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":123}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo","baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":456}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo","baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo","baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo","baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":{}}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo","baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":[]}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":null}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":false}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":true}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":123}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":456}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":null,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"fuu":null,"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":null}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":false}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":true}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":123}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":456}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":false,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"fuu":false,"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":null}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":false}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":true}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":123}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true,"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":456}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true,"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":true,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"fuu":true,"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123,"baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":null}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123,"baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":false}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123,"baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":true}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123,"baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":123}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123,"baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":456}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123,"baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123,"baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123,"baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":123,"baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"fuu":123,"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo","baa":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":null}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo","baa":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":false}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo","baa":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":true}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo","baa":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":123}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":456}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo","baa":456}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":456}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":"foo"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo","baa":"foo"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo","baa":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo","baa":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":{}}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:2: {"fuu":"foo","baa":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"fuu":"foo","baa":[]}'
$

--[ list-plain-object-plain-val-object-basic-basic2 ]---------------------------

#
# # meta command:
# $ for p in null false true 123 '"foo"'; do for p2 in null false true 123 '"foo"'; do for v in null false true 123 456 '"foo"' '"bar"' '{}' '[]'; do T='{"type":"list","args":[{"plain":'"$p"'},{"type":"object","args":[{"name":"faa","type":{"plain":'"$p2"'}}]}]}'; c="json -d '$T' <<< '{\"faa\":$p2,\"baa\":$v}'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":null}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":null}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":false}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":false}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":true}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":true}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":123}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":123}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":456}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":456}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":456}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":"foo"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":"foo"}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":"bar"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":"bar"}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":{}}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":[]}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":null}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":null}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":false}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":false}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":true}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":true}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":123}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":123}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":456}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":456}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":456}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":"foo"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":"bar"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":"bar"}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":{}}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":[]}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":null}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":null}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":false}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":false}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":true}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":true}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":123}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":123}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":456}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":456}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":456}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":"foo"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":"foo"}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":"bar"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":"bar"}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":{}}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":[]}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":null}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":null}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":null}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":false}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":false}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":false}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":true}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":true}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":true}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":123}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":123}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":123}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":456}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":456}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":456}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":"foo"}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":"foo"}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":"bar"}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":"bar"}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":{}}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":{}}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":[]}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":[]}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":null}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":null}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":false}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":false}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":true}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":true}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":123}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":123}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":456}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":456}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":456}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":"foo"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":"bar"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":"bar"}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":{}}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":{}}'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":[]}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":[]}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":null}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":null}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":false}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":false}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":true}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":true}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":123}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":123}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":456}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":456}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":456}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":"foo"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":"foo"}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":"bar"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":"bar"}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":{}}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":[]}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":null}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":null}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":false}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":false}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":true}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":true}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":123}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":123}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":456}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":456}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":456}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":"foo"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":"bar"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":"bar"}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":{}}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":[]}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":null}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":null}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":false}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":false}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":true}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":true}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":123}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":123}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":456}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":456}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":456}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":"foo"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":"foo"}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":"bar"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":"bar"}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":{}}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":[]}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":null}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":null}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":null}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":false}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":false}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":false}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":true}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":true}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":true}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":123}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":123}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":123}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":456}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":456}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":456}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":"foo"}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":"foo"}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":"bar"}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":"bar"}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":{}}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":{}}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":[]}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":[]}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":null}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":null}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":false}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":false}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":true}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":true}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":123}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":123}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":456}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":456}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":456}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":"foo"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":"bar"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":"bar"}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":{}}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":{}}'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":[]}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":[]}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":null}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":null}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":false}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":false}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":true}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":true}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":123}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":123}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":456}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":456}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":456}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":"foo"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":"foo"}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":"bar"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":"bar"}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":{}}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":[]}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":null}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":null}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":false}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":false}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":true}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":true}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":123}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":123}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":456}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":456}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":456}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":"foo"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":"bar"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":"bar"}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":{}}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":[]}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":null}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":null}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":false}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":false}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":true}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":true}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":123}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":123}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":456}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":456}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":456}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":"foo"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":"foo"}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":"bar"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":"bar"}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":{}}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":[]}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":null}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":null}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":null}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":false}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":false}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":false}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":true}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":true}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":true}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":123}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":123}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":123}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":456}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":456}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":456}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":"foo"}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":"foo"}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":"bar"}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":"bar"}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":{}}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":{}}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":[]}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":[]}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":null}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":null}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":false}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":false}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":true}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":true}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":123}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":123}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":456}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":456}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":456}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":"foo"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":"bar"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":"bar"}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":{}}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":{}}'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":[]}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":[]}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":null}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":null}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":false}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":false}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":true}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":true}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":123}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":123}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":456}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":456}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":456}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":"foo"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":"foo"}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":"bar"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":"bar"}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":{}}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":[]}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":null}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":null}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":false}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":false}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":true}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":true}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":123}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":123}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":456}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":456}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":456}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":"foo"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":"bar"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":"bar"}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":{}}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":[]}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":null}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":null}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":false}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":false}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":true}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":true}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":123}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":123}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":456}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":456}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":456}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":"foo"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":"foo"}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":"bar"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":"bar"}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":{}}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":[]}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":null}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":null}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":null}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":false}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":false}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":false}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":true}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":true}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":true}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":123}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":123}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":123}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":456}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":456}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":456}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":"foo"}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":"foo"}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":"bar"}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":"bar"}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":{}}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":{}}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":[]}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":[]}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":null}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":null}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":false}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":false}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":true}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":true}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":123}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":123}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":456}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":456}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":456}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":"foo"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":"bar"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":"bar"}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":{}}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":{}}'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":[]}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":[]}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":null}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":null}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":false}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":false}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":true}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":true}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":123}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":123}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":456}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":456}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":456}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":"foo"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":"foo"}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":"bar"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":"bar"}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":{}}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":null,"baa":[]}
json: error: <stdin>:1:12:            ^
{"faa":null
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":null}}]}]}' <<< '{"faa":null,"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":null}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":null}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":false}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":false}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":true}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":true}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":123}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":123}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":456}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":456}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":456}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":"foo"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":"bar"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":"bar"}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":{}}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":false,"baa":[]}
json: error: <stdin>:1:13:             ^
{"faa":false
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":false}}]}]}' <<< '{"faa":false,"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":null}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":null}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":false}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":false}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":true}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":true}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":123}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":123}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":456}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":456}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":456}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":"foo"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":"foo"}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":"bar"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":"bar"}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":{}}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"faa":true,"baa":[]}
json: error: <stdin>:1:12:            ^
{"faa":true
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":true}}]}]}' <<< '{"faa":true,"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":null}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":null}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":null}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":false}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":false}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":false}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":true}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":true}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":true}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":123}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":123}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":123}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":456}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":456}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":456}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":"foo"}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":"foo"}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":"bar"}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":"bar"}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":{}}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":{}}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":{}}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":[]}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"faa":123,"baa":[]}
json: error: <stdin>:1:11:           ^
{"faa":123
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":123}}]}]}' <<< '{"faa":123,"baa":[]}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":null}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":null}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":false}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":false}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":true}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":true}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":123}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":123}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":456}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":456}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":456}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":"foo"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":"foo"}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":"foo"}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":"bar"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":"bar"}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":"bar"}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":{}}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":{}}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"faa":"foo","baa":[]}
json: error: <stdin>:1:13:             ^
{"faa":"foo"
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"object","args":[{"name":"faa","type":{"plain":"foo"}}]}]}' <<< '{"faa":"foo","baa":[]}'
$

--[ list-object-foo-basic-object-foo-basic-val-basic ]--------------------------

#
# # 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 '"bar"' '{}' '[]'; do T='{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"'"$t"'"}]},{"type":"object","args":[{"name":"foo","type":"'"$t2"'"}]}]}'; c="json -d '$T' <<< '$v'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< 'null'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< 'false'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< 'true'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '123'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '"bar"'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '[]'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< 'null'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< 'false'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< 'true'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '123'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '"bar"'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '[]'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< 'null'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< 'false'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< 'true'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '123'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '"bar"'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '[]'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< 'null'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< 'false'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< 'true'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '123'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '"bar"'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '[]'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< 'null'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< 'false'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< 'true'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '123'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '"bar"'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '[]'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< 'null'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< 'false'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< 'true'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '123'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '"bar"'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '[]'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< 'null'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< 'false'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< 'true'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '123'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '"bar"'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '[]'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"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":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"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":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"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":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"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":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"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":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< 'null'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< 'false'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< 'true'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '123'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '"bar"'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '[]'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"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":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"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":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"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":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"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":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"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":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< 'null'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< 'false'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< 'true'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '123'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '"bar"'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '[]'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"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":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"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":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"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":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"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":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"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":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< 'null'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< 'false'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< 'true'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '123'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '"bar"'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '[]'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"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":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"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":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"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":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"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":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"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":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< 'null'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< 'false'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< 'true'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '123'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '"bar"'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '[]'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"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":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"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":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"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":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"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":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"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":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< 'null'
json: error: <text>:1:127: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< 'false'
json: error: <text>:1:127: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< 'true'
json: error: <text>:1:127: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '123'
json: error: <text>:1:127: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '"bar"'
json: error: <text>:1:127: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{}'
json: error: <text>:1:127: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '[]'
json: error: <text>:1:127: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"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":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"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":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"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":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"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":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"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":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '[]'
$

--[ list-object-foo-basic-object-foo-basic-val-object-fuu-basic ]---------------

#
# # 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 '"bar"' '{}' '[]'; do T='{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"'"$t"'"}]},{"type":"object","args":[{"name":"foo","type":"'"$t2"'"}]}]}'; c="json -d '$T' <<< '{\"fuu\":$v}'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":null}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":false}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":true}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":123}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":"bar"}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":{}}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":[]}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":null}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":false}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":true}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":123}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":"bar"}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":{}}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":[]}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":null}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":false}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":true}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":123}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":"bar"}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":{}}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":[]}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":null}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":false}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":true}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":123}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":"bar"}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":{}}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":[]}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":null}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":false}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":true}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":123}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":"bar"}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":{}}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":[]}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":null}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":false}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":true}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":123}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":"bar"}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":{}}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":[]}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":null}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":false}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":true}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":123}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":"bar"}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":{}}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":[]}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":null}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":false}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":true}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":123}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":"bar"}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":{}}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":[]}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":null}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":false}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":true}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":123}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":"bar"}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":{}}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":[]}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":null}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":false}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":true}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":123}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":"bar"}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":{}}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":[]}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":null}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":false}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":true}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":123}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":"bar"}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":{}}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":[]}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":null}'
json: error: <text>:1:127: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":false}'
json: error: <text>:1:127: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":true}'
json: error: <text>:1:127: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":123}'
json: error: <text>:1:127: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":"bar"}'
json: error: <text>:1:127: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":{}}'
json: error: <text>:1:127: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":[]}'
json: error: <text>:1:127: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"fuu":[]}'
$

--[ list-object-foo-basic-object-foo-basic-val-object-foo-basic ]---------------

#
# # 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 '"bar"' '{}' '[]'; do T='{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"'"$t"'"}]},{"type":"object","args":[{"name":"foo","type":"'"$t2"'"}]}]}'; c="json -d '$T' <<< '{\"foo\":$v}'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":null}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":false}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":true}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":123}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":"bar"}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":{}}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":[]}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":null}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":false}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":true}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":123}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":"bar"}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":{}}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":[]}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":null}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":false}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":true}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":123}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":"bar"}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":{}}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":[]}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":null}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":false}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":true}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":123}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":"bar"}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":{}}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":[]}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":null}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":false}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":true}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":123}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":"bar"}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":{}}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":[]}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":null}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":false}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":true}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":123}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":"bar"}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":{}}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":[]}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":null}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":false}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":true}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":123}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":"bar"}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":{}}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":[]}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"' or `"boolean"'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"' or `"boolean"'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"' or `"boolean"'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"' or `"boolean"'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"' or `"number"'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"' or `"number"'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"' or `"number"'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"' or `"number"'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"' or `"number"'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"' or `"string"'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"' or `"string"'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"' or `"string"'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"' or `"string"'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"' or `"string"'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"' or `"object"'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"' or `"object"'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"' or `"object"'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"' or `"object"'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"' or `"object"'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"' or `"array"'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"' or `"array"'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"' or `"array"'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"' or `"array"'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"' or `"array"'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":null}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":false}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":true}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":123}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":"bar"}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":{}}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":[]}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"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"' or `"boolean"'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"' or `"boolean"'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"' or `"boolean"'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"' or `"boolean"'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"' or `"number"'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"' or `"number"'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"' or `"number"'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"' or `"number"'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"' or `"string"'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"' or `"string"'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"' or `"string"'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"' or `"string"'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"' or `"object"'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"' or `"object"'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"' or `"object"'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"' or `"object"'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"' or `"array"'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"' or `"array"'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"' or `"array"'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"' or `"array"'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":null}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":false}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":true}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":123}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":"bar"}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":{}}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":[]}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"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"' or `"number"'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"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"' or `"number"'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"' or `"number"'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"' or `"number"'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"' or `"number"'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"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"' or `"number"'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"' or `"number"'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"' or `"number"'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"' or `"number"'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"' or `"string"'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"' or `"string"'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"' or `"string"'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"' or `"string"'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"' or `"string"'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"' or `"object"'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"' or `"object"'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"' or `"object"'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"' or `"object"'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"' or `"object"'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"' or `"array"'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"' or `"array"'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"' or `"array"'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"' or `"array"'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"' or `"array"'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":null}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":false}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":true}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":123}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":"bar"}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":{}}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":[]}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"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"' or `"string"'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"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"' or `"string"'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"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"' or `"string"'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"' or `"string"'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"' or `"string"'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"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"' or `"string"'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"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"' or `"string"'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"' or `"string"'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"' or `"string"'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"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"' or `"string"'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"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"' or `"string"'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"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"' or `"string"'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"' or `"string"'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"' or `"string"'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"' or `"object"'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"' or `"object"'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"' or `"object"'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"' or `"object"'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"' or `"object"'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"' or `"array"'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"' or `"array"'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"' or `"array"'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"' or `"array"'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"' or `"array"'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":null}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":false}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":true}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":123}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":"bar"}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":{}}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":[]}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"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"' or `"object"'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"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"' or `"object"'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"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"' or `"object"'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"' or `"object"'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"' or `"object"'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"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"' or `"object"'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"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"' or `"object"'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"' or `"object"'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"' or `"object"'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"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"' or `"object"'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"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"' or `"object"'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"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"' or `"object"'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"' or `"object"'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"' or `"object"'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"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"' or `"object"'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"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"' or `"object"'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"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"' or `"object"'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"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"' or `"object"'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"' or `"object"'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"' or `"array"'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"' or `"array"'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"' or `"array"'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"' or `"array"'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"' or `"array"'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":null}'
json: error: <text>:1:127: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":false}'
json: error: <text>:1:127: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":true}'
json: error: <text>:1:127: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":123}'
json: error: <text>:1:127: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":"bar"}'
json: error: <text>:1:127: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":{}}'
json: error: <text>:1:127: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":[]}'
json: error: <text>:1:127: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"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"' or `"array"'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"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"' or `"array"'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"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"' or `"array"'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"' or `"array"'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"' or `"array"'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"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"' or `"array"'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"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"' or `"array"'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"' or `"array"'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"' or `"array"'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"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"' or `"array"'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"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"' or `"array"'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"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"' or `"array"'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"' or `"array"'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"' or `"array"'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"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"' or `"array"'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"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"' or `"array"'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"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"' or `"array"'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"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"' or `"array"'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"' or `"array"'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"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"' or `"array"'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"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"' or `"array"'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"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"' or `"array"'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"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"' or `"array"'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"' or `"array"'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":[]}'
{"foo":[]}
$

--[ list-object-foo-basic-object-foo-basic-val-object-foo-basic-fuu-basic ]-----

#
# # 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 t2 in type null boolean number string object array; do test "$t" == "$t2" && continue; for v in null false true 123 '"bar"' '{}' '[]'; do T='{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"'"$t"'"}]},{"type":"object","args":[{"name":"foo","type":"'"$t2"'"}]}]}'; c="json -d '$T' <<< '{\"foo\":$v0,\"fuu\":$v}'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":[{}],"fuu":null}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":[{}],"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":[{}],"fuu":false}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":[{}],"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":[{}],"fuu":true}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":[{}],"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":[{}],"fuu":123}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":[{}],"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":[{}],"fuu":"bar"}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":[{}],"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":[{}],"fuu":{}}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":[{}],"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":[{}],"fuu":[]}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":[{}],"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":[{}],"fuu":null}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":[{}],"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":[{}],"fuu":false}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":[{}],"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":[{}],"fuu":true}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":[{}],"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":[{}],"fuu":123}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":[{}],"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":[{}],"fuu":"bar"}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":[{}],"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":[{}],"fuu":{}}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":[{}],"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":[{}],"fuu":[]}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":[{}],"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":[{}],"fuu":null}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":[{}],"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":[{}],"fuu":false}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":[{}],"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":[{}],"fuu":true}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":[{}],"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":[{}],"fuu":123}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":[{}],"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":[{}],"fuu":"bar"}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":[{}],"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":[{}],"fuu":{}}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":[{}],"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":[{}],"fuu":[]}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":[{}],"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":[{}],"fuu":null}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":[{}],"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":[{}],"fuu":false}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":[{}],"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":[{}],"fuu":true}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":[{}],"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":[{}],"fuu":123}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":[{}],"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":[{}],"fuu":"bar"}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":[{}],"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":[{}],"fuu":{}}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":[{}],"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":[{}],"fuu":[]}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":[{}],"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":[{}],"fuu":null}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":[{}],"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":[{}],"fuu":false}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":[{}],"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":[{}],"fuu":true}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":[{}],"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":[{}],"fuu":123}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":[{}],"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":[{}],"fuu":"bar"}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":[{}],"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":[{}],"fuu":{}}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":[{}],"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":[{}],"fuu":[]}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":[{}],"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":[{}],"fuu":null}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":[{}],"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":[{}],"fuu":false}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":[{}],"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":[{}],"fuu":true}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":[{}],"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":[{}],"fuu":123}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":[{}],"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":[{}],"fuu":"bar"}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":[{}],"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":[{}],"fuu":{}}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":[{}],"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":[{}],"fuu":[]}'
json: error: <text>:1:70: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:126)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":[{}],"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":null,"fuu":null}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":null,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":null,"fuu":false}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":null,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":null,"fuu":true}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":null,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":null,"fuu":123}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":null,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":null,"fuu":"bar"}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":null,"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":null,"fuu":{}}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":null,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":null,"fuu":[]}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":null,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":null,"fuu":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":null}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":null,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":null,"fuu":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":false}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":null,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":null,"fuu":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":true}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":null,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":null,"fuu":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":123}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":null,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":null,"fuu":"bar"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":"bar"}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":null,"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":null,"fuu":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":{}}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":null,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":null,"fuu":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":[]}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":null,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":null,"fuu":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":null}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":null,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":null,"fuu":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":false}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":null,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":null,"fuu":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":true}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":null,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":null,"fuu":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":123}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":null,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":null,"fuu":"bar"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":"bar"}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":null,"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":null,"fuu":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":{}}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":null,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":null,"fuu":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":[]}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":null,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":null,"fuu":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":null}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":null,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":null,"fuu":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":false}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":null,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":null,"fuu":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":true}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":null,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":null,"fuu":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":123}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":null,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":null,"fuu":"bar"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":"bar"}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":null,"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":null,"fuu":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":{}}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":null,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":null,"fuu":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":[]}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":null,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":null,"fuu":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":null}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":null,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":null,"fuu":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":false}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":null,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":null,"fuu":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":true}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":null,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":null,"fuu":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":123}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":null,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":null,"fuu":"bar"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":"bar"}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":null,"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":null,"fuu":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":{}}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":null,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":null,"fuu":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":[]}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":null,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":null,"fuu":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":null}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":null,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":null,"fuu":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":false}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":null,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":null,"fuu":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":true}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":null,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":null,"fuu":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":123}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":null,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":null,"fuu":"bar"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":"bar"}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":null,"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":null,"fuu":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":{}}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":null,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":null,"fuu":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":[]}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":null,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":false,"fuu":null}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":false,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":false,"fuu":false}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":false,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":false,"fuu":true}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":false,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":false,"fuu":123}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":false,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":false,"fuu":"bar"}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":false,"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":false,"fuu":{}}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":false,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":false,"fuu":[]}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":false,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":false,"fuu":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":null}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":false,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":false,"fuu":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":false}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":false,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":false,"fuu":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":true}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":false,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":false,"fuu":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":123}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":false,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":false,"fuu":"bar"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":"bar"}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":false,"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":false,"fuu":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":{}}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":false,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":false,"fuu":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":[]}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":false,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":false,"fuu":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":null}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":false,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":false,"fuu":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":false}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":false,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":false,"fuu":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":true}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":false,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":false,"fuu":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":123}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":false,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":false,"fuu":"bar"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":"bar"}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":false,"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":false,"fuu":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":{}}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":false,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":false,"fuu":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":[]}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":false,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":false,"fuu":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":null}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":false,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":false,"fuu":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":false}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":false,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":false,"fuu":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":true}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":false,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":false,"fuu":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":123}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":false,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":false,"fuu":"bar"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":"bar"}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":false,"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":false,"fuu":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":{}}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":false,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":false,"fuu":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":[]}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":false,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":false,"fuu":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":null}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":false,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":false,"fuu":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":false}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":false,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":false,"fuu":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":true}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":false,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":false,"fuu":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":123}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":false,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":false,"fuu":"bar"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":"bar"}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":false,"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":false,"fuu":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":{}}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":false,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":false,"fuu":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":[]}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":false,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":false,"fuu":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":null}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":false,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":false,"fuu":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":false}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":false,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":false,"fuu":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":true}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":false,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":false,"fuu":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":123}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":false,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":false,"fuu":"bar"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":"bar"}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":false,"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":false,"fuu":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":{}}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":false,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":false,"fuu":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":[]}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":false,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":456,"fuu":null}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":456,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":456,"fuu":false}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":456,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":456,"fuu":true}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":456,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":456,"fuu":123}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":456,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":456,"fuu":"bar"}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":456,"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":456,"fuu":{}}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":456,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":456,"fuu":[]}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":456,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":456,"fuu":null}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":null}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":456,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":456,"fuu":false}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":false}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":456,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":456,"fuu":true}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":true}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":456,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":456,"fuu":123}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":123}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":456,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":456,"fuu":"bar"}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":"bar"}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":456,"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":456,"fuu":{}}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":{}}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":456,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":456,"fuu":[]}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":[]}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":456,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":456,"fuu":null}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":null}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":456,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":456,"fuu":false}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":false}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":456,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":456,"fuu":true}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":true}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":456,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":456,"fuu":123}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":123}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":456,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":456,"fuu":"bar"}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":"bar"}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":456,"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":456,"fuu":{}}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":{}}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":456,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":456,"fuu":[]}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":[]}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":456,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":456,"fuu":null}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":null}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":456,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":456,"fuu":false}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":false}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":456,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":456,"fuu":true}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":true}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":456,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":456,"fuu":123}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":123}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":456,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":456,"fuu":"bar"}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":"bar"}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":456,"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":456,"fuu":{}}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":{}}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":456,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":456,"fuu":[]}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":[]}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":456,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":456,"fuu":null}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":null}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":456,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":456,"fuu":false}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":false}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":456,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":456,"fuu":true}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":true}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":456,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":456,"fuu":123}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":123}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":456,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":456,"fuu":"bar"}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":"bar"}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":456,"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":456,"fuu":{}}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":{}}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":456,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":456,"fuu":[]}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":[]}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":456,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":456,"fuu":null}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":null}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":456,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":456,"fuu":false}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":false}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":456,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":456,"fuu":true}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":true}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":456,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":456,"fuu":123}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":123}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":456,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":456,"fuu":"bar"}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":"bar"}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":456,"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":456,"fuu":{}}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":{}}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":456,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":456,"fuu":[]}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":[]}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":456,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":"bar","fuu":null}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":"bar","fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":"bar","fuu":false}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":"bar","fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":"bar","fuu":true}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":"bar","fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":"bar","fuu":123}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":"bar","fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":"bar","fuu":"bar"}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":"bar","fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":"bar","fuu":{}}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":"bar","fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":"bar","fuu":[]}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":"bar","fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":"bar","fuu":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":null}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":"bar","fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":"bar","fuu":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":false}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":"bar","fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":"bar","fuu":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":true}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":"bar","fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":"bar","fuu":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":123}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":"bar","fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":"bar","fuu":"bar"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":"bar"}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":"bar","fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":"bar","fuu":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":{}}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":"bar","fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":"bar","fuu":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":[]}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":"bar","fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":"bar","fuu":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":null}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":"bar","fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":"bar","fuu":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":false}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":"bar","fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":"bar","fuu":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":true}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":"bar","fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":"bar","fuu":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":123}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":"bar","fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":"bar","fuu":"bar"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":"bar"}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":"bar","fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":"bar","fuu":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":{}}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":"bar","fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":"bar","fuu":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":[]}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":"bar","fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":"bar","fuu":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":null}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":"bar","fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":"bar","fuu":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":false}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":"bar","fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":"bar","fuu":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":true}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":"bar","fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":"bar","fuu":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":123}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":"bar","fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":"bar","fuu":"bar"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":"bar"}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":"bar","fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":"bar","fuu":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":{}}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":"bar","fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":"bar","fuu":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":[]}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":"bar","fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":"bar","fuu":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":null}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":"bar","fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":"bar","fuu":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":false}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":"bar","fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":"bar","fuu":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":true}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":"bar","fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":"bar","fuu":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":123}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":"bar","fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":"bar","fuu":"bar"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":"bar"}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":"bar","fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":"bar","fuu":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":{}}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":"bar","fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":"bar","fuu":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":[]}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":"bar","fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":"bar","fuu":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":null}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":"bar","fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":"bar","fuu":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":false}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":"bar","fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":"bar","fuu":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":true}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":"bar","fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":"bar","fuu":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":123}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":"bar","fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":"bar","fuu":"bar"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":"bar"}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":"bar","fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":"bar","fuu":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":{}}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":"bar","fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":"bar","fuu":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":[]}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":"bar","fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":{},"fuu":null}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":{},"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":{},"fuu":false}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":{},"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":{},"fuu":true}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":{},"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":{},"fuu":123}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":{},"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":{},"fuu":"bar"}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":{},"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":{},"fuu":{}}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":{},"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":{},"fuu":[]}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":{},"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":{},"fuu":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":null}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":{},"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":{},"fuu":false}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":false}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":{},"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":{},"fuu":true}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":true}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":{},"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":{},"fuu":123}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":123}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":{},"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":{},"fuu":"bar"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":"bar"}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":{},"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":{},"fuu":{}}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":{}}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":{},"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":{},"fuu":[]}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":[]}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":{},"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":{},"fuu":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":null}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":{},"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":{},"fuu":false}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":false}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":{},"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":{},"fuu":true}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":true}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":{},"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":{},"fuu":123}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":123}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":{},"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":{},"fuu":"bar"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":"bar"}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":{},"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":{},"fuu":{}}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":{}}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":{},"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":{},"fuu":[]}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":[]}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":{},"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":{},"fuu":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":null}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":{},"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":{},"fuu":false}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":false}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":{},"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":{},"fuu":true}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":true}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":{},"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":{},"fuu":123}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":123}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":{},"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":{},"fuu":"bar"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":"bar"}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":{},"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":{},"fuu":{}}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":{}}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":{},"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":{},"fuu":[]}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":[]}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":{},"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":{},"fuu":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":null}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":{},"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":{},"fuu":false}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":false}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":{},"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":{},"fuu":true}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":true}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":{},"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":{},"fuu":123}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":123}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":{},"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":{},"fuu":"bar"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":"bar"}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":{},"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":{},"fuu":{}}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":{}}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":{},"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":{},"fuu":[]}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":[]}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":{},"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":{},"fuu":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":null}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":{},"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":{},"fuu":false}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":false}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":{},"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":{},"fuu":true}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":true}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":{},"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":{},"fuu":123}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":123}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":{},"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":{},"fuu":"bar"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":"bar"}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":{},"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":{},"fuu":{}}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":{}}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":{},"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":{},"fuu":[]}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":[]}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":"array"}]}]}' <<< '{"foo":{},"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":[],"fuu":null}'
json: error: <text>:1:127: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":[],"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":[],"fuu":false}'
json: error: <text>:1:127: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":[],"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":[],"fuu":true}'
json: error: <text>:1:127: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":[],"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":[],"fuu":123}'
json: error: <text>:1:127: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":[],"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":[],"fuu":"bar"}'
json: error: <text>:1:127: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":[],"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":[],"fuu":{}}'
json: error: <text>:1:127: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":[],"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":[],"fuu":[]}'
json: error: <text>:1:127: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"type"}]}]}' <<< '{"foo":[],"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":[],"fuu":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":null}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":[],"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":[],"fuu":false}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":false}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":[],"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":[],"fuu":true}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":true}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":[],"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":[],"fuu":123}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":123}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":[],"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":[],"fuu":"bar"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":"bar"}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":[],"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":[],"fuu":{}}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":{}}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":[],"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":[],"fuu":[]}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":[]}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"null"}]}]}' <<< '{"foo":[],"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":[],"fuu":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":null}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":[],"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":[],"fuu":false}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":false}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":[],"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":[],"fuu":true}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":true}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":[],"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":[],"fuu":123}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":123}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":[],"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":[],"fuu":"bar"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":"bar"}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":[],"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":[],"fuu":{}}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":{}}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":[],"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":[],"fuu":[]}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":[]}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"boolean"}]}]}' <<< '{"foo":[],"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":[],"fuu":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":null}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":[],"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":[],"fuu":false}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":false}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":[],"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":[],"fuu":true}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":true}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":[],"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":[],"fuu":123}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":123}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":[],"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":[],"fuu":"bar"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":"bar"}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":[],"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":[],"fuu":{}}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":{}}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":[],"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":[],"fuu":[]}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":[]}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '{"foo":[],"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":[],"fuu":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":null}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":[],"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":[],"fuu":false}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":false}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":[],"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":[],"fuu":true}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":true}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":[],"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":[],"fuu":123}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":123}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":[],"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":[],"fuu":"bar"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":"bar"}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":[],"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":[],"fuu":{}}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":{}}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":[],"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":[],"fuu":[]}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":[]}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"string"}]}]}' <<< '{"foo":[],"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":[],"fuu":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":null}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":[],"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":[],"fuu":false}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":false}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":[],"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":[],"fuu":true}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":true}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":[],"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":[],"fuu":123}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":123}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":[],"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":[],"fuu":"bar"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":"bar"}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":[],"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":[],"fuu":{}}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":{}}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":[],"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":[],"fuu":[]}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":[]}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":"object"}]}]}' <<< '{"foo":[],"fuu":[]}'
$

--[ list-object-foo-basic-object-bar-basic-val-basic ]--------------------------

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

--[ list-object-foo-basic-object-bar-basic-val-object-fuu-basic ]---------------

#
# # 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 '"baz"' '{}' '[]'; do T='{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"'"$t"'"}]},{"type":"object","args":[{"name":"bar","type":"'"$t2"'"}]}]}'; c="json -d '$T' <<< '{\"fuu\":$v}'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":"baz"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":"baz"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":"baz"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":"baz"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":"baz"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":"baz"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":"baz"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":"baz"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":"baz"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":"baz"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":"baz"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":"baz"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":"baz"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":"baz"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":"baz"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":"baz"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":"baz"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":"baz"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":"baz"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":"baz"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":"baz"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":"baz"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":"baz"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":"baz"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":"baz"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":"baz"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":"baz"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":"baz"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":"baz"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":"baz"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":"baz"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":"baz"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":"baz"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":"baz"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":"baz"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":"baz"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":"baz"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":"baz"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":"baz"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":"baz"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":"baz"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":"baz"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":"baz"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":"baz"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":"baz"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":"baz"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":"baz"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":"baz"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":"baz"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":"baz"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":"baz"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":"baz"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":"baz"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":"baz"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":"baz"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":"baz"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":"baz"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":"baz"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":"baz"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":"baz"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":"baz"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":"baz"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":"baz"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":"baz"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":"baz"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":"baz"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":"baz"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":"baz"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":"baz"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":"baz"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":"baz"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":"baz"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":"baz"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":"baz"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":"baz"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":"baz"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":"baz"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":"baz"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":"baz"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":"baz"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":"baz"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":"baz"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":"baz"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":"baz"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "bar" or "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"fuu":[]}'
$

--[ list-object-foo-basic-object-bar-basic-val-object-foo-basic ]---------------

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

--[ list-object-foo-basic-object-bar-basic-val-object-bar-basic ]---------------

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

--[ list-object-foo-basic-object-bar-basic-val-object-foo-basic-fuu-basic ]-----

#
# # 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='"baz"';; object) v0='{}';; array) v0='[]';; esac; for t2 in type null boolean number string object array; do test "$t" == "$t2" && continue; for v in null false true 123 '"bar"' '{}' '[]'; do T='{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"'"$t"'"}]},{"type":"object","args":[{"name":"bar","type":"'"$t2"'"}]}]}'; c="json -d '$T' <<< '{\"foo\":$v0,\"fuu\":$v}'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":[{}],"fuu":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":null}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":[{}],"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":[{}],"fuu":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":false}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":[{}],"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":[{}],"fuu":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":true}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":[{}],"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":[{}],"fuu":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":123}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":[{}],"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":[{}],"fuu":"bar"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":"bar"}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":[{}],"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":[{}],"fuu":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":{}}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":[{}],"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":[{}],"fuu":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":[]}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":[{}],"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":[{}],"fuu":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":null}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":[{}],"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":[{}],"fuu":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":false}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":[{}],"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":[{}],"fuu":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":true}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":[{}],"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":[{}],"fuu":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":123}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":[{}],"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":[{}],"fuu":"bar"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":"bar"}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":[{}],"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":[{}],"fuu":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":{}}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":[{}],"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":[{}],"fuu":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":[]}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":[{}],"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":[{}],"fuu":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":null}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":[{}],"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":[{}],"fuu":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":false}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":[{}],"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":[{}],"fuu":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":true}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":[{}],"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":[{}],"fuu":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":123}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":[{}],"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":[{}],"fuu":"bar"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":"bar"}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":[{}],"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":[{}],"fuu":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":{}}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":[{}],"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":[{}],"fuu":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":[]}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":[{}],"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":[{}],"fuu":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":null}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":[{}],"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":[{}],"fuu":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":false}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":[{}],"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":[{}],"fuu":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":true}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":[{}],"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":[{}],"fuu":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":123}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":[{}],"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":[{}],"fuu":"bar"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":"bar"}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":[{}],"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":[{}],"fuu":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":{}}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":[{}],"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":[{}],"fuu":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":[]}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":[{}],"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":[{}],"fuu":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":null}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":[{}],"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":[{}],"fuu":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":false}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":[{}],"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":[{}],"fuu":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":true}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":[{}],"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":[{}],"fuu":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":123}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":[{}],"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":[{}],"fuu":"bar"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":"bar"}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":[{}],"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":[{}],"fuu":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":{}}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":[{}],"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":[{}],"fuu":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":[]}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":[{}],"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":[{}],"fuu":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":null}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":[{}],"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":[{}],"fuu":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":false}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":[{}],"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":[{}],"fuu":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":true}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":[{}],"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":[{}],"fuu":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":123}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":[{}],"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":[{}],"fuu":"bar"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":"bar"}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":[{}],"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":[{}],"fuu":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":{}}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":[{}],"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":[{}],"fuu":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":[]}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":[{}],"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":null,"fuu":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":null}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":null,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":null,"fuu":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":false}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":null,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":null,"fuu":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":true}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":null,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":null,"fuu":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":123}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":null,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":null,"fuu":"bar"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":"bar"}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":null,"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":null,"fuu":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":{}}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":null,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":null,"fuu":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":[]}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":null,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":null,"fuu":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":null}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":null,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":null,"fuu":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":false}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":null,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":null,"fuu":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":true}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":null,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":null,"fuu":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":123}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":null,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":null,"fuu":"bar"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":"bar"}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":null,"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":null,"fuu":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":{}}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":null,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":null,"fuu":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":[]}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":null,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":null,"fuu":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":null}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":null,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":null,"fuu":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":false}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":null,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":null,"fuu":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":true}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":null,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":null,"fuu":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":123}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":null,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":null,"fuu":"bar"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":"bar"}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":null,"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":null,"fuu":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":{}}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":null,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":null,"fuu":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":[]}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":null,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":null,"fuu":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":null}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":null,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":null,"fuu":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":false}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":null,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":null,"fuu":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":true}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":null,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":null,"fuu":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":123}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":null,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":null,"fuu":"bar"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":"bar"}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":null,"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":null,"fuu":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":{}}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":null,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":null,"fuu":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":[]}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":null,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":null,"fuu":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":null}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":null,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":null,"fuu":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":false}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":null,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":null,"fuu":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":true}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":null,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":null,"fuu":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":123}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":null,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":null,"fuu":"bar"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":"bar"}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":null,"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":null,"fuu":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":{}}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":null,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":null,"fuu":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":[]}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":null,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":null,"fuu":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":null}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":null,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":null,"fuu":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":false}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":null,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":null,"fuu":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":true}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":null,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":null,"fuu":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":123}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":null,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":null,"fuu":"bar"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":"bar"}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":null,"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":null,"fuu":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":{}}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":null,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":null,"fuu":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":[]}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":null,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":false,"fuu":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":null}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":false,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":false,"fuu":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":false}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":false,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":false,"fuu":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":true}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":false,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":false,"fuu":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":123}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":false,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":false,"fuu":"bar"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":"bar"}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":false,"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":false,"fuu":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":{}}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":false,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":false,"fuu":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":[]}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":false,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":false,"fuu":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":null}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":false,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":false,"fuu":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":false}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":false,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":false,"fuu":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":true}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":false,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":false,"fuu":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":123}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":false,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":false,"fuu":"bar"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":"bar"}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":false,"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":false,"fuu":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":{}}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":false,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":false,"fuu":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":[]}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":false,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":false,"fuu":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":null}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":false,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":false,"fuu":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":false}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":false,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":false,"fuu":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":true}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":false,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":false,"fuu":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":123}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":false,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":false,"fuu":"bar"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":"bar"}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":false,"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":false,"fuu":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":{}}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":false,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":false,"fuu":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":[]}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":false,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":false,"fuu":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":null}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":false,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":false,"fuu":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":false}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":false,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":false,"fuu":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":true}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":false,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":false,"fuu":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":123}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":false,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":false,"fuu":"bar"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":"bar"}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":false,"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":false,"fuu":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":{}}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":false,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":false,"fuu":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":[]}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":false,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":false,"fuu":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":null}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":false,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":false,"fuu":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":false}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":false,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":false,"fuu":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":true}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":false,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":false,"fuu":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":123}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":false,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":false,"fuu":"bar"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":"bar"}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":false,"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":false,"fuu":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":{}}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":false,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":false,"fuu":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":[]}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":false,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":false,"fuu":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":null}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":false,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":false,"fuu":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":false}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":false,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":false,"fuu":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":true}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":false,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":false,"fuu":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":123}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":false,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":false,"fuu":"bar"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":"bar"}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":false,"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":false,"fuu":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":{}}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":false,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":false,"fuu":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":[]}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":false,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":456,"fuu":null}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":null}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":456,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":456,"fuu":false}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":false}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":456,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":456,"fuu":true}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":true}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":456,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":456,"fuu":123}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":123}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":456,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":456,"fuu":"bar"}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":"bar"}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":456,"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":456,"fuu":{}}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":{}}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":456,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":456,"fuu":[]}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":[]}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":456,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":456,"fuu":null}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":null}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":456,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":456,"fuu":false}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":false}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":456,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":456,"fuu":true}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":true}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":456,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":456,"fuu":123}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":123}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":456,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":456,"fuu":"bar"}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":"bar"}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":456,"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":456,"fuu":{}}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":{}}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":456,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":456,"fuu":[]}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":[]}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":456,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":456,"fuu":null}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":null}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":456,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":456,"fuu":false}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":false}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":456,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":456,"fuu":true}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":true}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":456,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":456,"fuu":123}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":123}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":456,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":456,"fuu":"bar"}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":"bar"}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":456,"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":456,"fuu":{}}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":{}}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":456,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":456,"fuu":[]}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":[]}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":456,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":456,"fuu":null}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":null}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":456,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":456,"fuu":false}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":false}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":456,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":456,"fuu":true}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":true}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":456,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":456,"fuu":123}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":123}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":456,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":456,"fuu":"bar"}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":"bar"}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":456,"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":456,"fuu":{}}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":{}}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":456,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":456,"fuu":[]}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":[]}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":456,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":456,"fuu":null}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":null}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":456,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":456,"fuu":false}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":false}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":456,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":456,"fuu":true}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":true}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":456,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":456,"fuu":123}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":123}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":456,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":456,"fuu":"bar"}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":"bar"}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":456,"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":456,"fuu":{}}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":{}}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":456,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":456,"fuu":[]}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":[]}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":456,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":456,"fuu":null}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":null}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":456,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":456,"fuu":false}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":false}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":456,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":456,"fuu":true}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":true}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":456,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":456,"fuu":123}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":123}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":456,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":456,"fuu":"bar"}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":"bar"}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":456,"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":456,"fuu":{}}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":{}}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":456,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":456,"fuu":[]}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":[]}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":456,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":"baz","fuu":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":null}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":"baz","fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":"baz","fuu":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":false}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":"baz","fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":"baz","fuu":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":true}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":"baz","fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":"baz","fuu":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":123}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":"baz","fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":"baz","fuu":"bar"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":"bar"}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":"baz","fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":"baz","fuu":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":{}}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":"baz","fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":"baz","fuu":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":[]}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":"baz","fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":"baz","fuu":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":null}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":"baz","fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":"baz","fuu":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":false}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":"baz","fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":"baz","fuu":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":true}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":"baz","fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":"baz","fuu":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":123}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":"baz","fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":"baz","fuu":"bar"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":"bar"}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":"baz","fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":"baz","fuu":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":{}}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":"baz","fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":"baz","fuu":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":[]}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":"baz","fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":"baz","fuu":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":null}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":"baz","fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":"baz","fuu":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":false}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":"baz","fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":"baz","fuu":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":true}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":"baz","fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":"baz","fuu":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":123}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":"baz","fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":"baz","fuu":"bar"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":"bar"}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":"baz","fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":"baz","fuu":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":{}}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":"baz","fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":"baz","fuu":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":[]}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":"baz","fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":"baz","fuu":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":null}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":"baz","fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":"baz","fuu":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":false}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":"baz","fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":"baz","fuu":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":true}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":"baz","fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":"baz","fuu":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":123}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":"baz","fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":"baz","fuu":"bar"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":"bar"}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":"baz","fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":"baz","fuu":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":{}}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":"baz","fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":"baz","fuu":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":[]}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":"baz","fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":"baz","fuu":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":null}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":"baz","fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":"baz","fuu":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":false}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":"baz","fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":"baz","fuu":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":true}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":"baz","fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":"baz","fuu":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":123}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":"baz","fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":"baz","fuu":"bar"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":"bar"}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":"baz","fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":"baz","fuu":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":{}}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":"baz","fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":"baz","fuu":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":[]}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":"baz","fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":"baz","fuu":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":null}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":"baz","fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":"baz","fuu":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":false}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":"baz","fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":"baz","fuu":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":true}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":"baz","fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":"baz","fuu":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":123}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":"baz","fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":"baz","fuu":"bar"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":"bar"}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":"baz","fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":"baz","fuu":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":{}}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":"baz","fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":"baz","fuu":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":[]}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":"baz","fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":{},"fuu":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":null}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":{},"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":{},"fuu":false}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":false}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":{},"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":{},"fuu":true}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":true}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":{},"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":{},"fuu":123}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":123}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":{},"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":{},"fuu":"bar"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":"bar"}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":{},"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":{},"fuu":{}}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":{}}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":{},"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":{},"fuu":[]}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":[]}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":{},"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":{},"fuu":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":null}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":{},"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":{},"fuu":false}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":false}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":{},"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":{},"fuu":true}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":true}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":{},"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":{},"fuu":123}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":123}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":{},"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":{},"fuu":"bar"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":"bar"}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":{},"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":{},"fuu":{}}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":{}}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":{},"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":{},"fuu":[]}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":[]}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":{},"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":{},"fuu":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":null}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":{},"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":{},"fuu":false}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":false}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":{},"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":{},"fuu":true}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":true}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":{},"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":{},"fuu":123}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":123}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":{},"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":{},"fuu":"bar"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":"bar"}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":{},"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":{},"fuu":{}}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":{}}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":{},"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":{},"fuu":[]}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":[]}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":{},"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":{},"fuu":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":null}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":{},"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":{},"fuu":false}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":false}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":{},"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":{},"fuu":true}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":true}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":{},"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":{},"fuu":123}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":123}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":{},"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":{},"fuu":"bar"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":"bar"}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":{},"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":{},"fuu":{}}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":{}}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":{},"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":{},"fuu":[]}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":[]}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":{},"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":{},"fuu":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":null}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":{},"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":{},"fuu":false}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":false}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":{},"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":{},"fuu":true}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":true}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":{},"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":{},"fuu":123}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":123}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":{},"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":{},"fuu":"bar"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":"bar"}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":{},"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":{},"fuu":{}}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":{}}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":{},"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":{},"fuu":[]}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":[]}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":{},"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":{},"fuu":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":null}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":{},"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":{},"fuu":false}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":false}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":{},"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":{},"fuu":true}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":true}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":{},"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":{},"fuu":123}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":123}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":{},"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":{},"fuu":"bar"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":"bar"}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":{},"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":{},"fuu":{}}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":{}}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":{},"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":{},"fuu":[]}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":[]}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":"array"}]}]}' <<< '{"foo":{},"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":[],"fuu":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":null}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":[],"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":[],"fuu":false}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":false}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":[],"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":[],"fuu":true}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":true}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":[],"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":[],"fuu":123}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":123}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":[],"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":[],"fuu":"bar"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":"bar"}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":[],"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":[],"fuu":{}}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":{}}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":[],"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":[],"fuu":[]}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":[]}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"type"}]}]}' <<< '{"foo":[],"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":[],"fuu":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":null}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":[],"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":[],"fuu":false}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":false}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":[],"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":[],"fuu":true}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":true}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":[],"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":[],"fuu":123}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":123}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":[],"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":[],"fuu":"bar"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":"bar"}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":[],"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":[],"fuu":{}}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":{}}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":[],"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":[],"fuu":[]}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":[]}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"null"}]}]}' <<< '{"foo":[],"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":[],"fuu":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":null}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":[],"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":[],"fuu":false}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":false}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":[],"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":[],"fuu":true}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":true}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":[],"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":[],"fuu":123}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":123}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":[],"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":[],"fuu":"bar"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":"bar"}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":[],"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":[],"fuu":{}}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":{}}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":[],"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":[],"fuu":[]}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":[]}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"boolean"}]}]}' <<< '{"foo":[],"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":[],"fuu":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":null}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":[],"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":[],"fuu":false}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":false}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":[],"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":[],"fuu":true}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":true}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":[],"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":[],"fuu":123}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":123}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":[],"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":[],"fuu":"bar"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":"bar"}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":[],"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":[],"fuu":{}}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":{}}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":[],"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":[],"fuu":[]}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":[]}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"number"}]}]}' <<< '{"foo":[],"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":[],"fuu":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":null}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":[],"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":[],"fuu":false}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":false}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":[],"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":[],"fuu":true}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":true}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":[],"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":[],"fuu":123}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":123}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":[],"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":[],"fuu":"bar"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":"bar"}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":[],"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":[],"fuu":{}}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":{}}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":[],"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":[],"fuu":[]}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":[]}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"string"}]}]}' <<< '{"foo":[],"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":[],"fuu":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":null}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":[],"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":[],"fuu":false}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":false}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":[],"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":[],"fuu":true}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":true}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":[],"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":[],"fuu":123}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":123}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":[],"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":[],"fuu":"bar"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":"bar"}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":[],"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":[],"fuu":{}}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":{}}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":[],"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":[],"fuu":[]}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":[]}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":"object"}]}]}' <<< '{"foo":[],"fuu":[]}'
$

--[ list-object-foo-basic-object-bar-basic-val-object-bar-basic-fuu-basic ]-----

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

--[ list-object-foo-basic-object-foo-plain-val-basic ]--------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for p in null false true 123 '"baz"'; do for v in null false true 123 '"bar"' '{}' '[]'; do T='{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"'"$t"'"}]},{"type":"object","args":[{"name":"foo","type":{"plain":'"$p"'}}]}]}'; c="json -d '$T' <<< '$v'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< 'null'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< 'false'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< 'true'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '123'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '"bar"'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '[]'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< 'null'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< 'false'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< 'true'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '123'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '"bar"'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '[]'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< 'null'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< 'false'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< 'true'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '123'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '"bar"'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '[]'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< 'null'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< 'false'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< 'true'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '123'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '"bar"'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '[]'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< 'null'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< 'false'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< 'true'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '123'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '"bar"'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '[]'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< 'null'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< 'false'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< 'true'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '123'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '"bar"'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '[]'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{}'
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":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{}'
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":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{}'
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":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{}'
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":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":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":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< 'null'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< 'false'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< 'true'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '123'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '"bar"'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '[]'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< 'null'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< 'false'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< 'true'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '123'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '"bar"'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '[]'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{}'
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":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{}'
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":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":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":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{}'
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":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{}'
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":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< 'null'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< 'false'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< 'true'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '123'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '"bar"'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '[]'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{}'
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":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":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":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{}'
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":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{}'
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":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{}'
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":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< 'null'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< 'false'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< 'true'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '123'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '"bar"'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '[]'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":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":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{}'
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":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{}'
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":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{}'
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":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{}'
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":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":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":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{}'
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":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{}'
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":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{}'
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":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{}'
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":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '[]'
$

--[ list-object-foo-basic-object-foo-plain-val-object-fuu-basic ]---------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for p in null false true 123 '"baz"'; do for v in null false true 123 '"bar"' '{}' '[]'; do T='{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"'"$t"'"}]},{"type":"object","args":[{"name":"foo","type":{"plain":'"$p"'}}]}]}'; c="json -d '$T' <<< '{\"fuu\":$v}'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":null}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":false}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":true}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":123}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":"bar"}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":{}}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":[]}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":null}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":false}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":true}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":123}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":"bar"}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":{}}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":[]}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":null}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":false}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":true}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":123}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":"bar"}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":{}}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":[]}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":null}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":false}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":true}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":123}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":"bar"}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":{}}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":[]}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":null}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":false}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":true}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":123}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":"bar"}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":{}}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":[]}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":null}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":false}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":true}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":123}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":"bar"}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":{}}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":[]}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":null}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":false}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":true}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":123}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":"bar"}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":{}}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":[]}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":null}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":false}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":true}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":123}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":"bar"}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":{}}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":[]}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":null}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":false}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":true}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":123}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":"bar"}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":{}}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":[]}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":null}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":false}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":true}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":123}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":"bar"}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":{}}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":[]}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":true}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":true}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":123}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":123}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":"bar"}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":{}}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":{}}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":[]}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"fuu":[]}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"fuu":[]}'
$

--[ list-object-foo-basic-object-foo-plain-val-object-foo-basic ]---------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for p in null false true 123 '"baz"'; do for v in null false true 123 456 '"bar"' '"baz"' '{}' '[]'; do T='{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"'"$t"'"}]},{"type":"object","args":[{"name":"foo","type":{"plain":'"$p"'}}]}]}'; c="json -d '$T' <<< '{\"foo\":$v}'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":null}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":false}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":true}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":123}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":456}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":"bar"}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":"baz"}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":{}}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":[]}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":null}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":false}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":true}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":123}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":456}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":"bar"}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":"baz"}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":{}}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":[]}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":null}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":false}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":true}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":123}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":456}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":"bar"}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":"baz"}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":{}}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":[]}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":null}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":false}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":true}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":123}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":456}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":"bar"}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":"baz"}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":{}}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":[]}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":null}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":false}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":true}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":123}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":456}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":"bar"}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":"baz"}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":{}}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":[]}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":null}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":false}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":true}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":123}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":456}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":"bar"}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":"baz"}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":{}}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":[]}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"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 `"null"' or `{"plain":false}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"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 `"null"' or `{"plain":false}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"' or `{"plain":false}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"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 `"null"' or `{"plain":false}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"' or `{"plain":false}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"' or `{"plain":false}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"' or `{"plain":false}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"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 `"null"' or `{"plain":true}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"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 `"null"' or `{"plain":true}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"' or `{"plain":true}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"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 `"null"' or `{"plain":true}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"' or `{"plain":true}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"' or `{"plain":true}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"' or `{"plain":true}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"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 `"null"' or `{"plain":123}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"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 `"null"' or `{"plain":123}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"' or `{"plain":123}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"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 `"null"' or `{"plain":123}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"' or `{"plain":123}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"' or `{"plain":123}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"' or `{"plain":123}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"' or `{"plain":"baz"}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"' or `{"plain":"baz"}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"' or `{"plain":"baz"}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"' or `{"plain":"baz"}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"' or `{"plain":"baz"}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":"baz"}'
{"foo":"baz"}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"' or `{"plain":"baz"}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"' or `{"plain":"baz"}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"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 `"boolean"' or `{"plain":null}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"' or `{"plain":null}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"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 `"boolean"' or `{"plain":null}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"' or `{"plain":null}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"' or `{"plain":null}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"' or `{"plain":null}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":null}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":false}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":true}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":123}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":456}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":"bar"}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":"baz"}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":{}}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":[]}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":null}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":false}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":true}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":123}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":456}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":"bar"}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":"baz"}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":{}}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":[]}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"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 `"boolean"' or `{"plain":123}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"' or `{"plain":123}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"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 `"boolean"' or `{"plain":123}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"' or `{"plain":123}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"' or `{"plain":123}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"' or `{"plain":123}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"' or `{"plain":"baz"}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"' or `{"plain":"baz"}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"' or `{"plain":"baz"}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"' or `{"plain":"baz"}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":"baz"}'
{"foo":"baz"}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"' or `{"plain":"baz"}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"' or `{"plain":"baz"}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"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 `"number"' or `{"plain":null}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"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 `"number"' or `{"plain":null}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":456}'
{"foo":456}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"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 `"number"' or `{"plain":null}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"' or `{"plain":null}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"' or `{"plain":null}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"' or `{"plain":null}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"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 `"number"' or `{"plain":false}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"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 `"number"' or `{"plain":false}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":456}'
{"foo":456}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"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 `"number"' or `{"plain":false}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"' or `{"plain":false}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"' or `{"plain":false}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"' or `{"plain":false}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"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 `"number"' or `{"plain":true}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"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 `"number"' or `{"plain":true}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":456}'
{"foo":456}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"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 `"number"' or `{"plain":true}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"' or `{"plain":true}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"' or `{"plain":true}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"' or `{"plain":true}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":null}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":false}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":true}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":123}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":456}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":"bar"}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":"baz"}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":{}}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":[]}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"' or `{"plain":"baz"}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"' or `{"plain":"baz"}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"' or `{"plain":"baz"}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":456}'
{"foo":456}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"' or `{"plain":"baz"}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":"baz"}'
{"foo":"baz"}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"' or `{"plain":"baz"}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"' or `{"plain":"baz"}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"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 `"string"' or `{"plain":null}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"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 `"string"' or `{"plain":null}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"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 `"string"' or `{"plain":null}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"' or `{"plain":null}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":"baz"}'
{"foo":"baz"}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"' or `{"plain":null}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"' or `{"plain":null}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"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 `"string"' or `{"plain":false}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"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 `"string"' or `{"plain":false}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"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 `"string"' or `{"plain":false}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"' or `{"plain":false}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":"baz"}'
{"foo":"baz"}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"' or `{"plain":false}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"' or `{"plain":false}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"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 `"string"' or `{"plain":true}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"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 `"string"' or `{"plain":true}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"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 `"string"' or `{"plain":true}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"' or `{"plain":true}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":"baz"}'
{"foo":"baz"}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"' or `{"plain":true}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"' or `{"plain":true}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"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 `"string"' or `{"plain":123}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"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 `"string"' or `{"plain":123}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"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 `"string"' or `{"plain":123}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"' or `{"plain":123}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":"baz"}'
{"foo":"baz"}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"' or `{"plain":123}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"' or `{"plain":123}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":null}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":false}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":true}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":123}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":456}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":"bar"}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":"baz"}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":{}}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":[]}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"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 `"object"' or `{"plain":null}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"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 `"object"' or `{"plain":null}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"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 `"object"' or `{"plain":null}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"' or `{"plain":null}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"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 `"object"' or `{"plain":null}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"' or `{"plain":null}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"' or `{"plain":null}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"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 `"object"' or `{"plain":false}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"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 `"object"' or `{"plain":false}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"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 `"object"' or `{"plain":false}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"' or `{"plain":false}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"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 `"object"' or `{"plain":false}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"' or `{"plain":false}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"' or `{"plain":false}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"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 `"object"' or `{"plain":true}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"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 `"object"' or `{"plain":true}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"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 `"object"' or `{"plain":true}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"' or `{"plain":true}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"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 `"object"' or `{"plain":true}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"' or `{"plain":true}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"' or `{"plain":true}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"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 `"object"' or `{"plain":123}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"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 `"object"' or `{"plain":123}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"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 `"object"' or `{"plain":123}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"' or `{"plain":123}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"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 `"object"' or `{"plain":123}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"' or `{"plain":123}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"' or `{"plain":123}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"' or `{"plain":"baz"}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"' or `{"plain":"baz"}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"' or `{"plain":"baz"}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"' or `{"plain":"baz"}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"' or `{"plain":"baz"}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"' or `{"plain":"baz"}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":"baz"}'
{"foo":"baz"}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"' or `{"plain":"baz"}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"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 `"array"' or `{"plain":null}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"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 `"array"' or `{"plain":null}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"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 `"array"' or `{"plain":null}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"' or `{"plain":null}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"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 `"array"' or `{"plain":null}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"' or `{"plain":null}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"' or `{"plain":null}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"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 `"array"' or `{"plain":false}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"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 `"array"' or `{"plain":false}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"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 `"array"' or `{"plain":false}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"' or `{"plain":false}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"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 `"array"' or `{"plain":false}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"' or `{"plain":false}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"' or `{"plain":false}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"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 `"array"' or `{"plain":true}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"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 `"array"' or `{"plain":true}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"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 `"array"' or `{"plain":true}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"' or `{"plain":true}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"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 `"array"' or `{"plain":true}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"' or `{"plain":true}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"' or `{"plain":true}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"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 `"array"' or `{"plain":123}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"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 `"array"' or `{"plain":123}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"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 `"array"' or `{"plain":123}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"' or `{"plain":123}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"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 `"array"' or `{"plain":123}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"' or `{"plain":123}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"' or `{"plain":123}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"' or `{"plain":"baz"}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"' or `{"plain":"baz"}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"' or `{"plain":"baz"}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"' or `{"plain":"baz"}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"' or `{"plain":"baz"}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"' or `{"plain":"baz"}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":"baz"}'
{"foo":"baz"}
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"' or `{"plain":"baz"}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":[]}'
{"foo":[]}
$

--[ list-object-foo-basic-object-foo-plain-val-object-foo-basic-fuu-basic ]-----

#
# # 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 p in null false true 123 '"baz"'; do for v in null false true 123 456 '"bar"' '"baz"' '{}' '[]'; do T='{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"'"$t"'"}]},{"type":"object","args":[{"name":"foo","type":{"plain":'"$p"'}}]}]}'; c="json -d '$T' <<< '{\"foo\":$v0,\"fuu\":$v}'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":[{}],"fuu":null}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":[{}],"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":[{}],"fuu":false}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":[{}],"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":[{}],"fuu":true}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":[{}],"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":[{}],"fuu":123}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":[{}],"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":[{}],"fuu":456}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":[{}],"fuu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":[{}],"fuu":"bar"}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":[{}],"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":[{}],"fuu":"baz"}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":[{}],"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":[{}],"fuu":{}}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":[{}],"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":[{}],"fuu":[]}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":[{}],"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":[{}],"fuu":null}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":[{}],"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":[{}],"fuu":false}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":[{}],"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":[{}],"fuu":true}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":[{}],"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":[{}],"fuu":123}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":[{}],"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":[{}],"fuu":456}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":[{}],"fuu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":[{}],"fuu":"bar"}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":[{}],"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":[{}],"fuu":"baz"}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":[{}],"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":[{}],"fuu":{}}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":[{}],"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":[{}],"fuu":[]}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":[{}],"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":[{}],"fuu":null}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":[{}],"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":[{}],"fuu":false}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":[{}],"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":[{}],"fuu":true}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":[{}],"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":[{}],"fuu":123}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":[{}],"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":[{}],"fuu":456}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":[{}],"fuu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":[{}],"fuu":"bar"}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":[{}],"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":[{}],"fuu":"baz"}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":[{}],"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":[{}],"fuu":{}}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":[{}],"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":[{}],"fuu":[]}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":[{}],"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":[{}],"fuu":null}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":[{}],"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":[{}],"fuu":false}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":[{}],"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":[{}],"fuu":true}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":[{}],"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":[{}],"fuu":123}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":[{}],"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":[{}],"fuu":456}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":[{}],"fuu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":[{}],"fuu":"bar"}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":[{}],"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":[{}],"fuu":"baz"}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":[{}],"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":[{}],"fuu":{}}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":[{}],"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":[{}],"fuu":[]}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":[{}],"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":[{}],"fuu":null}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":[{}],"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":[{}],"fuu":false}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":[{}],"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":[{}],"fuu":true}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":[{}],"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":[{}],"fuu":123}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":[{}],"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":[{}],"fuu":456}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":[{}],"fuu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":[{}],"fuu":"bar"}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":[{}],"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":[{}],"fuu":"baz"}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":[{}],"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":[{}],"fuu":{}}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":[{}],"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":[{}],"fuu":[]}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":[{}],"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":null,"fuu":null}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":null,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":null,"fuu":false}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":null,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":null,"fuu":true}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":null,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":null,"fuu":123}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":null,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":null,"fuu":456}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":null,"fuu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":null,"fuu":"bar"}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":null,"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":null,"fuu":"baz"}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":null,"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":null,"fuu":{}}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":null,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":null,"fuu":[]}'
json: error: <text>:1:126: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":null,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":null,"fuu":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":null}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":null,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":null,"fuu":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":false}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":null,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":null,"fuu":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":true}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":null,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":null,"fuu":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":123}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":null,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":null,"fuu":456}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":456}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":null,"fuu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":null,"fuu":"bar"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":"bar"}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":null,"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":null,"fuu":"baz"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":"baz"}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":null,"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":null,"fuu":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":{}}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":null,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":null,"fuu":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":[]}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":null,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":null,"fuu":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":null}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":null,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":null,"fuu":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":false}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":null,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":null,"fuu":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":true}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":null,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":null,"fuu":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":123}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":null,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":null,"fuu":456}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":456}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":null,"fuu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":null,"fuu":"bar"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":"bar"}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":null,"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":null,"fuu":"baz"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":"baz"}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":null,"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":null,"fuu":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":{}}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":null,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":null,"fuu":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":[]}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":null,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":null,"fuu":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":null}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":null,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":null,"fuu":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":false}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":null,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":null,"fuu":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":true}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":null,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":null,"fuu":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":123}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":null,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":null,"fuu":456}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":456}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":null,"fuu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":null,"fuu":"bar"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":"bar"}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":null,"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":null,"fuu":"baz"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":"baz"}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":null,"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":null,"fuu":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":{}}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":null,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":null,"fuu":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":[]}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":null,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":null,"fuu":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":null}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":null,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":null,"fuu":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":false}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":null,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":null,"fuu":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":true}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":null,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":null,"fuu":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":123}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":null,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":null,"fuu":456}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":456}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":null,"fuu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":null,"fuu":"bar"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":"bar"}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":null,"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":null,"fuu":"baz"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":"baz"}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":null,"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":null,"fuu":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":{}}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":null,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":null,"fuu":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":[]}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":null,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":false,"fuu":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":null}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":false,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":false,"fuu":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":false}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":false,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":false,"fuu":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":true}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":false,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":false,"fuu":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":123}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":false,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":false,"fuu":456}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":456}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":false,"fuu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":false,"fuu":"bar"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":"bar"}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":false,"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":false,"fuu":"baz"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":"baz"}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":false,"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":false,"fuu":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":{}}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":false,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":false,"fuu":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":[]}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":false,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":false,"fuu":null}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":false,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":false,"fuu":false}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":false,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":false,"fuu":true}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":false,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":false,"fuu":123}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":false,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":false,"fuu":456}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":false,"fuu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":false,"fuu":"bar"}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":false,"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":false,"fuu":"baz"}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":false,"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":false,"fuu":{}}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":false,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":false,"fuu":[]}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":false,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":false,"fuu":null}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":false,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":false,"fuu":false}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":false,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":false,"fuu":true}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":false,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":false,"fuu":123}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":false,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":false,"fuu":456}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":false,"fuu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":false,"fuu":"bar"}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":false,"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":false,"fuu":"baz"}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":false,"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":false,"fuu":{}}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":false,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":false,"fuu":[]}'
json: error: <text>:1:129: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":false,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":false,"fuu":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":null}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":false,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":false,"fuu":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":false}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":false,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":false,"fuu":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":true}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":false,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":false,"fuu":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":123}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":false,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":false,"fuu":456}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":456}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":false,"fuu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":false,"fuu":"bar"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":"bar"}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":false,"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":false,"fuu":"baz"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":"baz"}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":false,"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":false,"fuu":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":{}}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":false,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":false,"fuu":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":[]}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":false,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":false,"fuu":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":null}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":false,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":false,"fuu":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":false}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":false,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":false,"fuu":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":true}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":false,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":false,"fuu":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":123}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":false,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":false,"fuu":456}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":456}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":false,"fuu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":false,"fuu":"bar"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":"bar"}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":false,"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":false,"fuu":"baz"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":"baz"}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":false,"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":false,"fuu":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":{}}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":false,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":false,"fuu":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":[]}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":false,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":456,"fuu":null}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":null}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":456,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":456,"fuu":false}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":false}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":456,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":456,"fuu":true}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":true}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":456,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":456,"fuu":123}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":123}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":456,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":456,"fuu":456}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":456}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":456,"fuu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":456,"fuu":"bar"}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":"bar"}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":456,"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":456,"fuu":"baz"}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":"baz"}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":456,"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":456,"fuu":{}}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":{}}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":456,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":456,"fuu":[]}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":[]}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":456,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":456,"fuu":null}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":null}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":456,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":456,"fuu":false}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":false}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":456,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":456,"fuu":true}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":true}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":456,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":456,"fuu":123}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":123}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":456,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":456,"fuu":456}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":456}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":456,"fuu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":456,"fuu":"bar"}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":"bar"}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":456,"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":456,"fuu":"baz"}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":"baz"}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":456,"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":456,"fuu":{}}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":{}}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":456,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":456,"fuu":[]}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":[]}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":456,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":456,"fuu":null}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":null}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":456,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":456,"fuu":false}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":false}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":456,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":456,"fuu":true}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":true}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":456,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":456,"fuu":123}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":123}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":456,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":456,"fuu":456}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":456}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":456,"fuu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":456,"fuu":"bar"}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":"bar"}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":456,"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":456,"fuu":"baz"}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":"baz"}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":456,"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":456,"fuu":{}}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":{}}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":456,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":456,"fuu":[]}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":[]}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":456,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":456,"fuu":null}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":456,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":456,"fuu":false}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":456,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":456,"fuu":true}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":456,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":456,"fuu":123}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":456,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":456,"fuu":456}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":456,"fuu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":456,"fuu":"bar"}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":456,"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":456,"fuu":"baz"}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":456,"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":456,"fuu":{}}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":456,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":456,"fuu":[]}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":456,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":456,"fuu":null}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":null}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":456,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":456,"fuu":false}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":false}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":456,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":456,"fuu":true}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":true}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":456,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":456,"fuu":123}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":123}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":456,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":456,"fuu":456}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":456}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":456,"fuu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":456,"fuu":"bar"}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":"bar"}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":456,"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":456,"fuu":"baz"}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":"baz"}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":456,"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":456,"fuu":{}}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":{}}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":456,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":456,"fuu":[]}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":[]}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":456,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":"bar","fuu":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":null}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":"bar","fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":"bar","fuu":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":false}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":"bar","fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":"bar","fuu":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":true}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":"bar","fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":"bar","fuu":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":123}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":"bar","fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":"bar","fuu":456}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":456}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":"bar","fuu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":"bar","fuu":"bar"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":"bar"}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":"bar","fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":"bar","fuu":"baz"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":"baz"}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":"bar","fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":"bar","fuu":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":{}}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":"bar","fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":"bar","fuu":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":[]}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":"bar","fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":"bar","fuu":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":null}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":"bar","fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":"bar","fuu":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":false}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":"bar","fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":"bar","fuu":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":true}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":"bar","fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":"bar","fuu":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":123}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":"bar","fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":"bar","fuu":456}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":456}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":"bar","fuu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":"bar","fuu":"bar"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":"bar"}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":"bar","fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":"bar","fuu":"baz"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":"baz"}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":"bar","fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":"bar","fuu":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":{}}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":"bar","fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":"bar","fuu":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":[]}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":"bar","fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":"bar","fuu":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":null}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":"bar","fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":"bar","fuu":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":false}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":"bar","fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":"bar","fuu":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":true}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":"bar","fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":"bar","fuu":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":123}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":"bar","fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":"bar","fuu":456}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":456}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":"bar","fuu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":"bar","fuu":"bar"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":"bar"}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":"bar","fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":"bar","fuu":"baz"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":"baz"}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":"bar","fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":"bar","fuu":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":{}}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":"bar","fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":"bar","fuu":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":[]}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":"bar","fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":"bar","fuu":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":null}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":"bar","fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":"bar","fuu":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":false}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":"bar","fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":"bar","fuu":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":true}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":"bar","fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":"bar","fuu":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":123}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":"bar","fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":"bar","fuu":456}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":456}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":"bar","fuu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":"bar","fuu":"bar"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":"bar"}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":"bar","fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":"bar","fuu":"baz"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":"baz"}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":"bar","fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":"bar","fuu":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":{}}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":"bar","fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":"bar","fuu":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"bar","fuu":[]}
json: error: <stdin>:1:13:             ^
{"foo":"bar"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":"bar","fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":"bar","fuu":null}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":"bar","fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":"bar","fuu":false}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":"bar","fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":"bar","fuu":true}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":"bar","fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":"bar","fuu":123}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":"bar","fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":"bar","fuu":456}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":"bar","fuu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":"bar","fuu":"bar"}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":"bar","fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":"bar","fuu":"baz"}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":"bar","fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":"bar","fuu":{}}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":"bar","fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":"bar","fuu":[]}'
json: error: <text>:1:128: type lib error: attribute error: invalid "list" type object: object argument ambiguity (the other is at 1:70)
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":"bar","fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":{},"fuu":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":null}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":{},"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":{},"fuu":false}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":false}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":{},"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":{},"fuu":true}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":true}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":{},"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":{},"fuu":123}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":123}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":{},"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":{},"fuu":456}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":456}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":{},"fuu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":{},"fuu":"bar"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":"bar"}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":{},"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":{},"fuu":"baz"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":"baz"}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":{},"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":{},"fuu":{}}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":{}}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":{},"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":{},"fuu":[]}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":[]}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":{},"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":{},"fuu":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":null}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":{},"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":{},"fuu":false}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":false}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":{},"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":{},"fuu":true}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":true}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":{},"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":{},"fuu":123}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":123}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":{},"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":{},"fuu":456}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":456}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":{},"fuu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":{},"fuu":"bar"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":"bar"}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":{},"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":{},"fuu":"baz"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":"baz"}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":{},"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":{},"fuu":{}}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":{}}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":{},"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":{},"fuu":[]}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":[]}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":{},"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":{},"fuu":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":null}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":{},"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":{},"fuu":false}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":false}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":{},"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":{},"fuu":true}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":true}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":{},"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":{},"fuu":123}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":123}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":{},"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":{},"fuu":456}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":456}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":{},"fuu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":{},"fuu":"bar"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":"bar"}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":{},"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":{},"fuu":"baz"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":"baz"}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":{},"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":{},"fuu":{}}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":{}}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":{},"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":{},"fuu":[]}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":[]}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":{},"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":{},"fuu":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":null}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":{},"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":{},"fuu":false}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":false}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":{},"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":{},"fuu":true}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":true}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":{},"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":{},"fuu":123}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":123}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":{},"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":{},"fuu":456}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":456}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":{},"fuu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":{},"fuu":"bar"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":"bar"}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":{},"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":{},"fuu":"baz"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":"baz"}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":{},"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":{},"fuu":{}}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":{}}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":{},"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":{},"fuu":[]}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":[]}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":{},"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":{},"fuu":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":null}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":{},"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":{},"fuu":false}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":false}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":{},"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":{},"fuu":true}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":true}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":{},"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":{},"fuu":123}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":123}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":{},"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":{},"fuu":456}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":456}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":{},"fuu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":{},"fuu":"bar"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":"bar"}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":{},"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":{},"fuu":"baz"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":"baz"}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":{},"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":{},"fuu":{}}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":{}}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":{},"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":{},"fuu":[]}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":[]}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":{},"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":[],"fuu":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":null}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":[],"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":[],"fuu":false}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":false}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":[],"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":[],"fuu":true}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":true}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":[],"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":[],"fuu":123}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":123}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":[],"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":[],"fuu":456}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":456}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":[],"fuu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":[],"fuu":"bar"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":"bar"}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":[],"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":[],"fuu":"baz"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":"baz"}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":[],"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":[],"fuu":{}}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":{}}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":[],"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":[],"fuu":[]}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":[]}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}]}' <<< '{"foo":[],"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":[],"fuu":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":null}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":[],"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":[],"fuu":false}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":false}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":[],"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":[],"fuu":true}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":true}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":[],"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":[],"fuu":123}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":123}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":[],"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":[],"fuu":456}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":456}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":[],"fuu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":[],"fuu":"bar"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":"bar"}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":[],"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":[],"fuu":"baz"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":"baz"}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":[],"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":[],"fuu":{}}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":{}}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":[],"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":[],"fuu":[]}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":[]}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}]}' <<< '{"foo":[],"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":[],"fuu":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":null}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":[],"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":[],"fuu":false}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":false}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":[],"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":[],"fuu":true}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":true}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":[],"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":[],"fuu":123}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":123}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":[],"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":[],"fuu":456}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":456}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":[],"fuu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":[],"fuu":"bar"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":"bar"}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":[],"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":[],"fuu":"baz"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":"baz"}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":[],"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":[],"fuu":{}}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":{}}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":[],"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":[],"fuu":[]}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":[]}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}]}' <<< '{"foo":[],"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":[],"fuu":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":null}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":[],"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":[],"fuu":false}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":false}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":[],"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":[],"fuu":true}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":true}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":[],"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":[],"fuu":123}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":123}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":[],"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":[],"fuu":456}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":456}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":[],"fuu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":[],"fuu":"bar"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":"bar"}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":[],"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":[],"fuu":"baz"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":"baz"}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":[],"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":[],"fuu":{}}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":{}}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":[],"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":[],"fuu":[]}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":[]}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}]}' <<< '{"foo":[],"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":[],"fuu":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":null}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":[],"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":[],"fuu":false}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":false}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":[],"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":[],"fuu":true}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":true}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":[],"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":[],"fuu":123}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":123}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":[],"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":[],"fuu":456}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":456}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":[],"fuu":456}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":[],"fuu":"bar"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":"bar"}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":[],"fuu":"bar"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":[],"fuu":"baz"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":"baz"}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":[],"fuu":"baz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":[],"fuu":{}}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":{}}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":[],"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":[],"fuu":[]}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":[]}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"foo","type":{"plain":"baz"}}]}]}' <<< '{"foo":[],"fuu":[]}'
$

--[ list-object-foo-basic-object-bar-plain-val-basic ]--------------------------

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

--[ list-object-foo-basic-object-bar-plain-val-object-fuu-basic ]---------------

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

--[ list-object-foo-basic-object-bar-plain-val-object-foo-basic ]---------------

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

--[ list-object-foo-basic-object-bar-plain-val-object-bar-basic ]---------------

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

--[ list-object-foo-basic-object-bar-plain-val-object-foo-basic-fuu-basic ]-----

#
# # 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='"baz"';; object) v0='{}';; array) v0='[]';; esac; for p in null false true 123 '"buz"'; do for v in null false true 123 '"boz"' '"buz"' '{}' '[]'; do T='{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"'"$t"'"}]},{"type":"object","args":[{"name":"bar","type":{"plain":'"$p"'}}]}]}'; c="json -d '$T' <<< '{\"foo\":$v0,\"fuu\":$v}'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":[{}],"fuu":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":null}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":[{}],"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":[{}],"fuu":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":false}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":[{}],"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":[{}],"fuu":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":true}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":[{}],"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":[{}],"fuu":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":123}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":[{}],"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":[{}],"fuu":"boz"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":"boz"}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":[{}],"fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":[{}],"fuu":"buz"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":"buz"}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":[{}],"fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":[{}],"fuu":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":{}}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":[{}],"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":[{}],"fuu":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":[]}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":[{}],"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":[{}],"fuu":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":null}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":[{}],"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":[{}],"fuu":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":false}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":[{}],"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":[{}],"fuu":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":true}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":[{}],"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":[{}],"fuu":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":123}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":[{}],"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":[{}],"fuu":"boz"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":"boz"}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":[{}],"fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":[{}],"fuu":"buz"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":"buz"}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":[{}],"fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":[{}],"fuu":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":{}}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":[{}],"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":[{}],"fuu":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":[]}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":[{}],"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":[{}],"fuu":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":null}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":[{}],"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":[{}],"fuu":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":false}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":[{}],"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":[{}],"fuu":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":true}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":[{}],"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":[{}],"fuu":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":123}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":[{}],"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":[{}],"fuu":"boz"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":"boz"}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":[{}],"fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":[{}],"fuu":"buz"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":"buz"}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":[{}],"fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":[{}],"fuu":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":{}}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":[{}],"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":[{}],"fuu":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":[]}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":[{}],"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":[{}],"fuu":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":null}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":[{}],"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":[{}],"fuu":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":false}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":[{}],"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":[{}],"fuu":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":true}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":[{}],"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":[{}],"fuu":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":123}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":[{}],"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":[{}],"fuu":"boz"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":"boz"}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":[{}],"fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":[{}],"fuu":"buz"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":"buz"}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":[{}],"fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":[{}],"fuu":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":{}}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":[{}],"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":[{}],"fuu":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":[]}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":[{}],"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":[{}],"fuu":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":null}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":[{}],"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":[{}],"fuu":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":false}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":[{}],"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":[{}],"fuu":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":true}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":[{}],"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":[{}],"fuu":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":123}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":[{}],"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":[{}],"fuu":"boz"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":"boz"}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":[{}],"fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":[{}],"fuu":"buz"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":"buz"}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":[{}],"fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":[{}],"fuu":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":{}}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":[{}],"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":[{}],"fuu":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":[{}],"fuu":[]}
json: error: <stdin>:1:12:            ^
{"foo":[{}]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":[{}],"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":null,"fuu":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":null}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":null,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":null,"fuu":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":false}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":null,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":null,"fuu":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":true}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":null,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":null,"fuu":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":123}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":null,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":null,"fuu":"boz"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":"boz"}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":null,"fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":null,"fuu":"buz"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":"buz"}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":null,"fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":null,"fuu":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":{}}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":null,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":null,"fuu":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":[]}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":null,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":null,"fuu":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":null}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":null,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":null,"fuu":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":false}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":null,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":null,"fuu":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":true}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":null,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":null,"fuu":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":123}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":null,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":null,"fuu":"boz"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":"boz"}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":null,"fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":null,"fuu":"buz"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":"buz"}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":null,"fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":null,"fuu":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":{}}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":null,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":null,"fuu":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":[]}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":null,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":null,"fuu":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":null}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":null,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":null,"fuu":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":false}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":null,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":null,"fuu":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":true}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":null,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":null,"fuu":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":123}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":null,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":null,"fuu":"boz"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":"boz"}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":null,"fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":null,"fuu":"buz"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":"buz"}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":null,"fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":null,"fuu":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":{}}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":null,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":null,"fuu":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":[]}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":null,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":null,"fuu":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":null}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":null,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":null,"fuu":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":false}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":null,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":null,"fuu":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":true}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":null,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":null,"fuu":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":123}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":null,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":null,"fuu":"boz"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":"boz"}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":null,"fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":null,"fuu":"buz"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":"buz"}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":null,"fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":null,"fuu":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":{}}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":null,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":null,"fuu":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":[]}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":null,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":null,"fuu":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":null}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":null,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":null,"fuu":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":false}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":null,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":null,"fuu":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":true}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":null,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":null,"fuu":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":123}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":null,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":null,"fuu":"boz"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":"boz"}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":null,"fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":null,"fuu":"buz"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":"buz"}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":null,"fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":null,"fuu":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":{}}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":null,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":null,"fuu":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"fuu":[]}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":null,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":false,"fuu":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":null}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":false,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":false,"fuu":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":false}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":false,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":false,"fuu":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":true}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":false,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":false,"fuu":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":123}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":false,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":false,"fuu":"boz"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":"boz"}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":false,"fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":false,"fuu":"buz"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":"buz"}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":false,"fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":false,"fuu":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":{}}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":false,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":false,"fuu":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":[]}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":false,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":false,"fuu":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":null}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":false,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":false,"fuu":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":false}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":false,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":false,"fuu":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":true}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":false,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":false,"fuu":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":123}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":false,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":false,"fuu":"boz"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":"boz"}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":false,"fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":false,"fuu":"buz"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":"buz"}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":false,"fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":false,"fuu":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":{}}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":false,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":false,"fuu":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":[]}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":false,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":false,"fuu":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":null}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":false,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":false,"fuu":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":false}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":false,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":false,"fuu":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":true}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":false,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":false,"fuu":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":123}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":false,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":false,"fuu":"boz"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":"boz"}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":false,"fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":false,"fuu":"buz"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":"buz"}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":false,"fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":false,"fuu":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":{}}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":false,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":false,"fuu":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":[]}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":false,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":false,"fuu":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":null}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":false,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":false,"fuu":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":false}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":false,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":false,"fuu":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":true}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":false,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":false,"fuu":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":123}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":false,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":false,"fuu":"boz"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":"boz"}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":false,"fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":false,"fuu":"buz"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":"buz"}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":false,"fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":false,"fuu":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":{}}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":false,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":false,"fuu":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":[]}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":false,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":false,"fuu":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":null}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":false,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":false,"fuu":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":false}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":false,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":false,"fuu":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":true}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":false,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":false,"fuu":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":123}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":false,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":false,"fuu":"boz"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":"boz"}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":false,"fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":false,"fuu":"buz"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":"buz"}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":false,"fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":false,"fuu":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":{}}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":false,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":false,"fuu":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"fuu":[]}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":false,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":456,"fuu":null}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":null}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":456,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":456,"fuu":false}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":false}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":456,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":456,"fuu":true}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":true}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":456,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":456,"fuu":123}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":123}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":456,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":456,"fuu":"boz"}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":"boz"}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":456,"fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":456,"fuu":"buz"}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":"buz"}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":456,"fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":456,"fuu":{}}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":{}}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":456,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":456,"fuu":[]}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":[]}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":456,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":456,"fuu":null}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":null}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":456,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":456,"fuu":false}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":false}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":456,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":456,"fuu":true}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":true}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":456,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":456,"fuu":123}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":123}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":456,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":456,"fuu":"boz"}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":"boz"}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":456,"fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":456,"fuu":"buz"}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":"buz"}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":456,"fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":456,"fuu":{}}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":{}}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":456,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":456,"fuu":[]}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":[]}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":456,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":456,"fuu":null}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":null}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":456,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":456,"fuu":false}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":false}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":456,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":456,"fuu":true}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":true}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":456,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":456,"fuu":123}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":123}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":456,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":456,"fuu":"boz"}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":"boz"}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":456,"fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":456,"fuu":"buz"}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":"buz"}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":456,"fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":456,"fuu":{}}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":{}}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":456,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":456,"fuu":[]}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":[]}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":456,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":456,"fuu":null}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":null}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":456,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":456,"fuu":false}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":false}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":456,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":456,"fuu":true}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":true}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":456,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":456,"fuu":123}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":123}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":456,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":456,"fuu":"boz"}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":"boz"}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":456,"fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":456,"fuu":"buz"}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":"buz"}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":456,"fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":456,"fuu":{}}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":{}}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":456,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":456,"fuu":[]}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":[]}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":456,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":456,"fuu":null}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":null}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":456,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":456,"fuu":false}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":false}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":456,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":456,"fuu":true}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":true}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":456,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":456,"fuu":123}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":123}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":456,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":456,"fuu":"boz"}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":"boz"}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":456,"fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":456,"fuu":"buz"}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":"buz"}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":456,"fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":456,"fuu":{}}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":{}}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":456,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":456,"fuu":[]}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":456,"fuu":[]}
json: error: <stdin>:1:11:           ^
{"foo":456
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":456,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":"baz","fuu":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":null}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":"baz","fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":"baz","fuu":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":false}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":"baz","fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":"baz","fuu":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":true}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":"baz","fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":"baz","fuu":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":123}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":"baz","fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":"baz","fuu":"boz"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":"boz"}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":"baz","fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":"baz","fuu":"buz"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":"buz"}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":"baz","fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":"baz","fuu":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":{}}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":"baz","fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":"baz","fuu":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":[]}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":"baz","fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":"baz","fuu":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":null}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":"baz","fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":"baz","fuu":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":false}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":"baz","fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":"baz","fuu":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":true}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":"baz","fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":"baz","fuu":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":123}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":"baz","fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":"baz","fuu":"boz"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":"boz"}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":"baz","fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":"baz","fuu":"buz"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":"buz"}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":"baz","fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":"baz","fuu":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":{}}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":"baz","fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":"baz","fuu":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":[]}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":"baz","fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":"baz","fuu":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":null}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":"baz","fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":"baz","fuu":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":false}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":"baz","fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":"baz","fuu":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":true}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":"baz","fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":"baz","fuu":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":123}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":"baz","fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":"baz","fuu":"boz"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":"boz"}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":"baz","fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":"baz","fuu":"buz"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":"buz"}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":"baz","fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":"baz","fuu":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":{}}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":"baz","fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":"baz","fuu":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":[]}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":"baz","fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":"baz","fuu":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":null}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":"baz","fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":"baz","fuu":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":false}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":"baz","fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":"baz","fuu":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":true}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":"baz","fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":"baz","fuu":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":123}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":"baz","fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":"baz","fuu":"boz"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":"boz"}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":"baz","fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":"baz","fuu":"buz"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":"buz"}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":"baz","fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":"baz","fuu":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":{}}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":"baz","fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":"baz","fuu":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":[]}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":"baz","fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":"baz","fuu":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":null}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":"baz","fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":"baz","fuu":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":false}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":"baz","fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":"baz","fuu":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":true}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":"baz","fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":"baz","fuu":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":123}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":"baz","fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":"baz","fuu":"boz"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":"boz"}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":"baz","fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":"baz","fuu":"buz"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":"buz"}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":"baz","fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":"baz","fuu":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":{}}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":"baz","fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":"baz","fuu":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"baz","fuu":[]}
json: error: <stdin>:1:13:             ^
{"foo":"baz"
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":"baz","fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":{},"fuu":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":null}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":{},"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":{},"fuu":false}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":false}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":{},"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":{},"fuu":true}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":true}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":{},"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":{},"fuu":123}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":123}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":{},"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":{},"fuu":"boz"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":"boz"}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":{},"fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":{},"fuu":"buz"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":"buz"}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":{},"fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":{},"fuu":{}}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":{}}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":{},"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":{},"fuu":[]}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":[]}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":{},"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":{},"fuu":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":null}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":{},"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":{},"fuu":false}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":false}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":{},"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":{},"fuu":true}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":true}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":{},"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":{},"fuu":123}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":123}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":{},"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":{},"fuu":"boz"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":"boz"}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":{},"fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":{},"fuu":"buz"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":"buz"}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":{},"fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":{},"fuu":{}}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":{}}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":{},"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":{},"fuu":[]}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":[]}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":{},"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":{},"fuu":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":null}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":{},"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":{},"fuu":false}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":false}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":{},"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":{},"fuu":true}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":true}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":{},"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":{},"fuu":123}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":123}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":{},"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":{},"fuu":"boz"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":"boz"}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":{},"fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":{},"fuu":"buz"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":"buz"}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":{},"fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":{},"fuu":{}}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":{}}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":{},"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":{},"fuu":[]}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":[]}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":{},"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":{},"fuu":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":null}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":{},"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":{},"fuu":false}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":false}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":{},"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":{},"fuu":true}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":true}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":{},"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":{},"fuu":123}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":123}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":{},"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":{},"fuu":"boz"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":"boz"}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":{},"fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":{},"fuu":"buz"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":"buz"}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":{},"fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":{},"fuu":{}}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":{}}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":{},"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":{},"fuu":[]}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":[]}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":{},"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":{},"fuu":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":null}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":{},"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":{},"fuu":false}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":false}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":{},"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":{},"fuu":true}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":true}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":{},"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":{},"fuu":123}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":123}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":{},"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":{},"fuu":"boz"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":"boz"}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":{},"fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":{},"fuu":"buz"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":"buz"}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":{},"fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":{},"fuu":{}}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":{}}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":{},"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":{},"fuu":[]}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"fuu":[]}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":{},"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":[],"fuu":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":null}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":[],"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":[],"fuu":false}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":false}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":[],"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":[],"fuu":true}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":true}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":[],"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":[],"fuu":123}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":123}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":[],"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":[],"fuu":"boz"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":"boz"}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":[],"fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":[],"fuu":"buz"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":"buz"}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":[],"fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":[],"fuu":{}}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":{}}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":[],"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":[],"fuu":[]}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":[]}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"foo":[],"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":[],"fuu":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":null}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":[],"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":[],"fuu":false}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":false}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":[],"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":[],"fuu":true}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":true}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":[],"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":[],"fuu":123}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":123}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":[],"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":[],"fuu":"boz"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":"boz"}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":[],"fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":[],"fuu":"buz"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":"buz"}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":[],"fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":[],"fuu":{}}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":{}}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":[],"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":[],"fuu":[]}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":[]}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"foo":[],"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":[],"fuu":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":null}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":[],"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":[],"fuu":false}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":false}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":[],"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":[],"fuu":true}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":true}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":[],"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":[],"fuu":123}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":123}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":[],"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":[],"fuu":"boz"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":"boz"}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":[],"fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":[],"fuu":"buz"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":"buz"}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":[],"fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":[],"fuu":{}}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":{}}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":[],"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":[],"fuu":[]}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":[]}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"foo":[],"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":[],"fuu":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":null}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":[],"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":[],"fuu":false}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":false}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":[],"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":[],"fuu":true}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":true}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":[],"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":[],"fuu":123}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":123}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":[],"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":[],"fuu":"boz"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":"boz"}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":[],"fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":[],"fuu":"buz"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":"buz"}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":[],"fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":[],"fuu":{}}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":{}}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":[],"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":[],"fuu":[]}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":[]}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"foo":[],"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":[],"fuu":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":null}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":[],"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":[],"fuu":false}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":false}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":[],"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":[],"fuu":true}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":true}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":[],"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":[],"fuu":123}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":123}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":[],"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":[],"fuu":"boz"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":"boz"}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":[],"fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":[],"fuu":"buz"}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":"buz"}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":[],"fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":[],"fuu":{}}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":{}}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":[],"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":[],"fuu":[]}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"fuu":[]}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"foo":[],"fuu":[]}'
$

--[ list-object-foo-basic-object-bar-plain-val-object-bar-basic-fuu-basic ]-----

#
# # 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='"baz"';; object) v0='{}';; array) v0='[]';; esac; for p in null false true 123 '"buz"'; do for v in null false true 123 '"boz"' '"buz"' '{}' '[]'; do T='{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"'"$t"'"}]},{"type":"object","args":[{"name":"bar","type":{"plain":'"$p"'}}]}]}'; c="json -d '$T' <<< '{\"bar\":$v0,\"fuu\":$v}'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":[{}],"fuu":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"bar":[{}],"fuu":null}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":[{}],"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":[{}],"fuu":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"bar":[{}],"fuu":false}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":[{}],"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":[{}],"fuu":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"bar":[{}],"fuu":true}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":[{}],"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":[{}],"fuu":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"bar":[{}],"fuu":123}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":[{}],"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":[{}],"fuu":"boz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"bar":[{}],"fuu":"boz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":[{}],"fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":[{}],"fuu":"buz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"bar":[{}],"fuu":"buz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":[{}],"fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":[{}],"fuu":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"bar":[{}],"fuu":{}}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":[{}],"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":[{}],"fuu":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"bar":[{}],"fuu":[]}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":[{}],"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":[{}],"fuu":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"bar":[{}],"fuu":null}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":[{}],"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":[{}],"fuu":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"bar":[{}],"fuu":false}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":[{}],"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":[{}],"fuu":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"bar":[{}],"fuu":true}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":[{}],"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":[{}],"fuu":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"bar":[{}],"fuu":123}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":[{}],"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":[{}],"fuu":"boz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"bar":[{}],"fuu":"boz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":[{}],"fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":[{}],"fuu":"buz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"bar":[{}],"fuu":"buz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":[{}],"fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":[{}],"fuu":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"bar":[{}],"fuu":{}}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":[{}],"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":[{}],"fuu":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"bar":[{}],"fuu":[]}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":[{}],"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":[{}],"fuu":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"bar":[{}],"fuu":null}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":[{}],"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":[{}],"fuu":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"bar":[{}],"fuu":false}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":[{}],"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":[{}],"fuu":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"bar":[{}],"fuu":true}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":[{}],"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":[{}],"fuu":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"bar":[{}],"fuu":123}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":[{}],"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":[{}],"fuu":"boz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"bar":[{}],"fuu":"boz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":[{}],"fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":[{}],"fuu":"buz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"bar":[{}],"fuu":"buz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":[{}],"fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":[{}],"fuu":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"bar":[{}],"fuu":{}}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":[{}],"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":[{}],"fuu":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"bar":[{}],"fuu":[]}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":[{}],"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":[{}],"fuu":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"bar":[{}],"fuu":null}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":[{}],"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":[{}],"fuu":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"bar":[{}],"fuu":false}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":[{}],"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":[{}],"fuu":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"bar":[{}],"fuu":true}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":[{}],"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":[{}],"fuu":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"bar":[{}],"fuu":123}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":[{}],"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":[{}],"fuu":"boz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"bar":[{}],"fuu":"boz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":[{}],"fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":[{}],"fuu":"buz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"bar":[{}],"fuu":"buz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":[{}],"fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":[{}],"fuu":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"bar":[{}],"fuu":{}}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":[{}],"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":[{}],"fuu":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"bar":[{}],"fuu":[]}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":[{}],"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":[{}],"fuu":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"buz"}'
json: error: <stdin>:1:8: {"bar":[{}],"fuu":null}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":[{}],"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":[{}],"fuu":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"buz"}'
json: error: <stdin>:1:8: {"bar":[{}],"fuu":false}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":[{}],"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":[{}],"fuu":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"buz"}'
json: error: <stdin>:1:8: {"bar":[{}],"fuu":true}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":[{}],"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":[{}],"fuu":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"buz"}'
json: error: <stdin>:1:8: {"bar":[{}],"fuu":123}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":[{}],"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":[{}],"fuu":"boz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"buz"}'
json: error: <stdin>:1:8: {"bar":[{}],"fuu":"boz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":[{}],"fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":[{}],"fuu":"buz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"buz"}'
json: error: <stdin>:1:8: {"bar":[{}],"fuu":"buz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":[{}],"fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":[{}],"fuu":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"buz"}'
json: error: <stdin>:1:8: {"bar":[{}],"fuu":{}}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":[{}],"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":[{}],"fuu":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"buz"}'
json: error: <stdin>:1:8: {"bar":[{}],"fuu":[]}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"type"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":[{}],"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":null,"fuu":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"bar":null,"fuu":null}
json: error: <stdin>:1:12:            ^
{"bar":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":null,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":null,"fuu":false}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"bar":null,"fuu":false}
json: error: <stdin>:1:12:            ^
{"bar":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":null,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":null,"fuu":true}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"bar":null,"fuu":true}
json: error: <stdin>:1:12:            ^
{"bar":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":null,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":null,"fuu":123}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"bar":null,"fuu":123}
json: error: <stdin>:1:12:            ^
{"bar":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":null,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":null,"fuu":"boz"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"bar":null,"fuu":"boz"}
json: error: <stdin>:1:12:            ^
{"bar":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":null,"fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":null,"fuu":"buz"}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"bar":null,"fuu":"buz"}
json: error: <stdin>:1:12:            ^
{"bar":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":null,"fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":null,"fuu":{}}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"bar":null,"fuu":{}}
json: error: <stdin>:1:12:            ^
{"bar":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":null,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":null,"fuu":[]}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"bar":null,"fuu":[]}
json: error: <stdin>:1:12:            ^
{"bar":null
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":null,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":null,"fuu":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"bar":null,"fuu":null}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":null,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":null,"fuu":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"bar":null,"fuu":false}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":null,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":null,"fuu":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"bar":null,"fuu":true}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":null,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":null,"fuu":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"bar":null,"fuu":123}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":null,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":null,"fuu":"boz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"bar":null,"fuu":"boz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":null,"fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":null,"fuu":"buz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"bar":null,"fuu":"buz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":null,"fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":null,"fuu":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"bar":null,"fuu":{}}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":null,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":null,"fuu":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"bar":null,"fuu":[]}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":null,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":null,"fuu":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"bar":null,"fuu":null}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":null,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":null,"fuu":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"bar":null,"fuu":false}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":null,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":null,"fuu":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"bar":null,"fuu":true}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":null,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":null,"fuu":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"bar":null,"fuu":123}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":null,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":null,"fuu":"boz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"bar":null,"fuu":"boz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":null,"fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":null,"fuu":"buz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"bar":null,"fuu":"buz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":null,"fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":null,"fuu":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"bar":null,"fuu":{}}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":null,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":null,"fuu":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"bar":null,"fuu":[]}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":null,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":null,"fuu":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"bar":null,"fuu":null}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":null,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":null,"fuu":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"bar":null,"fuu":false}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":null,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":null,"fuu":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"bar":null,"fuu":true}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":null,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":null,"fuu":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"bar":null,"fuu":123}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":null,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":null,"fuu":"boz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"bar":null,"fuu":"boz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":null,"fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":null,"fuu":"buz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"bar":null,"fuu":"buz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":null,"fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":null,"fuu":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"bar":null,"fuu":{}}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":null,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":null,"fuu":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"bar":null,"fuu":[]}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":null,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":null,"fuu":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"buz"}'
json: error: <stdin>:1:8: {"bar":null,"fuu":null}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":null,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":null,"fuu":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"buz"}'
json: error: <stdin>:1:8: {"bar":null,"fuu":false}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":null,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":null,"fuu":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"buz"}'
json: error: <stdin>:1:8: {"bar":null,"fuu":true}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":null,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":null,"fuu":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"buz"}'
json: error: <stdin>:1:8: {"bar":null,"fuu":123}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":null,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":null,"fuu":"boz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"buz"}'
json: error: <stdin>:1:8: {"bar":null,"fuu":"boz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":null,"fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":null,"fuu":"buz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"buz"}'
json: error: <stdin>:1:8: {"bar":null,"fuu":"buz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":null,"fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":null,"fuu":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"buz"}'
json: error: <stdin>:1:8: {"bar":null,"fuu":{}}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":null,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":null,"fuu":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"buz"}'
json: error: <stdin>:1:8: {"bar":null,"fuu":[]}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"null"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":null,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":false,"fuu":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"bar":false,"fuu":null}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":false,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":false,"fuu":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"bar":false,"fuu":false}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":false,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":false,"fuu":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"bar":false,"fuu":true}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":false,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":false,"fuu":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"bar":false,"fuu":123}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":false,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":false,"fuu":"boz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"bar":false,"fuu":"boz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":false,"fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":false,"fuu":"buz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"bar":false,"fuu":"buz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":false,"fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":false,"fuu":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"bar":false,"fuu":{}}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":false,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":false,"fuu":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"bar":false,"fuu":[]}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":false,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":false,"fuu":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"bar":false,"fuu":null}
json: error: <stdin>:1:13:             ^
{"bar":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":false,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":false,"fuu":false}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"bar":false,"fuu":false}
json: error: <stdin>:1:13:             ^
{"bar":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":false,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":false,"fuu":true}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"bar":false,"fuu":true}
json: error: <stdin>:1:13:             ^
{"bar":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":false,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":false,"fuu":123}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"bar":false,"fuu":123}
json: error: <stdin>:1:13:             ^
{"bar":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":false,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":false,"fuu":"boz"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"bar":false,"fuu":"boz"}
json: error: <stdin>:1:13:             ^
{"bar":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":false,"fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":false,"fuu":"buz"}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"bar":false,"fuu":"buz"}
json: error: <stdin>:1:13:             ^
{"bar":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":false,"fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":false,"fuu":{}}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"bar":false,"fuu":{}}
json: error: <stdin>:1:13:             ^
{"bar":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":false,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":false,"fuu":[]}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"bar":false,"fuu":[]}
json: error: <stdin>:1:13:             ^
{"bar":false
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":false,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":false,"fuu":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"bar":false,"fuu":null}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":false,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":false,"fuu":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"bar":false,"fuu":false}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":false,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":false,"fuu":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"bar":false,"fuu":true}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":false,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":false,"fuu":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"bar":false,"fuu":123}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":false,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":false,"fuu":"boz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"bar":false,"fuu":"boz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":false,"fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":false,"fuu":"buz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"bar":false,"fuu":"buz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":false,"fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":false,"fuu":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"bar":false,"fuu":{}}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":false,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":false,"fuu":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"bar":false,"fuu":[]}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":false,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":false,"fuu":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"bar":false,"fuu":null}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":false,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":false,"fuu":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"bar":false,"fuu":false}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":false,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":false,"fuu":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"bar":false,"fuu":true}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":false,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":false,"fuu":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"bar":false,"fuu":123}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":false,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":false,"fuu":"boz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"bar":false,"fuu":"boz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":false,"fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":false,"fuu":"buz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"bar":false,"fuu":"buz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":false,"fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":false,"fuu":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"bar":false,"fuu":{}}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":false,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":false,"fuu":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"bar":false,"fuu":[]}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":false,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":false,"fuu":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"buz"}'
json: error: <stdin>:1:8: {"bar":false,"fuu":null}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":false,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":false,"fuu":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"buz"}'
json: error: <stdin>:1:8: {"bar":false,"fuu":false}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":false,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":false,"fuu":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"buz"}'
json: error: <stdin>:1:8: {"bar":false,"fuu":true}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":false,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":false,"fuu":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"buz"}'
json: error: <stdin>:1:8: {"bar":false,"fuu":123}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":false,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":false,"fuu":"boz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"buz"}'
json: error: <stdin>:1:8: {"bar":false,"fuu":"boz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":false,"fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":false,"fuu":"buz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"buz"}'
json: error: <stdin>:1:8: {"bar":false,"fuu":"buz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":false,"fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":false,"fuu":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"buz"}'
json: error: <stdin>:1:8: {"bar":false,"fuu":{}}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":false,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":false,"fuu":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"buz"}'
json: error: <stdin>:1:8: {"bar":false,"fuu":[]}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"boolean"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":false,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":456,"fuu":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"bar":456,"fuu":null}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":456,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":456,"fuu":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"bar":456,"fuu":false}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":456,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":456,"fuu":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"bar":456,"fuu":true}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":456,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":456,"fuu":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"bar":456,"fuu":123}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":456,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":456,"fuu":"boz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"bar":456,"fuu":"boz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":456,"fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":456,"fuu":"buz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"bar":456,"fuu":"buz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":456,"fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":456,"fuu":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"bar":456,"fuu":{}}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":456,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":456,"fuu":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"bar":456,"fuu":[]}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":456,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":456,"fuu":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"bar":456,"fuu":null}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":456,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":456,"fuu":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"bar":456,"fuu":false}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":456,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":456,"fuu":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"bar":456,"fuu":true}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":456,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":456,"fuu":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"bar":456,"fuu":123}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":456,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":456,"fuu":"boz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"bar":456,"fuu":"boz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":456,"fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":456,"fuu":"buz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"bar":456,"fuu":"buz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":456,"fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":456,"fuu":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"bar":456,"fuu":{}}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":456,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":456,"fuu":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"bar":456,"fuu":[]}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":456,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":456,"fuu":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"bar":456,"fuu":null}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":456,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":456,"fuu":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"bar":456,"fuu":false}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":456,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":456,"fuu":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"bar":456,"fuu":true}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":456,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":456,"fuu":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"bar":456,"fuu":123}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":456,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":456,"fuu":"boz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"bar":456,"fuu":"boz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":456,"fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":456,"fuu":"buz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"bar":456,"fuu":"buz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":456,"fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":456,"fuu":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"bar":456,"fuu":{}}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":456,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":456,"fuu":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"bar":456,"fuu":[]}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":456,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":456,"fuu":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"bar":456,"fuu":null}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":456,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":456,"fuu":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"bar":456,"fuu":false}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":456,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":456,"fuu":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"bar":456,"fuu":true}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":456,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":456,"fuu":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"bar":456,"fuu":123}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":456,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":456,"fuu":"boz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"bar":456,"fuu":"boz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":456,"fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":456,"fuu":"buz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"bar":456,"fuu":"buz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":456,"fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":456,"fuu":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"bar":456,"fuu":{}}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":456,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":456,"fuu":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"bar":456,"fuu":[]}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":456,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":456,"fuu":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"buz"}'
json: error: <stdin>:1:8: {"bar":456,"fuu":null}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":456,"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":456,"fuu":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"buz"}'
json: error: <stdin>:1:8: {"bar":456,"fuu":false}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":456,"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":456,"fuu":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"buz"}'
json: error: <stdin>:1:8: {"bar":456,"fuu":true}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":456,"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":456,"fuu":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"buz"}'
json: error: <stdin>:1:8: {"bar":456,"fuu":123}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":456,"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":456,"fuu":"boz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"buz"}'
json: error: <stdin>:1:8: {"bar":456,"fuu":"boz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":456,"fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":456,"fuu":"buz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"buz"}'
json: error: <stdin>:1:8: {"bar":456,"fuu":"buz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":456,"fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":456,"fuu":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"buz"}'
json: error: <stdin>:1:8: {"bar":456,"fuu":{}}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":456,"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":456,"fuu":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"buz"}'
json: error: <stdin>:1:8: {"bar":456,"fuu":[]}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"number"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":456,"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":"baz","fuu":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"bar":"baz","fuu":null}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":"baz","fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":"baz","fuu":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"bar":"baz","fuu":false}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":"baz","fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":"baz","fuu":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"bar":"baz","fuu":true}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":"baz","fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":"baz","fuu":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"bar":"baz","fuu":123}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":"baz","fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":"baz","fuu":"boz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"bar":"baz","fuu":"boz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":"baz","fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":"baz","fuu":"buz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"bar":"baz","fuu":"buz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":"baz","fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":"baz","fuu":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"bar":"baz","fuu":{}}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":"baz","fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":"baz","fuu":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"bar":"baz","fuu":[]}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":"baz","fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":"baz","fuu":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"bar":"baz","fuu":null}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":"baz","fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":"baz","fuu":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"bar":"baz","fuu":false}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":"baz","fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":"baz","fuu":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"bar":"baz","fuu":true}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":"baz","fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":"baz","fuu":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"bar":"baz","fuu":123}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":"baz","fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":"baz","fuu":"boz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"bar":"baz","fuu":"boz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":"baz","fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":"baz","fuu":"buz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"bar":"baz","fuu":"buz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":"baz","fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":"baz","fuu":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"bar":"baz","fuu":{}}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":"baz","fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":"baz","fuu":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"bar":"baz","fuu":[]}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":"baz","fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":"baz","fuu":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"bar":"baz","fuu":null}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":"baz","fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":"baz","fuu":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"bar":"baz","fuu":false}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":"baz","fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":"baz","fuu":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"bar":"baz","fuu":true}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":"baz","fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":"baz","fuu":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"bar":"baz","fuu":123}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":"baz","fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":"baz","fuu":"boz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"bar":"baz","fuu":"boz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":"baz","fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":"baz","fuu":"buz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"bar":"baz","fuu":"buz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":"baz","fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":"baz","fuu":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"bar":"baz","fuu":{}}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":"baz","fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":"baz","fuu":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"bar":"baz","fuu":[]}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":"baz","fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":"baz","fuu":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"bar":"baz","fuu":null}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":"baz","fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":"baz","fuu":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"bar":"baz","fuu":false}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":"baz","fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":"baz","fuu":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"bar":"baz","fuu":true}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":"baz","fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":"baz","fuu":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"bar":"baz","fuu":123}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":"baz","fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":"baz","fuu":"boz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"bar":"baz","fuu":"boz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":"baz","fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":"baz","fuu":"buz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"bar":"baz","fuu":"buz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":"baz","fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":"baz","fuu":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"bar":"baz","fuu":{}}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":"baz","fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":"baz","fuu":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"bar":"baz","fuu":[]}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":"baz","fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":"baz","fuu":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"buz"}'
json: error: <stdin>:1:8: {"bar":"baz","fuu":null}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":"baz","fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":"baz","fuu":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"buz"}'
json: error: <stdin>:1:8: {"bar":"baz","fuu":false}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":"baz","fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":"baz","fuu":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"buz"}'
json: error: <stdin>:1:8: {"bar":"baz","fuu":true}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":"baz","fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":"baz","fuu":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"buz"}'
json: error: <stdin>:1:8: {"bar":"baz","fuu":123}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":"baz","fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":"baz","fuu":"boz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"buz"}'
json: error: <stdin>:1:8: {"bar":"baz","fuu":"boz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":"baz","fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":"baz","fuu":"buz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"buz"}'
json: error: <stdin>:1:8: {"bar":"baz","fuu":"buz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":"baz","fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":"baz","fuu":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"buz"}'
json: error: <stdin>:1:8: {"bar":"baz","fuu":{}}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":"baz","fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":"baz","fuu":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"buz"}'
json: error: <stdin>:1:8: {"bar":"baz","fuu":[]}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"string"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":"baz","fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":{},"fuu":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"bar":{},"fuu":null}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":{},"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":{},"fuu":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"bar":{},"fuu":false}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":{},"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":{},"fuu":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"bar":{},"fuu":true}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":{},"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":{},"fuu":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"bar":{},"fuu":123}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":{},"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":{},"fuu":"boz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"bar":{},"fuu":"boz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":{},"fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":{},"fuu":"buz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"bar":{},"fuu":"buz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":{},"fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":{},"fuu":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"bar":{},"fuu":{}}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":{},"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":{},"fuu":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"bar":{},"fuu":[]}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":{},"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":{},"fuu":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"bar":{},"fuu":null}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":{},"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":{},"fuu":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"bar":{},"fuu":false}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":{},"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":{},"fuu":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"bar":{},"fuu":true}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":{},"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":{},"fuu":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"bar":{},"fuu":123}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":{},"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":{},"fuu":"boz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"bar":{},"fuu":"boz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":{},"fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":{},"fuu":"buz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"bar":{},"fuu":"buz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":{},"fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":{},"fuu":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"bar":{},"fuu":{}}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":{},"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":{},"fuu":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"bar":{},"fuu":[]}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":{},"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":{},"fuu":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"bar":{},"fuu":null}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":{},"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":{},"fuu":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"bar":{},"fuu":false}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":{},"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":{},"fuu":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"bar":{},"fuu":true}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":{},"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":{},"fuu":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"bar":{},"fuu":123}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":{},"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":{},"fuu":"boz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"bar":{},"fuu":"boz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":{},"fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":{},"fuu":"buz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"bar":{},"fuu":"buz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":{},"fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":{},"fuu":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"bar":{},"fuu":{}}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":{},"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":{},"fuu":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"bar":{},"fuu":[]}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":{},"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":{},"fuu":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"bar":{},"fuu":null}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":{},"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":{},"fuu":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"bar":{},"fuu":false}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":{},"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":{},"fuu":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"bar":{},"fuu":true}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":{},"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":{},"fuu":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"bar":{},"fuu":123}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":{},"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":{},"fuu":"boz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"bar":{},"fuu":"boz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":{},"fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":{},"fuu":"buz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"bar":{},"fuu":"buz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":{},"fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":{},"fuu":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"bar":{},"fuu":{}}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":{},"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":{},"fuu":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"bar":{},"fuu":[]}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":{},"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":{},"fuu":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"buz"}'
json: error: <stdin>:1:8: {"bar":{},"fuu":null}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":{},"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":{},"fuu":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"buz"}'
json: error: <stdin>:1:8: {"bar":{},"fuu":false}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":{},"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":{},"fuu":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"buz"}'
json: error: <stdin>:1:8: {"bar":{},"fuu":true}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":{},"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":{},"fuu":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"buz"}'
json: error: <stdin>:1:8: {"bar":{},"fuu":123}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":{},"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":{},"fuu":"boz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"buz"}'
json: error: <stdin>:1:8: {"bar":{},"fuu":"boz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":{},"fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":{},"fuu":"buz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"buz"}'
json: error: <stdin>:1:8: {"bar":{},"fuu":"buz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":{},"fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":{},"fuu":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"buz"}'
json: error: <stdin>:1:8: {"bar":{},"fuu":{}}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":{},"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":{},"fuu":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"buz"}'
json: error: <stdin>:1:8: {"bar":{},"fuu":[]}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"object"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":{},"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":[],"fuu":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"bar":[],"fuu":null}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":[],"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":[],"fuu":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"bar":[],"fuu":false}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":[],"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":[],"fuu":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"bar":[],"fuu":true}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":[],"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":[],"fuu":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"bar":[],"fuu":123}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":[],"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":[],"fuu":"boz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"bar":[],"fuu":"boz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":[],"fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":[],"fuu":"buz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"bar":[],"fuu":"buz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":[],"fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":[],"fuu":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"bar":[],"fuu":{}}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":[],"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":[],"fuu":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"bar":[],"fuu":[]}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":null}}]}]}' <<< '{"bar":[],"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":[],"fuu":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"bar":[],"fuu":null}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":[],"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":[],"fuu":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"bar":[],"fuu":false}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":[],"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":[],"fuu":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"bar":[],"fuu":true}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":[],"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":[],"fuu":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"bar":[],"fuu":123}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":[],"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":[],"fuu":"boz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"bar":[],"fuu":"boz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":[],"fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":[],"fuu":"buz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"bar":[],"fuu":"buz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":[],"fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":[],"fuu":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"bar":[],"fuu":{}}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":[],"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":[],"fuu":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"bar":[],"fuu":[]}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":false}}]}]}' <<< '{"bar":[],"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":[],"fuu":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"bar":[],"fuu":null}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":[],"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":[],"fuu":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"bar":[],"fuu":false}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":[],"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":[],"fuu":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"bar":[],"fuu":true}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":[],"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":[],"fuu":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"bar":[],"fuu":123}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":[],"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":[],"fuu":"boz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"bar":[],"fuu":"boz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":[],"fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":[],"fuu":"buz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"bar":[],"fuu":"buz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":[],"fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":[],"fuu":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"bar":[],"fuu":{}}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":[],"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":[],"fuu":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"bar":[],"fuu":[]}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":true}}]}]}' <<< '{"bar":[],"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":[],"fuu":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"bar":[],"fuu":null}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":[],"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":[],"fuu":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"bar":[],"fuu":false}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":[],"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":[],"fuu":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"bar":[],"fuu":true}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":[],"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":[],"fuu":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"bar":[],"fuu":123}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":[],"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":[],"fuu":"boz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"bar":[],"fuu":"boz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":[],"fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":[],"fuu":"buz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"bar":[],"fuu":"buz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":[],"fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":[],"fuu":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"bar":[],"fuu":{}}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":[],"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":[],"fuu":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"bar":[],"fuu":[]}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":123}}]}]}' <<< '{"bar":[],"fuu":[]}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":[],"fuu":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"buz"}'
json: error: <stdin>:1:8: {"bar":[],"fuu":null}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":[],"fuu":null}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":[],"fuu":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"buz"}'
json: error: <stdin>:1:8: {"bar":[],"fuu":false}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":[],"fuu":false}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":[],"fuu":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"buz"}'
json: error: <stdin>:1:8: {"bar":[],"fuu":true}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":[],"fuu":true}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":[],"fuu":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"buz"}'
json: error: <stdin>:1:8: {"bar":[],"fuu":123}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":[],"fuu":123}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":[],"fuu":"boz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"buz"}'
json: error: <stdin>:1:8: {"bar":[],"fuu":"boz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":[],"fuu":"boz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":[],"fuu":"buz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"buz"}'
json: error: <stdin>:1:8: {"bar":[],"fuu":"buz"}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":[],"fuu":"buz"}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":[],"fuu":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"buz"}'
json: error: <stdin>:1:8: {"bar":[],"fuu":{}}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":[],"fuu":{}}'
$ json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":[],"fuu":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"buz"}'
json: error: <stdin>:1:8: {"bar":[],"fuu":[]}
json: error: <stdin>:1:8:        ^
{"bar":
command failed: json -d '{"type":"list","args":[{"type":"object","args":[{"name":"foo","type":"array"}]},{"type":"object","args":[{"name":"bar","type":{"plain":"buz"}}]}]}' <<< '{"bar":[],"fuu":[]}'
$

--[ list-open-array-basic-val-basic ]-------------------------------------------

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

--[ list-open-array-basic-val-array-empty ]-------------------------------------

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

--[ list-open-array-basic-val-array-basic ]-------------------------------------

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

--[ list-open-array-basic-val-array-basic-basic ]-------------------------------

#
# # 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 T='{"type":"list","args":[{"type":"array","args":"'"$t"'"}]}'; c="json -d '$T' <<< '[$v0,$v]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"list","args":[{"type":"array","args":"type"}]}' <<< '[[{}],null]'
[[{}],null]
$ json -d '{"type":"list","args":[{"type":"array","args":"type"}]}' <<< '[[{}],false]'
[[{}],false]
$ json -d '{"type":"list","args":[{"type":"array","args":"type"}]}' <<< '[[{}],true]'
[[{}],true]
$ json -d '{"type":"list","args":[{"type":"array","args":"type"}]}' <<< '[[{}],123]'
[[{}],123]
$ json -d '{"type":"list","args":[{"type":"array","args":"type"}]}' <<< '[[{}],"foo"]'
[[{}],"foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":"type"}]}' <<< '[[{}],{}]'
[[{}],{}]
$ json -d '{"type":"list","args":[{"type":"array","args":"type"}]}' <<< '[[{}],[]]'
[[{}],[]]
$ json -d '{"type":"list","args":[{"type":"array","args":"null"}]}' <<< '[null,null]'
[null,null]
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":"null"}]}' <<< '[null,false]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":"null"}]}' <<< '[null,true]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":"null"}]}' <<< '[null,123]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":"null"}]}' <<< '[null,"foo"]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":"null"}]}' <<< '[null,{}]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":"null"}]}' <<< '[null,[]]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":"boolean"}]}' <<< '[false,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"}]}' <<< '[false,false]'
[false,false]
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"}]}' <<< '[false,true]'
[false,true]
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":"boolean"}]}' <<< '[false,123]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":"boolean"}]}' <<< '[false,"foo"]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":"boolean"}]}' <<< '[false,{}]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":"boolean"}]}' <<< '[false,[]]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":"number"}]}' <<< '[456,null]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":"number"}]}' <<< '[456,false]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":"number"}]}' <<< '[456,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"}]}' <<< '[456,123]'
[456,123]
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":"number"}]}' <<< '[456,"foo"]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":"number"}]}' <<< '[456,{}]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":"number"}]}' <<< '[456,[]]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":"string"}]}' <<< '["bar",null]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":"string"}]}' <<< '["bar",false]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":"string"}]}' <<< '["bar",true]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":"string"}]}' <<< '["bar",123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"}]}' <<< '["bar","foo"]'
["bar","foo"]
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":"string"}]}' <<< '["bar",{}]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":"string"}]}' <<< '["bar",[]]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":"object"}]}' <<< '[{},null]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":"object"}]}' <<< '[{},false]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":"object"}]}' <<< '[{},true]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":"object"}]}' <<< '[{},123]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":"object"}]}' <<< '[{},"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"}]}' <<< '[{},{}]'
[{},{}]
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":"object"}]}' <<< '[{},[]]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":"array"}]}' <<< '[[],null]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":"array"}]}' <<< '[[],false]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":"array"}]}' <<< '[[],true]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":"array"}]}' <<< '[[],123]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":"array"}]}' <<< '[[],"foo"]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":"array"}]}' <<< '[[],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"}]}' <<< '[[],[]]'
[[],[]]
$

--[ list-closed-array-empty-val-basic ]-----------------------------------------

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

--[ list-closed-array-empty-val-array-empty ]-----------------------------------

$ json -d '{"type":"list","args":[{"type":"array","args":[]}]}' <<< '[]'
[]
$

--[ list-closed-array-empty-val-array-basic ]-----------------------------------

#
# # meta command:
# $ for v in null false true 123 '"foo"' '{}' '[]'; do T='{"type":"list","args":[{"type":"array","args":[]}]}'; c="json -d '$T' <<< '[$v]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done
#
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":[]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":[]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":[]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":[]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":[]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":[]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":[]}]}' <<< '[[]]'
$

--[ list-closed-array-empty-val-array-basic-basic ]-----------------------------

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

--[ list-closed-array-empty-closed-array-basic-val-basic ]----------------------

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

--[ list-closed-array-empty-closed-array-basic-val-array-empty ]----------------

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

--[ list-closed-array-empty-closed-array-basic-val-array-basic ]----------------

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

--[ list-closed-array-empty-closed-array-basic-val-array-basic-basic ]----------

#
# # 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 456 '"bar"' '{}' '[]'; do T='{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":["'"$t"'"]}]}'; c="json -d '$T' <<< '[$v0,$v]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"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":"list","args":[{"type":"array","args":[]},{"type":"array","args":["type"]}]}' <<< '[[{}],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"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":"list","args":[{"type":"array","args":[]},{"type":"array","args":["type"]}]}' <<< '[[{}],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"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":"list","args":[{"type":"array","args":[]},{"type":"array","args":["type"]}]}' <<< '[[{}],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":["type"]}]}' <<< '[[{}],456]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [[{}],456]
json: error: <stdin>:1:6:      ^
[[{}]
command failed: json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":["type"]}]}' <<< '[[{}],456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":["type"]}]}' <<< '[[{}],"bar"]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [[{}],"bar"]
json: error: <stdin>:1:6:      ^
[[{}]
command failed: json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":["type"]}]}' <<< '[[{}],"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"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":"list","args":[{"type":"array","args":[]},{"type":"array","args":["type"]}]}' <<< '[[{}],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"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":"list","args":[{"type":"array","args":[]},{"type":"array","args":["type"]}]}' <<< '[[{}],[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"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":"list","args":[{"type":"array","args":[]},{"type":"array","args":["null"]}]}' <<< '[null,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"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":"list","args":[{"type":"array","args":[]},{"type":"array","args":["null"]}]}' <<< '[null,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"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":"list","args":[{"type":"array","args":[]},{"type":"array","args":["null"]}]}' <<< '[null,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":["null"]}]}' <<< '[null,456]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [null,456]
json: error: <stdin>:1:6:      ^
[null
command failed: json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":["null"]}]}' <<< '[null,456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":["null"]}]}' <<< '[null,"bar"]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [null,"bar"]
json: error: <stdin>:1:6:      ^
[null
command failed: json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":["null"]}]}' <<< '[null,"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"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":"list","args":[{"type":"array","args":[]},{"type":"array","args":["null"]}]}' <<< '[null,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"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":"list","args":[{"type":"array","args":[]},{"type":"array","args":["null"]}]}' <<< '[null,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"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":"list","args":[{"type":"array","args":[]},{"type":"array","args":["boolean"]}]}' <<< '[false,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"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":"list","args":[{"type":"array","args":[]},{"type":"array","args":["boolean"]}]}' <<< '[false,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"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":"list","args":[{"type":"array","args":[]},{"type":"array","args":["boolean"]}]}' <<< '[false,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":["boolean"]}]}' <<< '[false,456]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: [false,456]
json: error: <stdin>:1:7:       ^
[false
command failed: json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":["boolean"]}]}' <<< '[false,456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":["boolean"]}]}' <<< '[false,"bar"]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: [false,"bar"]
json: error: <stdin>:1:7:       ^
[false
command failed: json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":["boolean"]}]}' <<< '[false,"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"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":"list","args":[{"type":"array","args":[]},{"type":"array","args":["boolean"]}]}' <<< '[false,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"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":"list","args":[{"type":"array","args":[]},{"type":"array","args":["boolean"]}]}' <<< '[false,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"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":"list","args":[{"type":"array","args":[]},{"type":"array","args":["number"]}]}' <<< '[456,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"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":"list","args":[{"type":"array","args":[]},{"type":"array","args":["number"]}]}' <<< '[456,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"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":"list","args":[{"type":"array","args":[]},{"type":"array","args":["number"]}]}' <<< '[456,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":["number"]}]}' <<< '[456,456]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [456,456]
json: error: <stdin>:1:5:     ^
[456
command failed: json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":["number"]}]}' <<< '[456,456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":["number"]}]}' <<< '[456,"bar"]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [456,"bar"]
json: error: <stdin>:1:5:     ^
[456
command failed: json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":["number"]}]}' <<< '[456,"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"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":"list","args":[{"type":"array","args":[]},{"type":"array","args":["number"]}]}' <<< '[456,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"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":"list","args":[{"type":"array","args":[]},{"type":"array","args":["number"]}]}' <<< '[456,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"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":"list","args":[{"type":"array","args":[]},{"type":"array","args":["string"]}]}' <<< '["bar",null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"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":"list","args":[{"type":"array","args":[]},{"type":"array","args":["string"]}]}' <<< '["bar",false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"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":"list","args":[{"type":"array","args":[]},{"type":"array","args":["string"]}]}' <<< '["bar",true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":["string"]}]}' <<< '["bar",456]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["bar",456]
json: error: <stdin>:1:7:       ^
["bar"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":["string"]}]}' <<< '["bar",456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":["string"]}]}' <<< '["bar","bar"]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["bar","bar"]
json: error: <stdin>:1:7:       ^
["bar"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":["string"]}]}' <<< '["bar","bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"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":"list","args":[{"type":"array","args":[]},{"type":"array","args":["string"]}]}' <<< '["bar",{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"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":"list","args":[{"type":"array","args":[]},{"type":"array","args":["string"]}]}' <<< '["bar",[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"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":"list","args":[{"type":"array","args":[]},{"type":"array","args":["object"]}]}' <<< '[{},null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"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":"list","args":[{"type":"array","args":[]},{"type":"array","args":["object"]}]}' <<< '[{},false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"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":"list","args":[{"type":"array","args":[]},{"type":"array","args":["object"]}]}' <<< '[{},true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":["object"]}]}' <<< '[{},456]'
json: error: <stdin>:1:4: type check error: too many arguments
json: error: <stdin>:1:4: [{},456]
json: error: <stdin>:1:4:    ^
[{}
command failed: json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":["object"]}]}' <<< '[{},456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":["object"]}]}' <<< '[{},"bar"]'
json: error: <stdin>:1:4: type check error: too many arguments
json: error: <stdin>:1:4: [{},"bar"]
json: error: <stdin>:1:4:    ^
[{}
command failed: json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":["object"]}]}' <<< '[{},"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"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":"list","args":[{"type":"array","args":[]},{"type":"array","args":["object"]}]}' <<< '[{},{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"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":"list","args":[{"type":"array","args":[]},{"type":"array","args":["object"]}]}' <<< '[{},[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"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":"list","args":[{"type":"array","args":[]},{"type":"array","args":["array"]}]}' <<< '[[],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"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":"list","args":[{"type":"array","args":[]},{"type":"array","args":["array"]}]}' <<< '[[],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"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":"list","args":[{"type":"array","args":[]},{"type":"array","args":["array"]}]}' <<< '[[],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":["array"]}]}' <<< '[[],456]'
json: error: <stdin>:1:4: type check error: too many arguments
json: error: <stdin>:1:4: [[],456]
json: error: <stdin>:1:4:    ^
[[]
command failed: json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":["array"]}]}' <<< '[[],456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":["array"]}]}' <<< '[[],"bar"]'
json: error: <stdin>:1:4: type check error: too many arguments
json: error: <stdin>:1:4: [[],"bar"]
json: error: <stdin>:1:4:    ^
[[]
command failed: json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":["array"]}]}' <<< '[[],"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"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":"list","args":[{"type":"array","args":[]},{"type":"array","args":["array"]}]}' <<< '[[],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"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":"list","args":[{"type":"array","args":[]},{"type":"array","args":["array"]}]}' <<< '[[],[]]'
$

--[ list-closed-array-empty-closed-array-plain-val-basic ]----------------------

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

--[ list-closed-array-empty-closed-array-plain-val-array-empty ]----------------

#
# # meta command:
# $ for p in null false true 123 '"foo"'; do T='{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":'"$p"'}]}]}'; c="json -d '$T' <<< '[]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done
#
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":null}]}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":123}]}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[]'
[]
$

--[ list-closed-array-empty-closed-array-plain-val-array-basic ]----------------

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

--[ list-closed-array-empty-closed-array-plain-val-array-basic-basic ]----------

#
# # meta command:
# $ for p in null false true 123 '"foo"'; do for v in null false true 123 456 '"foo"' '"bar"' '{}' '[]'; do T='{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":'"$p"'}]}]}'; c="json -d '$T' <<< '[$p,$v]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":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":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":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":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":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":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":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":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,456]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [null,456]
json: error: <stdin>:1:6:      ^
[null
command failed: json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":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":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,"bar"]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [null,"bar"]
json: error: <stdin>:1:6:      ^
[null
command failed: json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":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":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":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":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,456]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: [false,456]
json: error: <stdin>:1:7:       ^
[false
command failed: json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,"bar"]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: [false,"bar"]
json: error: <stdin>:1:7:       ^
[false
command failed: json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,null]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,null]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,false]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,false]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,true]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,true]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,123]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,123]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,456]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,456]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,"foo"]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,"foo"]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,"bar"]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,"bar"]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,{}]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,{}]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,[]]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,[]]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,null]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,null]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,false]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,false]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,true]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,true]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,123]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,123]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,456]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,456]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,"foo"]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,"foo"]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,"bar"]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,"bar"]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,{}]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,{}]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,[]]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,[]]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",null]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",null]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",false]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",false]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",true]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",true]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",123]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",123]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",123]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",456]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",456]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo","foo"]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo","foo"]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo","foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo","bar"]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo","bar"]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo","bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",{}]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",{}]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",[]]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",[]]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",[]]'
$

--[ list-closed-array-basic-val-basic ]-----------------------------------------

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

--[ list-closed-array-basic-val-array-empty ]-----------------------------------

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

--[ list-closed-array-basic-val-array-basic ]-----------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for v in null false true 123 '"foo"' '{}' '[]'; do T='{"type":"list","args":[{"type":"array","args":["'"$t"'"]}]}'; c="json -d '$T' <<< '[$v]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["null"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["null"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["null"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["null"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["null"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["null"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["boolean"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["boolean"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["boolean"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["boolean"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["boolean"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["number"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["number"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["number"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["number"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["number"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["number"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["string"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["string"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["string"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["string"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["string"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["string"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["object"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["object"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["object"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["object"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["object"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["object"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["array"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["array"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["array"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["array"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["array"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["array"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]}]}' <<< '[[]]'
[[]]
$

--[ list-closed-array-basic-val-array-basic-basic ]-----------------------------

#
# # 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 T='{"type":"list","args":[{"type":"array","args":["'"$t"'"]}]}'; c="json -d '$T' <<< '[$v0,$v]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["type"]}]}' <<< '[[{}],null]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["type"]}]}' <<< '[[{}],false]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["type"]}]}' <<< '[[{}],true]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["type"]}]}' <<< '[[{}],123]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["type"]}]}' <<< '[[{}],"foo"]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["type"]}]}' <<< '[[{}],{}]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["type"]}]}' <<< '[[{}],[]]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["null"]}]}' <<< '[null,null]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["null"]}]}' <<< '[null,false]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["null"]}]}' <<< '[null,true]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["null"]}]}' <<< '[null,123]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["null"]}]}' <<< '[null,"foo"]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["null"]}]}' <<< '[null,{}]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["null"]}]}' <<< '[null,[]]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["boolean"]}]}' <<< '[false,null]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["boolean"]}]}' <<< '[false,false]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["boolean"]}]}' <<< '[false,true]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["boolean"]}]}' <<< '[false,123]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["boolean"]}]}' <<< '[false,"foo"]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["boolean"]}]}' <<< '[false,{}]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["boolean"]}]}' <<< '[false,[]]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["number"]}]}' <<< '[456,null]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["number"]}]}' <<< '[456,false]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["number"]}]}' <<< '[456,true]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["number"]}]}' <<< '[456,123]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["number"]}]}' <<< '[456,"foo"]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["number"]}]}' <<< '[456,{}]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["number"]}]}' <<< '[456,[]]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["string"]}]}' <<< '["bar",null]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["string"]}]}' <<< '["bar",false]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["string"]}]}' <<< '["bar",true]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["string"]}]}' <<< '["bar",123]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["string"]}]}' <<< '["bar","foo"]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["string"]}]}' <<< '["bar",{}]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["string"]}]}' <<< '["bar",[]]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["object"]}]}' <<< '[{},null]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["object"]}]}' <<< '[{},false]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["object"]}]}' <<< '[{},true]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["object"]}]}' <<< '[{},123]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["object"]}]}' <<< '[{},"foo"]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["object"]}]}' <<< '[{},{}]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["object"]}]}' <<< '[{},[]]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["array"]}]}' <<< '[[],null]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["array"]}]}' <<< '[[],false]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["array"]}]}' <<< '[[],true]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["array"]}]}' <<< '[[],123]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["array"]}]}' <<< '[[],"foo"]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["array"]}]}' <<< '[[],{}]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["array"]}]}' <<< '[[],[]]'
$

--[ list-closed-array-basic-basic-val-basic ]-----------------------------------

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

--[ list-closed-array-basic-basic-val-array-empty ]-----------------------------

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

--[ list-closed-array-basic-basic-val-array-basic ]-----------------------------

#
# # 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 '"foo"' '{}' '[]'; do T='{"type":"list","args":[{"type":"array","args":["'"$t"'","'"$t2"'"]}]}'; c="json -d '$T' <<< '[$v]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"list","args":[{"type":"array","args":["type","type"]}]}' <<< '[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":"list","args":[{"type":"array","args":["type","type"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type","type"]}]}' <<< '[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":"list","args":[{"type":"array","args":["type","type"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type","type"]}]}' <<< '[true]'
json: error: <stdin>:1:6: type check error: too few arguments
json: error: <stdin>:1:6: [true]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type","type"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type","type"]}]}' <<< '[123]'
json: error: <stdin>:1:5: type check error: too few arguments
json: error: <stdin>:1:5: [123]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type","type"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type","type"]}]}' <<< '["foo"]'
json: error: <stdin>:1:7: type check error: too few arguments
json: error: <stdin>:1:7: ["foo"]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type","type"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type","type"]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["type","type"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type","type"]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["type","type"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["type","null"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type","null"]}]}' <<< '[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":"list","args":[{"type":"array","args":["type","null"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type","null"]}]}' <<< '[true]'
json: error: <stdin>:1:6: type check error: too few arguments
json: error: <stdin>:1:6: [true]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type","null"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type","null"]}]}' <<< '[123]'
json: error: <stdin>:1:5: type check error: too few arguments
json: error: <stdin>:1:5: [123]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type","null"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type","null"]}]}' <<< '["foo"]'
json: error: <stdin>:1:7: type check error: too few arguments
json: error: <stdin>:1:7: ["foo"]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type","null"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type","null"]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["type","null"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type","null"]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["type","null"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type","boolean"]}]}' <<< '[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":"list","args":[{"type":"array","args":["type","boolean"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["type","boolean"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type","boolean"]}]}' <<< '[true]'
json: error: <stdin>:1:6: type check error: too few arguments
json: error: <stdin>:1:6: [true]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type","boolean"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type","boolean"]}]}' <<< '[123]'
json: error: <stdin>:1:5: type check error: too few arguments
json: error: <stdin>:1:5: [123]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type","boolean"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type","boolean"]}]}' <<< '["foo"]'
json: error: <stdin>:1:7: type check error: too few arguments
json: error: <stdin>:1:7: ["foo"]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type","boolean"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type","boolean"]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["type","boolean"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type","boolean"]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["type","boolean"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type","number"]}]}' <<< '[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":"list","args":[{"type":"array","args":["type","number"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type","number"]}]}' <<< '[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":"list","args":[{"type":"array","args":["type","number"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type","number"]}]}' <<< '[true]'
json: error: <stdin>:1:6: type check error: too few arguments
json: error: <stdin>:1:6: [true]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type","number"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type","number"]}]}' <<< '[123]'
json: error: <stdin>:1:5: type check error: too few arguments
json: error: <stdin>:1:5: [123]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type","number"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type","number"]}]}' <<< '["foo"]'
json: error: <stdin>:1:7: type check error: too few arguments
json: error: <stdin>:1:7: ["foo"]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type","number"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type","number"]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["type","number"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type","number"]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["type","number"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type","string"]}]}' <<< '[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":"list","args":[{"type":"array","args":["type","string"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type","string"]}]}' <<< '[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":"list","args":[{"type":"array","args":["type","string"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type","string"]}]}' <<< '[true]'
json: error: <stdin>:1:6: type check error: too few arguments
json: error: <stdin>:1:6: [true]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type","string"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type","string"]}]}' <<< '[123]'
json: error: <stdin>:1:5: type check error: too few arguments
json: error: <stdin>:1:5: [123]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type","string"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type","string"]}]}' <<< '["foo"]'
json: error: <stdin>:1:7: type check error: too few arguments
json: error: <stdin>:1:7: ["foo"]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type","string"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type","string"]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["type","string"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type","string"]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["type","string"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type","object"]}]}' <<< '[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":"list","args":[{"type":"array","args":["type","object"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type","object"]}]}' <<< '[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":"list","args":[{"type":"array","args":["type","object"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type","object"]}]}' <<< '[true]'
json: error: <stdin>:1:6: type check error: too few arguments
json: error: <stdin>:1:6: [true]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type","object"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type","object"]}]}' <<< '[123]'
json: error: <stdin>:1:5: type check error: too few arguments
json: error: <stdin>:1:5: [123]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type","object"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type","object"]}]}' <<< '["foo"]'
json: error: <stdin>:1:7: type check error: too few arguments
json: error: <stdin>:1:7: ["foo"]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type","object"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["type","object"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["type","object"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type","array"]}]}' <<< '[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":"list","args":[{"type":"array","args":["type","array"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type","array"]}]}' <<< '[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":"list","args":[{"type":"array","args":["type","array"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type","array"]}]}' <<< '[true]'
json: error: <stdin>:1:6: type check error: too few arguments
json: error: <stdin>:1:6: [true]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type","array"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type","array"]}]}' <<< '[123]'
json: error: <stdin>:1:5: type check error: too few arguments
json: error: <stdin>:1:5: [123]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type","array"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type","array"]}]}' <<< '["foo"]'
json: error: <stdin>:1:7: type check error: too few arguments
json: error: <stdin>:1:7: ["foo"]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type","array"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["type","array"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"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":"list","args":[{"type":"array","args":["type","array"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null","type"]}]}' <<< '[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":"list","args":[{"type":"array","args":["null","type"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null","type"]}]}' <<< '[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":"list","args":[{"type":"array","args":["null","type"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null","type"]}]}' <<< '[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":"list","args":[{"type":"array","args":["null","type"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null","type"]}]}' <<< '[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":"list","args":[{"type":"array","args":["null","type"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null","type"]}]}' <<< '["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":"list","args":[{"type":"array","args":["null","type"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null","type"]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["null","type"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null","type"]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["null","type"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null","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":"list","args":[{"type":"array","args":["null","null"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null","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":"list","args":[{"type":"array","args":["null","null"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null","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":"list","args":[{"type":"array","args":["null","null"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null","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":"list","args":[{"type":"array","args":["null","null"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null","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":"list","args":[{"type":"array","args":["null","null"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"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: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null","null"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"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: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null","null"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null","boolean"]}]}' <<< '[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":"list","args":[{"type":"array","args":["null","boolean"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null","boolean"]}]}' <<< '[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":"list","args":[{"type":"array","args":["null","boolean"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null","boolean"]}]}' <<< '[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":"list","args":[{"type":"array","args":["null","boolean"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null","boolean"]}]}' <<< '[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":"list","args":[{"type":"array","args":["null","boolean"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null","boolean"]}]}' <<< '["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":"list","args":[{"type":"array","args":["null","boolean"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null","boolean"]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["null","boolean"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null","boolean"]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["null","boolean"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null","number"]}]}' <<< '[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":"list","args":[{"type":"array","args":["null","number"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null","number"]}]}' <<< '[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":"list","args":[{"type":"array","args":["null","number"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null","number"]}]}' <<< '[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":"list","args":[{"type":"array","args":["null","number"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null","number"]}]}' <<< '[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":"list","args":[{"type":"array","args":["null","number"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null","number"]}]}' <<< '["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":"list","args":[{"type":"array","args":["null","number"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null","number"]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["null","number"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null","number"]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["null","number"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null","string"]}]}' <<< '[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":"list","args":[{"type":"array","args":["null","string"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null","string"]}]}' <<< '[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":"list","args":[{"type":"array","args":["null","string"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null","string"]}]}' <<< '[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":"list","args":[{"type":"array","args":["null","string"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null","string"]}]}' <<< '[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":"list","args":[{"type":"array","args":["null","string"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null","string"]}]}' <<< '["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":"list","args":[{"type":"array","args":["null","string"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null","string"]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["null","string"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null","string"]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["null","string"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null","object"]}]}' <<< '[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":"list","args":[{"type":"array","args":["null","object"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null","object"]}]}' <<< '[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":"list","args":[{"type":"array","args":["null","object"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null","object"]}]}' <<< '[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":"list","args":[{"type":"array","args":["null","object"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null","object"]}]}' <<< '[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":"list","args":[{"type":"array","args":["null","object"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null","object"]}]}' <<< '["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":"list","args":[{"type":"array","args":["null","object"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null","object"]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["null","object"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null","object"]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["null","object"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null","array"]}]}' <<< '[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":"list","args":[{"type":"array","args":["null","array"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null","array"]}]}' <<< '[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":"list","args":[{"type":"array","args":["null","array"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null","array"]}]}' <<< '[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":"list","args":[{"type":"array","args":["null","array"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null","array"]}]}' <<< '[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":"list","args":[{"type":"array","args":["null","array"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null","array"]}]}' <<< '["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":"list","args":[{"type":"array","args":["null","array"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null","array"]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["null","array"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null","array"]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["null","array"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean","type"]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean","type"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean","type"]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean","type"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean","type"]}]}' <<< '[true]'
json: error: <stdin>:1:6: type check error: too few arguments
json: error: <stdin>:1:6: [true]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean","type"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean","type"]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean","type"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean","type"]}]}' <<< '["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":"list","args":[{"type":"array","args":["boolean","type"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean","type"]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["boolean","type"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean","type"]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["boolean","type"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"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]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean","null"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean","null"]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean","null"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean","null"]}]}' <<< '[true]'
json: error: <stdin>:1:6: type check error: too few arguments
json: error: <stdin>:1:6: [true]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean","null"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"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: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean","null"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"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: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean","null"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"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: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean","null"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"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: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean","null"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean","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":"list","args":[{"type":"array","args":["boolean","boolean"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean","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":"list","args":[{"type":"array","args":["boolean","boolean"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean","boolean"]}]}' <<< '[true]'
json: error: <stdin>:1:6: type check error: too few arguments
json: error: <stdin>:1:6: [true]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean","boolean"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean","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":"list","args":[{"type":"array","args":["boolean","boolean"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean","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":"list","args":[{"type":"array","args":["boolean","boolean"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean","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":"list","args":[{"type":"array","args":["boolean","boolean"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean","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":"list","args":[{"type":"array","args":["boolean","boolean"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean","number"]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean","number"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean","number"]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean","number"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean","number"]}]}' <<< '[true]'
json: error: <stdin>:1:6: type check error: too few arguments
json: error: <stdin>:1:6: [true]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean","number"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean","number"]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean","number"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean","number"]}]}' <<< '["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":"list","args":[{"type":"array","args":["boolean","number"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean","number"]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["boolean","number"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean","number"]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["boolean","number"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean","string"]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean","string"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean","string"]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean","string"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean","string"]}]}' <<< '[true]'
json: error: <stdin>:1:6: type check error: too few arguments
json: error: <stdin>:1:6: [true]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean","string"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean","string"]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean","string"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean","string"]}]}' <<< '["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":"list","args":[{"type":"array","args":["boolean","string"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean","string"]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["boolean","string"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean","string"]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["boolean","string"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean","object"]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean","object"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean","object"]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean","object"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean","object"]}]}' <<< '[true]'
json: error: <stdin>:1:6: type check error: too few arguments
json: error: <stdin>:1:6: [true]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean","object"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean","object"]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean","object"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean","object"]}]}' <<< '["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":"list","args":[{"type":"array","args":["boolean","object"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean","object"]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["boolean","object"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean","object"]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["boolean","object"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean","array"]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean","array"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean","array"]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean","array"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean","array"]}]}' <<< '[true]'
json: error: <stdin>:1:6: type check error: too few arguments
json: error: <stdin>:1:6: [true]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean","array"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean","array"]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean","array"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean","array"]}]}' <<< '["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":"list","args":[{"type":"array","args":["boolean","array"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean","array"]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["boolean","array"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean","array"]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["boolean","array"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number","type"]}]}' <<< '[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":"list","args":[{"type":"array","args":["number","type"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number","type"]}]}' <<< '[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":"list","args":[{"type":"array","args":["number","type"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number","type"]}]}' <<< '[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":"list","args":[{"type":"array","args":["number","type"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number","type"]}]}' <<< '[123]'
json: error: <stdin>:1:5: type check error: too few arguments
json: error: <stdin>:1:5: [123]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number","type"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number","type"]}]}' <<< '["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":"list","args":[{"type":"array","args":["number","type"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number","type"]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["number","type"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number","type"]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["number","type"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"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]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number","null"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"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: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number","null"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"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: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number","null"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number","null"]}]}' <<< '[123]'
json: error: <stdin>:1:5: type check error: too few arguments
json: error: <stdin>:1:5: [123]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number","null"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"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: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number","null"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"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: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number","null"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"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: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number","null"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number","boolean"]}]}' <<< '[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":"list","args":[{"type":"array","args":["number","boolean"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number","boolean"]}]}' <<< '[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":"list","args":[{"type":"array","args":["number","boolean"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number","boolean"]}]}' <<< '[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":"list","args":[{"type":"array","args":["number","boolean"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number","boolean"]}]}' <<< '[123]'
json: error: <stdin>:1:5: type check error: too few arguments
json: error: <stdin>:1:5: [123]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number","boolean"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number","boolean"]}]}' <<< '["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":"list","args":[{"type":"array","args":["number","boolean"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number","boolean"]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["number","boolean"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number","boolean"]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["number","boolean"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number","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":"list","args":[{"type":"array","args":["number","number"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number","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":"list","args":[{"type":"array","args":["number","number"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number","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":"list","args":[{"type":"array","args":["number","number"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number","number"]}]}' <<< '[123]'
json: error: <stdin>:1:5: type check error: too few arguments
json: error: <stdin>:1:5: [123]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number","number"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number","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":"list","args":[{"type":"array","args":["number","number"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number","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":"list","args":[{"type":"array","args":["number","number"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number","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":"list","args":[{"type":"array","args":["number","number"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number","string"]}]}' <<< '[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":"list","args":[{"type":"array","args":["number","string"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number","string"]}]}' <<< '[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":"list","args":[{"type":"array","args":["number","string"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number","string"]}]}' <<< '[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":"list","args":[{"type":"array","args":["number","string"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number","string"]}]}' <<< '[123]'
json: error: <stdin>:1:5: type check error: too few arguments
json: error: <stdin>:1:5: [123]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number","string"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number","string"]}]}' <<< '["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":"list","args":[{"type":"array","args":["number","string"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number","string"]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["number","string"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number","string"]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["number","string"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number","object"]}]}' <<< '[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":"list","args":[{"type":"array","args":["number","object"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number","object"]}]}' <<< '[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":"list","args":[{"type":"array","args":["number","object"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number","object"]}]}' <<< '[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":"list","args":[{"type":"array","args":["number","object"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number","object"]}]}' <<< '[123]'
json: error: <stdin>:1:5: type check error: too few arguments
json: error: <stdin>:1:5: [123]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number","object"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number","object"]}]}' <<< '["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":"list","args":[{"type":"array","args":["number","object"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number","object"]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["number","object"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number","object"]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["number","object"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number","array"]}]}' <<< '[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":"list","args":[{"type":"array","args":["number","array"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number","array"]}]}' <<< '[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":"list","args":[{"type":"array","args":["number","array"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number","array"]}]}' <<< '[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":"list","args":[{"type":"array","args":["number","array"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number","array"]}]}' <<< '[123]'
json: error: <stdin>:1:5: type check error: too few arguments
json: error: <stdin>:1:5: [123]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number","array"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number","array"]}]}' <<< '["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":"list","args":[{"type":"array","args":["number","array"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number","array"]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["number","array"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number","array"]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["number","array"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string","type"]}]}' <<< '[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":"list","args":[{"type":"array","args":["string","type"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string","type"]}]}' <<< '[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":"list","args":[{"type":"array","args":["string","type"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string","type"]}]}' <<< '[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":"list","args":[{"type":"array","args":["string","type"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string","type"]}]}' <<< '[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":"list","args":[{"type":"array","args":["string","type"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string","type"]}]}' <<< '["foo"]'
json: error: <stdin>:1:7: type check error: too few arguments
json: error: <stdin>:1:7: ["foo"]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string","type"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string","type"]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["string","type"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string","type"]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["string","type"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"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]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string","null"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"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: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string","null"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"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: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string","null"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"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: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string","null"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string","null"]}]}' <<< '["foo"]'
json: error: <stdin>:1:7: type check error: too few arguments
json: error: <stdin>:1:7: ["foo"]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string","null"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"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: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string","null"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"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: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string","null"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string","boolean"]}]}' <<< '[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":"list","args":[{"type":"array","args":["string","boolean"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string","boolean"]}]}' <<< '[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":"list","args":[{"type":"array","args":["string","boolean"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string","boolean"]}]}' <<< '[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":"list","args":[{"type":"array","args":["string","boolean"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string","boolean"]}]}' <<< '[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":"list","args":[{"type":"array","args":["string","boolean"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string","boolean"]}]}' <<< '["foo"]'
json: error: <stdin>:1:7: type check error: too few arguments
json: error: <stdin>:1:7: ["foo"]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string","boolean"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string","boolean"]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["string","boolean"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string","boolean"]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["string","boolean"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string","number"]}]}' <<< '[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":"list","args":[{"type":"array","args":["string","number"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string","number"]}]}' <<< '[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":"list","args":[{"type":"array","args":["string","number"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string","number"]}]}' <<< '[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":"list","args":[{"type":"array","args":["string","number"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string","number"]}]}' <<< '[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":"list","args":[{"type":"array","args":["string","number"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string","number"]}]}' <<< '["foo"]'
json: error: <stdin>:1:7: type check error: too few arguments
json: error: <stdin>:1:7: ["foo"]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string","number"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string","number"]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["string","number"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string","number"]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["string","number"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string","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":"list","args":[{"type":"array","args":["string","string"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string","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":"list","args":[{"type":"array","args":["string","string"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string","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":"list","args":[{"type":"array","args":["string","string"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string","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":"list","args":[{"type":"array","args":["string","string"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string","string"]}]}' <<< '["foo"]'
json: error: <stdin>:1:7: type check error: too few arguments
json: error: <stdin>:1:7: ["foo"]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string","string"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string","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":"list","args":[{"type":"array","args":["string","string"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string","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":"list","args":[{"type":"array","args":["string","string"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string","object"]}]}' <<< '[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":"list","args":[{"type":"array","args":["string","object"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string","object"]}]}' <<< '[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":"list","args":[{"type":"array","args":["string","object"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string","object"]}]}' <<< '[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":"list","args":[{"type":"array","args":["string","object"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string","object"]}]}' <<< '[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":"list","args":[{"type":"array","args":["string","object"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string","object"]}]}' <<< '["foo"]'
json: error: <stdin>:1:7: type check error: too few arguments
json: error: <stdin>:1:7: ["foo"]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string","object"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string","object"]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["string","object"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string","object"]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["string","object"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string","array"]}]}' <<< '[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":"list","args":[{"type":"array","args":["string","array"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string","array"]}]}' <<< '[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":"list","args":[{"type":"array","args":["string","array"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string","array"]}]}' <<< '[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":"list","args":[{"type":"array","args":["string","array"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string","array"]}]}' <<< '[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":"list","args":[{"type":"array","args":["string","array"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string","array"]}]}' <<< '["foo"]'
json: error: <stdin>:1:7: type check error: too few arguments
json: error: <stdin>:1:7: ["foo"]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string","array"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string","array"]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["string","array"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string","array"]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["string","array"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object","type"]}]}' <<< '[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":"list","args":[{"type":"array","args":["object","type"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object","type"]}]}' <<< '[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":"list","args":[{"type":"array","args":["object","type"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object","type"]}]}' <<< '[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":"list","args":[{"type":"array","args":["object","type"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object","type"]}]}' <<< '[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":"list","args":[{"type":"array","args":["object","type"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object","type"]}]}' <<< '["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":"list","args":[{"type":"array","args":["object","type"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object","type"]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["object","type"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object","type"]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["object","type"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"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]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object","null"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"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: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object","null"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"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: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object","null"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"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: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object","null"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"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: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object","null"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object","null"]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["object","null"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"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: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object","null"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object","boolean"]}]}' <<< '[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":"list","args":[{"type":"array","args":["object","boolean"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object","boolean"]}]}' <<< '[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":"list","args":[{"type":"array","args":["object","boolean"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object","boolean"]}]}' <<< '[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":"list","args":[{"type":"array","args":["object","boolean"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object","boolean"]}]}' <<< '[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":"list","args":[{"type":"array","args":["object","boolean"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object","boolean"]}]}' <<< '["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":"list","args":[{"type":"array","args":["object","boolean"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object","boolean"]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["object","boolean"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object","boolean"]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["object","boolean"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object","number"]}]}' <<< '[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":"list","args":[{"type":"array","args":["object","number"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object","number"]}]}' <<< '[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":"list","args":[{"type":"array","args":["object","number"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object","number"]}]}' <<< '[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":"list","args":[{"type":"array","args":["object","number"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object","number"]}]}' <<< '[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":"list","args":[{"type":"array","args":["object","number"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object","number"]}]}' <<< '["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":"list","args":[{"type":"array","args":["object","number"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object","number"]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["object","number"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object","number"]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["object","number"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object","string"]}]}' <<< '[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":"list","args":[{"type":"array","args":["object","string"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object","string"]}]}' <<< '[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":"list","args":[{"type":"array","args":["object","string"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object","string"]}]}' <<< '[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":"list","args":[{"type":"array","args":["object","string"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object","string"]}]}' <<< '[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":"list","args":[{"type":"array","args":["object","string"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object","string"]}]}' <<< '["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":"list","args":[{"type":"array","args":["object","string"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object","string"]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["object","string"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object","string"]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["object","string"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object","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":"list","args":[{"type":"array","args":["object","object"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object","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":"list","args":[{"type":"array","args":["object","object"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object","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":"list","args":[{"type":"array","args":["object","object"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object","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":"list","args":[{"type":"array","args":["object","object"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object","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":"list","args":[{"type":"array","args":["object","object"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object","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":"list","args":[{"type":"array","args":["object","object"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object","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":"list","args":[{"type":"array","args":["object","object"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object","array"]}]}' <<< '[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":"list","args":[{"type":"array","args":["object","array"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object","array"]}]}' <<< '[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":"list","args":[{"type":"array","args":["object","array"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object","array"]}]}' <<< '[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":"list","args":[{"type":"array","args":["object","array"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object","array"]}]}' <<< '[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":"list","args":[{"type":"array","args":["object","array"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object","array"]}]}' <<< '["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":"list","args":[{"type":"array","args":["object","array"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object","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":"list","args":[{"type":"array","args":["object","array"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object","array"]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["object","array"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array","type"]}]}' <<< '[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":"list","args":[{"type":"array","args":["array","type"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array","type"]}]}' <<< '[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":"list","args":[{"type":"array","args":["array","type"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array","type"]}]}' <<< '[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":"list","args":[{"type":"array","args":["array","type"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array","type"]}]}' <<< '[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":"list","args":[{"type":"array","args":["array","type"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array","type"]}]}' <<< '["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":"list","args":[{"type":"array","args":["array","type"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array","type"]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["array","type"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array","type"]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["array","type"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"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]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array","null"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"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: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array","null"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"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: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array","null"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"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: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array","null"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"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: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array","null"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"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: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array","null"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array","null"]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["array","null"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array","boolean"]}]}' <<< '[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":"list","args":[{"type":"array","args":["array","boolean"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array","boolean"]}]}' <<< '[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":"list","args":[{"type":"array","args":["array","boolean"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array","boolean"]}]}' <<< '[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":"list","args":[{"type":"array","args":["array","boolean"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array","boolean"]}]}' <<< '[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":"list","args":[{"type":"array","args":["array","boolean"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array","boolean"]}]}' <<< '["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":"list","args":[{"type":"array","args":["array","boolean"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array","boolean"]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["array","boolean"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array","boolean"]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["array","boolean"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array","number"]}]}' <<< '[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":"list","args":[{"type":"array","args":["array","number"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array","number"]}]}' <<< '[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":"list","args":[{"type":"array","args":["array","number"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array","number"]}]}' <<< '[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":"list","args":[{"type":"array","args":["array","number"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array","number"]}]}' <<< '[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":"list","args":[{"type":"array","args":["array","number"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array","number"]}]}' <<< '["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":"list","args":[{"type":"array","args":["array","number"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array","number"]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["array","number"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array","number"]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["array","number"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array","string"]}]}' <<< '[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":"list","args":[{"type":"array","args":["array","string"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array","string"]}]}' <<< '[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":"list","args":[{"type":"array","args":["array","string"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array","string"]}]}' <<< '[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":"list","args":[{"type":"array","args":["array","string"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array","string"]}]}' <<< '[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":"list","args":[{"type":"array","args":["array","string"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array","string"]}]}' <<< '["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":"list","args":[{"type":"array","args":["array","string"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array","string"]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["array","string"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array","string"]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["array","string"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array","object"]}]}' <<< '[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":"list","args":[{"type":"array","args":["array","object"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array","object"]}]}' <<< '[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":"list","args":[{"type":"array","args":["array","object"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array","object"]}]}' <<< '[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":"list","args":[{"type":"array","args":["array","object"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array","object"]}]}' <<< '[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":"list","args":[{"type":"array","args":["array","object"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array","object"]}]}' <<< '["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":"list","args":[{"type":"array","args":["array","object"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array","object"]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["array","object"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array","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":"list","args":[{"type":"array","args":["array","object"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array","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":"list","args":[{"type":"array","args":["array","array"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array","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":"list","args":[{"type":"array","args":["array","array"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array","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":"list","args":[{"type":"array","args":["array","array"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array","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":"list","args":[{"type":"array","args":["array","array"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array","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":"list","args":[{"type":"array","args":["array","array"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array","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":"list","args":[{"type":"array","args":["array","array"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array","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":"list","args":[{"type":"array","args":["array","array"]}]}' <<< '[[]]'
$

--[ list-closed-array-basic-basic-val-array-basic-basic ]-----------------------

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

--[ list-closed-array-basic-plain-val-basic ]-----------------------------------

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

--[ list-closed-array-basic-plain-val-array-empty ]-----------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for p in null false true 123 '"foo"'; do T='{"type":"list","args":[{"type":"array","args":["'"$t"'",{"plain":'"$p"'}]}]}'; c="json -d '$T' <<< '[]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"list","args":[{"type":"array","args":["type",{"plain":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":"list","args":[{"type":"array","args":["type",{"plain":null}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type",{"plain":false}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["type",{"plain":false}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type",{"plain":true}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["type",{"plain":true}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type",{"plain":123}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["type",{"plain":123}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type",{"plain":"foo"}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["type",{"plain":"foo"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null",{"plain":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":"list","args":[{"type":"array","args":["null",{"plain":null}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null",{"plain":false}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["null",{"plain":false}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null",{"plain":true}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["null",{"plain":true}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null",{"plain":123}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["null",{"plain":123}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null",{"plain":"foo"}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["null",{"plain":"foo"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean",{"plain":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":"list","args":[{"type":"array","args":["boolean",{"plain":null}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean",{"plain":false}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["boolean",{"plain":false}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean",{"plain":true}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["boolean",{"plain":true}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean",{"plain":123}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["boolean",{"plain":123}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean",{"plain":"foo"}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["boolean",{"plain":"foo"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number",{"plain":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":"list","args":[{"type":"array","args":["number",{"plain":null}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number",{"plain":false}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["number",{"plain":false}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number",{"plain":true}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["number",{"plain":true}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number",{"plain":123}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["number",{"plain":123}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number",{"plain":"foo"}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["number",{"plain":"foo"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string",{"plain":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":"list","args":[{"type":"array","args":["string",{"plain":null}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string",{"plain":false}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["string",{"plain":false}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string",{"plain":true}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["string",{"plain":true}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string",{"plain":123}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["string",{"plain":123}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string",{"plain":"foo"}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["string",{"plain":"foo"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object",{"plain":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":"list","args":[{"type":"array","args":["object",{"plain":null}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object",{"plain":false}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["object",{"plain":false}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object",{"plain":true}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["object",{"plain":true}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object",{"plain":123}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["object",{"plain":123}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object",{"plain":"foo"}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["object",{"plain":"foo"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array",{"plain":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":"list","args":[{"type":"array","args":["array",{"plain":null}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array",{"plain":false}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["array",{"plain":false}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array",{"plain":true}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["array",{"plain":true}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array",{"plain":123}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["array",{"plain":123}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array",{"plain":"foo"}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["array",{"plain":"foo"}]}]}' <<< '[]'
$

--[ list-closed-array-basic-plain-val-array-basic ]-----------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for p in null false true 123 '"foo"'; do for v in null false true 123 '"foo"' '{}' '[]'; do T='{"type":"list","args":[{"type":"array","args":["'"$t"'",{"plain":'"$p"'}]}]}'; c="json -d '$T' <<< '[$v]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"list","args":[{"type":"array","args":["type",{"plain":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":"list","args":[{"type":"array","args":["type",{"plain":null}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type",{"plain":null}]}]}' <<< '[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":"list","args":[{"type":"array","args":["type",{"plain":null}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type",{"plain":null}]}]}' <<< '[true]'
json: error: <stdin>:1:6: type check error: too few arguments
json: error: <stdin>:1:6: [true]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type",{"plain":null}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type",{"plain":null}]}]}' <<< '[123]'
json: error: <stdin>:1:5: type check error: too few arguments
json: error: <stdin>:1:5: [123]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type",{"plain":null}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type",{"plain":null}]}]}' <<< '["foo"]'
json: error: <stdin>:1:7: type check error: too few arguments
json: error: <stdin>:1:7: ["foo"]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type",{"plain":null}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type",{"plain":null}]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["type",{"plain":null}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type",{"plain":null}]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["type",{"plain":null}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type",{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":["type",{"plain":false}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type",{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":["type",{"plain":false}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type",{"plain":false}]}]}' <<< '[true]'
json: error: <stdin>:1:6: type check error: too few arguments
json: error: <stdin>:1:6: [true]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type",{"plain":false}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type",{"plain":false}]}]}' <<< '[123]'
json: error: <stdin>:1:5: type check error: too few arguments
json: error: <stdin>:1:5: [123]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type",{"plain":false}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type",{"plain":false}]}]}' <<< '["foo"]'
json: error: <stdin>:1:7: type check error: too few arguments
json: error: <stdin>:1:7: ["foo"]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type",{"plain":false}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type",{"plain":false}]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["type",{"plain":false}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type",{"plain":false}]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["type",{"plain":false}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type",{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":["type",{"plain":true}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type",{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":["type",{"plain":true}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type",{"plain":true}]}]}' <<< '[true]'
json: error: <stdin>:1:6: type check error: too few arguments
json: error: <stdin>:1:6: [true]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type",{"plain":true}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type",{"plain":true}]}]}' <<< '[123]'
json: error: <stdin>:1:5: type check error: too few arguments
json: error: <stdin>:1:5: [123]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type",{"plain":true}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type",{"plain":true}]}]}' <<< '["foo"]'
json: error: <stdin>:1:7: type check error: too few arguments
json: error: <stdin>:1:7: ["foo"]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type",{"plain":true}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type",{"plain":true}]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["type",{"plain":true}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type",{"plain":true}]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["type",{"plain":true}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type",{"plain":123}]}]}' <<< '[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":"list","args":[{"type":"array","args":["type",{"plain":123}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type",{"plain":123}]}]}' <<< '[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":"list","args":[{"type":"array","args":["type",{"plain":123}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type",{"plain":123}]}]}' <<< '[true]'
json: error: <stdin>:1:6: type check error: too few arguments
json: error: <stdin>:1:6: [true]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type",{"plain":123}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type",{"plain":123}]}]}' <<< '[123]'
json: error: <stdin>:1:5: type check error: too few arguments
json: error: <stdin>:1:5: [123]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type",{"plain":123}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type",{"plain":123}]}]}' <<< '["foo"]'
json: error: <stdin>:1:7: type check error: too few arguments
json: error: <stdin>:1:7: ["foo"]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type",{"plain":123}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type",{"plain":123}]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["type",{"plain":123}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type",{"plain":123}]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["type",{"plain":123}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type",{"plain":"foo"}]}]}' <<< '[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":"list","args":[{"type":"array","args":["type",{"plain":"foo"}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type",{"plain":"foo"}]}]}' <<< '[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":"list","args":[{"type":"array","args":["type",{"plain":"foo"}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type",{"plain":"foo"}]}]}' <<< '[true]'
json: error: <stdin>:1:6: type check error: too few arguments
json: error: <stdin>:1:6: [true]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type",{"plain":"foo"}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type",{"plain":"foo"}]}]}' <<< '[123]'
json: error: <stdin>:1:5: type check error: too few arguments
json: error: <stdin>:1:5: [123]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type",{"plain":"foo"}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type",{"plain":"foo"}]}]}' <<< '["foo"]'
json: error: <stdin>:1:7: type check error: too few arguments
json: error: <stdin>:1:7: ["foo"]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type",{"plain":"foo"}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type",{"plain":"foo"}]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["type",{"plain":"foo"}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type",{"plain":"foo"}]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["type",{"plain":"foo"}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null",{"plain":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":"list","args":[{"type":"array","args":["null",{"plain":null}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null",{"plain":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":"list","args":[{"type":"array","args":["null",{"plain":null}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null",{"plain":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":"list","args":[{"type":"array","args":["null",{"plain":null}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null",{"plain":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":"list","args":[{"type":"array","args":["null",{"plain":null}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null",{"plain":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":"list","args":[{"type":"array","args":["null",{"plain":null}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null",{"plain":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":"list","args":[{"type":"array","args":["null",{"plain":null}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null",{"plain":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":"list","args":[{"type":"array","args":["null",{"plain":null}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null",{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":["null",{"plain":false}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null",{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":["null",{"plain":false}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null",{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":["null",{"plain":false}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null",{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":["null",{"plain":false}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null",{"plain":false}]}]}' <<< '["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":"list","args":[{"type":"array","args":["null",{"plain":false}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null",{"plain":false}]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["null",{"plain":false}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null",{"plain":false}]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["null",{"plain":false}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null",{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":["null",{"plain":true}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null",{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":["null",{"plain":true}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null",{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":["null",{"plain":true}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null",{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":["null",{"plain":true}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null",{"plain":true}]}]}' <<< '["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":"list","args":[{"type":"array","args":["null",{"plain":true}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null",{"plain":true}]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["null",{"plain":true}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null",{"plain":true}]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["null",{"plain":true}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null",{"plain":123}]}]}' <<< '[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":"list","args":[{"type":"array","args":["null",{"plain":123}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null",{"plain":123}]}]}' <<< '[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":"list","args":[{"type":"array","args":["null",{"plain":123}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null",{"plain":123}]}]}' <<< '[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":"list","args":[{"type":"array","args":["null",{"plain":123}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null",{"plain":123}]}]}' <<< '[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":"list","args":[{"type":"array","args":["null",{"plain":123}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null",{"plain":123}]}]}' <<< '["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":"list","args":[{"type":"array","args":["null",{"plain":123}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null",{"plain":123}]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["null",{"plain":123}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null",{"plain":123}]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["null",{"plain":123}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null",{"plain":"foo"}]}]}' <<< '[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":"list","args":[{"type":"array","args":["null",{"plain":"foo"}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null",{"plain":"foo"}]}]}' <<< '[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":"list","args":[{"type":"array","args":["null",{"plain":"foo"}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null",{"plain":"foo"}]}]}' <<< '[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":"list","args":[{"type":"array","args":["null",{"plain":"foo"}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null",{"plain":"foo"}]}]}' <<< '[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":"list","args":[{"type":"array","args":["null",{"plain":"foo"}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null",{"plain":"foo"}]}]}' <<< '["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":"list","args":[{"type":"array","args":["null",{"plain":"foo"}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null",{"plain":"foo"}]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["null",{"plain":"foo"}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null",{"plain":"foo"}]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["null",{"plain":"foo"}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean",{"plain":null}]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean",{"plain":null}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean",{"plain":null}]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean",{"plain":null}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean",{"plain":null}]}]}' <<< '[true]'
json: error: <stdin>:1:6: type check error: too few arguments
json: error: <stdin>:1:6: [true]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean",{"plain":null}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean",{"plain":null}]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean",{"plain":null}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean",{"plain":null}]}]}' <<< '["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":"list","args":[{"type":"array","args":["boolean",{"plain":null}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean",{"plain":null}]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["boolean",{"plain":null}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean",{"plain":null}]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["boolean",{"plain":null}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean",{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean",{"plain":false}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean",{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean",{"plain":false}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean",{"plain":false}]}]}' <<< '[true]'
json: error: <stdin>:1:6: type check error: too few arguments
json: error: <stdin>:1:6: [true]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean",{"plain":false}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean",{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean",{"plain":false}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean",{"plain":false}]}]}' <<< '["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":"list","args":[{"type":"array","args":["boolean",{"plain":false}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean",{"plain":false}]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["boolean",{"plain":false}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean",{"plain":false}]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["boolean",{"plain":false}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean",{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean",{"plain":true}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean",{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean",{"plain":true}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean",{"plain":true}]}]}' <<< '[true]'
json: error: <stdin>:1:6: type check error: too few arguments
json: error: <stdin>:1:6: [true]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean",{"plain":true}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean",{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean",{"plain":true}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean",{"plain":true}]}]}' <<< '["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":"list","args":[{"type":"array","args":["boolean",{"plain":true}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean",{"plain":true}]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["boolean",{"plain":true}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean",{"plain":true}]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["boolean",{"plain":true}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean",{"plain":123}]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean",{"plain":123}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean",{"plain":123}]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean",{"plain":123}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean",{"plain":123}]}]}' <<< '[true]'
json: error: <stdin>:1:6: type check error: too few arguments
json: error: <stdin>:1:6: [true]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean",{"plain":123}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean",{"plain":123}]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean",{"plain":123}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean",{"plain":123}]}]}' <<< '["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":"list","args":[{"type":"array","args":["boolean",{"plain":123}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean",{"plain":123}]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["boolean",{"plain":123}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean",{"plain":123}]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["boolean",{"plain":123}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean",{"plain":"foo"}]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean",{"plain":"foo"}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean",{"plain":"foo"}]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean",{"plain":"foo"}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean",{"plain":"foo"}]}]}' <<< '[true]'
json: error: <stdin>:1:6: type check error: too few arguments
json: error: <stdin>:1:6: [true]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean",{"plain":"foo"}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean",{"plain":"foo"}]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean",{"plain":"foo"}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean",{"plain":"foo"}]}]}' <<< '["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":"list","args":[{"type":"array","args":["boolean",{"plain":"foo"}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean",{"plain":"foo"}]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["boolean",{"plain":"foo"}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean",{"plain":"foo"}]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["boolean",{"plain":"foo"}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number",{"plain":null}]}]}' <<< '[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":"list","args":[{"type":"array","args":["number",{"plain":null}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number",{"plain":null}]}]}' <<< '[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":"list","args":[{"type":"array","args":["number",{"plain":null}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number",{"plain":null}]}]}' <<< '[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":"list","args":[{"type":"array","args":["number",{"plain":null}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number",{"plain":null}]}]}' <<< '[123]'
json: error: <stdin>:1:5: type check error: too few arguments
json: error: <stdin>:1:5: [123]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number",{"plain":null}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number",{"plain":null}]}]}' <<< '["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":"list","args":[{"type":"array","args":["number",{"plain":null}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number",{"plain":null}]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["number",{"plain":null}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number",{"plain":null}]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["number",{"plain":null}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number",{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":["number",{"plain":false}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number",{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":["number",{"plain":false}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number",{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":["number",{"plain":false}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number",{"plain":false}]}]}' <<< '[123]'
json: error: <stdin>:1:5: type check error: too few arguments
json: error: <stdin>:1:5: [123]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number",{"plain":false}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number",{"plain":false}]}]}' <<< '["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":"list","args":[{"type":"array","args":["number",{"plain":false}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number",{"plain":false}]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["number",{"plain":false}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number",{"plain":false}]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["number",{"plain":false}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number",{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":["number",{"plain":true}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number",{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":["number",{"plain":true}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number",{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":["number",{"plain":true}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number",{"plain":true}]}]}' <<< '[123]'
json: error: <stdin>:1:5: type check error: too few arguments
json: error: <stdin>:1:5: [123]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number",{"plain":true}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number",{"plain":true}]}]}' <<< '["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":"list","args":[{"type":"array","args":["number",{"plain":true}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number",{"plain":true}]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["number",{"plain":true}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number",{"plain":true}]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["number",{"plain":true}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number",{"plain":123}]}]}' <<< '[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":"list","args":[{"type":"array","args":["number",{"plain":123}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number",{"plain":123}]}]}' <<< '[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":"list","args":[{"type":"array","args":["number",{"plain":123}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number",{"plain":123}]}]}' <<< '[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":"list","args":[{"type":"array","args":["number",{"plain":123}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number",{"plain":123}]}]}' <<< '[123]'
json: error: <stdin>:1:5: type check error: too few arguments
json: error: <stdin>:1:5: [123]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number",{"plain":123}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number",{"plain":123}]}]}' <<< '["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":"list","args":[{"type":"array","args":["number",{"plain":123}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number",{"plain":123}]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["number",{"plain":123}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number",{"plain":123}]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["number",{"plain":123}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number",{"plain":"foo"}]}]}' <<< '[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":"list","args":[{"type":"array","args":["number",{"plain":"foo"}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number",{"plain":"foo"}]}]}' <<< '[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":"list","args":[{"type":"array","args":["number",{"plain":"foo"}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number",{"plain":"foo"}]}]}' <<< '[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":"list","args":[{"type":"array","args":["number",{"plain":"foo"}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number",{"plain":"foo"}]}]}' <<< '[123]'
json: error: <stdin>:1:5: type check error: too few arguments
json: error: <stdin>:1:5: [123]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number",{"plain":"foo"}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number",{"plain":"foo"}]}]}' <<< '["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":"list","args":[{"type":"array","args":["number",{"plain":"foo"}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number",{"plain":"foo"}]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["number",{"plain":"foo"}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number",{"plain":"foo"}]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["number",{"plain":"foo"}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string",{"plain":null}]}]}' <<< '[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":"list","args":[{"type":"array","args":["string",{"plain":null}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string",{"plain":null}]}]}' <<< '[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":"list","args":[{"type":"array","args":["string",{"plain":null}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string",{"plain":null}]}]}' <<< '[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":"list","args":[{"type":"array","args":["string",{"plain":null}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string",{"plain":null}]}]}' <<< '[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":"list","args":[{"type":"array","args":["string",{"plain":null}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string",{"plain":null}]}]}' <<< '["foo"]'
json: error: <stdin>:1:7: type check error: too few arguments
json: error: <stdin>:1:7: ["foo"]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string",{"plain":null}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string",{"plain":null}]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["string",{"plain":null}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string",{"plain":null}]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["string",{"plain":null}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string",{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":["string",{"plain":false}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string",{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":["string",{"plain":false}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string",{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":["string",{"plain":false}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string",{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":["string",{"plain":false}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string",{"plain":false}]}]}' <<< '["foo"]'
json: error: <stdin>:1:7: type check error: too few arguments
json: error: <stdin>:1:7: ["foo"]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string",{"plain":false}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string",{"plain":false}]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["string",{"plain":false}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string",{"plain":false}]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["string",{"plain":false}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string",{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":["string",{"plain":true}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string",{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":["string",{"plain":true}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string",{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":["string",{"plain":true}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string",{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":["string",{"plain":true}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string",{"plain":true}]}]}' <<< '["foo"]'
json: error: <stdin>:1:7: type check error: too few arguments
json: error: <stdin>:1:7: ["foo"]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string",{"plain":true}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string",{"plain":true}]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["string",{"plain":true}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string",{"plain":true}]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["string",{"plain":true}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string",{"plain":123}]}]}' <<< '[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":"list","args":[{"type":"array","args":["string",{"plain":123}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string",{"plain":123}]}]}' <<< '[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":"list","args":[{"type":"array","args":["string",{"plain":123}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string",{"plain":123}]}]}' <<< '[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":"list","args":[{"type":"array","args":["string",{"plain":123}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string",{"plain":123}]}]}' <<< '[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":"list","args":[{"type":"array","args":["string",{"plain":123}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string",{"plain":123}]}]}' <<< '["foo"]'
json: error: <stdin>:1:7: type check error: too few arguments
json: error: <stdin>:1:7: ["foo"]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string",{"plain":123}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string",{"plain":123}]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["string",{"plain":123}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string",{"plain":123}]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["string",{"plain":123}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string",{"plain":"foo"}]}]}' <<< '[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":"list","args":[{"type":"array","args":["string",{"plain":"foo"}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string",{"plain":"foo"}]}]}' <<< '[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":"list","args":[{"type":"array","args":["string",{"plain":"foo"}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string",{"plain":"foo"}]}]}' <<< '[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":"list","args":[{"type":"array","args":["string",{"plain":"foo"}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string",{"plain":"foo"}]}]}' <<< '[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":"list","args":[{"type":"array","args":["string",{"plain":"foo"}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string",{"plain":"foo"}]}]}' <<< '["foo"]'
json: error: <stdin>:1:7: type check error: too few arguments
json: error: <stdin>:1:7: ["foo"]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string",{"plain":"foo"}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string",{"plain":"foo"}]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["string",{"plain":"foo"}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string",{"plain":"foo"}]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["string",{"plain":"foo"}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object",{"plain":null}]}]}' <<< '[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":"list","args":[{"type":"array","args":["object",{"plain":null}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object",{"plain":null}]}]}' <<< '[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":"list","args":[{"type":"array","args":["object",{"plain":null}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object",{"plain":null}]}]}' <<< '[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":"list","args":[{"type":"array","args":["object",{"plain":null}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object",{"plain":null}]}]}' <<< '[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":"list","args":[{"type":"array","args":["object",{"plain":null}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object",{"plain":null}]}]}' <<< '["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":"list","args":[{"type":"array","args":["object",{"plain":null}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object",{"plain":null}]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["object",{"plain":null}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object",{"plain":null}]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["object",{"plain":null}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object",{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":["object",{"plain":false}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object",{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":["object",{"plain":false}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object",{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":["object",{"plain":false}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object",{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":["object",{"plain":false}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object",{"plain":false}]}]}' <<< '["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":"list","args":[{"type":"array","args":["object",{"plain":false}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object",{"plain":false}]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["object",{"plain":false}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object",{"plain":false}]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["object",{"plain":false}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object",{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":["object",{"plain":true}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object",{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":["object",{"plain":true}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object",{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":["object",{"plain":true}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object",{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":["object",{"plain":true}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object",{"plain":true}]}]}' <<< '["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":"list","args":[{"type":"array","args":["object",{"plain":true}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object",{"plain":true}]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["object",{"plain":true}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object",{"plain":true}]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["object",{"plain":true}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object",{"plain":123}]}]}' <<< '[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":"list","args":[{"type":"array","args":["object",{"plain":123}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object",{"plain":123}]}]}' <<< '[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":"list","args":[{"type":"array","args":["object",{"plain":123}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object",{"plain":123}]}]}' <<< '[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":"list","args":[{"type":"array","args":["object",{"plain":123}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object",{"plain":123}]}]}' <<< '[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":"list","args":[{"type":"array","args":["object",{"plain":123}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object",{"plain":123}]}]}' <<< '["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":"list","args":[{"type":"array","args":["object",{"plain":123}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object",{"plain":123}]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["object",{"plain":123}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object",{"plain":123}]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["object",{"plain":123}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object",{"plain":"foo"}]}]}' <<< '[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":"list","args":[{"type":"array","args":["object",{"plain":"foo"}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object",{"plain":"foo"}]}]}' <<< '[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":"list","args":[{"type":"array","args":["object",{"plain":"foo"}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object",{"plain":"foo"}]}]}' <<< '[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":"list","args":[{"type":"array","args":["object",{"plain":"foo"}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object",{"plain":"foo"}]}]}' <<< '[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":"list","args":[{"type":"array","args":["object",{"plain":"foo"}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object",{"plain":"foo"}]}]}' <<< '["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":"list","args":[{"type":"array","args":["object",{"plain":"foo"}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object",{"plain":"foo"}]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["object",{"plain":"foo"}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object",{"plain":"foo"}]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["object",{"plain":"foo"}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array",{"plain":null}]}]}' <<< '[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":"list","args":[{"type":"array","args":["array",{"plain":null}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array",{"plain":null}]}]}' <<< '[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":"list","args":[{"type":"array","args":["array",{"plain":null}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array",{"plain":null}]}]}' <<< '[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":"list","args":[{"type":"array","args":["array",{"plain":null}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array",{"plain":null}]}]}' <<< '[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":"list","args":[{"type":"array","args":["array",{"plain":null}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array",{"plain":null}]}]}' <<< '["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":"list","args":[{"type":"array","args":["array",{"plain":null}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array",{"plain":null}]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["array",{"plain":null}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array",{"plain":null}]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["array",{"plain":null}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array",{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":["array",{"plain":false}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array",{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":["array",{"plain":false}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array",{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":["array",{"plain":false}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array",{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":["array",{"plain":false}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array",{"plain":false}]}]}' <<< '["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":"list","args":[{"type":"array","args":["array",{"plain":false}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array",{"plain":false}]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["array",{"plain":false}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array",{"plain":false}]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["array",{"plain":false}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array",{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":["array",{"plain":true}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array",{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":["array",{"plain":true}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array",{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":["array",{"plain":true}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array",{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":["array",{"plain":true}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array",{"plain":true}]}]}' <<< '["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":"list","args":[{"type":"array","args":["array",{"plain":true}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array",{"plain":true}]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["array",{"plain":true}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array",{"plain":true}]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["array",{"plain":true}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array",{"plain":123}]}]}' <<< '[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":"list","args":[{"type":"array","args":["array",{"plain":123}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array",{"plain":123}]}]}' <<< '[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":"list","args":[{"type":"array","args":["array",{"plain":123}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array",{"plain":123}]}]}' <<< '[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":"list","args":[{"type":"array","args":["array",{"plain":123}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array",{"plain":123}]}]}' <<< '[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":"list","args":[{"type":"array","args":["array",{"plain":123}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array",{"plain":123}]}]}' <<< '["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":"list","args":[{"type":"array","args":["array",{"plain":123}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array",{"plain":123}]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["array",{"plain":123}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array",{"plain":123}]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["array",{"plain":123}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array",{"plain":"foo"}]}]}' <<< '[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":"list","args":[{"type":"array","args":["array",{"plain":"foo"}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array",{"plain":"foo"}]}]}' <<< '[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":"list","args":[{"type":"array","args":["array",{"plain":"foo"}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array",{"plain":"foo"}]}]}' <<< '[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":"list","args":[{"type":"array","args":["array",{"plain":"foo"}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array",{"plain":"foo"}]}]}' <<< '[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":"list","args":[{"type":"array","args":["array",{"plain":"foo"}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array",{"plain":"foo"}]}]}' <<< '["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":"list","args":[{"type":"array","args":["array",{"plain":"foo"}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array",{"plain":"foo"}]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":["array",{"plain":"foo"}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array",{"plain":"foo"}]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":["array",{"plain":"foo"}]}]}' <<< '[[]]'
$

--[ list-closed-array-basic-plain-val-array-basic-basic ]-----------------------

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

--[ list-open-array-plain-val-basic ]-------------------------------------------

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

--[ list-open-array-plain-val-array-empty ]-------------------------------------

#
# # meta command:
# $ for p in null false true 123 '"foo"'; do T='{"type":"list","args":[{"type":"array","args":{"plain":'"$p"'}}]}'; c="json -d '$T' <<< '[]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done
#
$ json -d '{"type":"list","args":[{"type":"array","args":{"plain":null}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":{"plain":false}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":{"plain":true}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":{"plain":123}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":{"plain":"foo"}}]}' <<< '[]'
[]
$

--[ list-open-array-plain-val-array-basic ]-------------------------------------

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

--[ list-open-array-plain-val-array-basic-basic ]-------------------------------

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

--[ list-closed-array-plain-val-basic ]-----------------------------------------

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

--[ list-closed-array-plain-val-array-empty ]-----------------------------------

#
# # meta command:
# $ for p in null false true 123 '"foo"'; do T='{"type":"list","args":[{"type":"array","args":[{"plain":'"$p"'}]}]}'; c="json -d '$T' <<< '[]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done
#
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":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":"list","args":[{"type":"array","args":[{"plain":null}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":[{"plain":123}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[]'
$

--[ list-closed-array-plain-val-array-basic ]-----------------------------------

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

--[ list-closed-array-plain-val-array-basic-basic ]-----------------------------

#
# # meta command:
# $ for p in null false true 123 '"foo"'; do for v in null false true 123 456 '"foo"' '"bar"' '{}' '[]'; do T='{"type":"list","args":[{"type":"array","args":[{"plain":'"$p"'}]}]}'; c="json -d '$T' <<< '[$p,$v]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":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":"list","args":[{"type":"array","args":[{"plain":null}]}]}' <<< '[null,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":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":"list","args":[{"type":"array","args":[{"plain":null}]}]}' <<< '[null,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":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":"list","args":[{"type":"array","args":[{"plain":null}]}]}' <<< '[null,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":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":"list","args":[{"type":"array","args":[{"plain":null}]}]}' <<< '[null,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null}]}]}' <<< '[null,456]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [null,456]
json: error: <stdin>:1:6:      ^
[null
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null}]}]}' <<< '[null,456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":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":"list","args":[{"type":"array","args":[{"plain":null}]}]}' <<< '[null,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null}]}]}' <<< '[null,"bar"]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [null,"bar"]
json: error: <stdin>:1:6:      ^
[null
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null}]}]}' <<< '[null,"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":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":"list","args":[{"type":"array","args":[{"plain":null}]}]}' <<< '[null,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":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":"list","args":[{"type":"array","args":[{"plain":null}]}]}' <<< '[null,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":false}]}]}' <<< '[false,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":false}]}]}' <<< '[false,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":false}]}]}' <<< '[false,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":false}]}]}' <<< '[false,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false}]}]}' <<< '[false,456]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: [false,456]
json: error: <stdin>:1:7:       ^
[false
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false}]}]}' <<< '[false,456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":false}]}]}' <<< '[false,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false}]}]}' <<< '[false,"bar"]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: [false,"bar"]
json: error: <stdin>:1:7:       ^
[false
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false}]}]}' <<< '[false,"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":false}]}]}' <<< '[false,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":false}]}]}' <<< '[false,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]}]}' <<< '[true,null]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,null]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]}]}' <<< '[true,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]}]}' <<< '[true,false]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,false]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]}]}' <<< '[true,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]}]}' <<< '[true,true]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,true]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]}]}' <<< '[true,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]}]}' <<< '[true,123]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,123]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]}]}' <<< '[true,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]}]}' <<< '[true,456]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,456]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]}]}' <<< '[true,456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]}]}' <<< '[true,"foo"]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,"foo"]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]}]}' <<< '[true,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]}]}' <<< '[true,"bar"]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,"bar"]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]}]}' <<< '[true,"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]}]}' <<< '[true,{}]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,{}]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]}]}' <<< '[true,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]}]}' <<< '[true,[]]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,[]]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]}]}' <<< '[true,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]}]}' <<< '[123,null]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,null]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]}]}' <<< '[123,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]}]}' <<< '[123,false]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,false]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]}]}' <<< '[123,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]}]}' <<< '[123,true]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,true]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]}]}' <<< '[123,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]}]}' <<< '[123,123]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,123]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]}]}' <<< '[123,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]}]}' <<< '[123,456]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,456]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]}]}' <<< '[123,456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]}]}' <<< '[123,"foo"]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,"foo"]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]}]}' <<< '[123,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]}]}' <<< '[123,"bar"]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,"bar"]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]}]}' <<< '[123,"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]}]}' <<< '[123,{}]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,{}]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]}]}' <<< '[123,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]}]}' <<< '[123,[]]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,[]]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]}]}' <<< '[123,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",null]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",null]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",false]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",false]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",true]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",true]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",123]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",123]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",123]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",456]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",456]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo","foo"]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo","foo"]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo","foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo","bar"]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo","bar"]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo","bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",{}]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",{}]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",[]]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",[]]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",[]]'
$

--[ list-closed-array-plain-plain-val-basic ]-----------------------------------

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

--[ list-closed-array-plain-plain-val-array-empty ]-----------------------------

#
# # meta command:
# $ for p in null false true 123 '"foo"'; do for p2 in null false true 456 '"bar"'; do T='{"type":"list","args":[{"type":"array","args":[{"plain":'"$p"'},{"plain":'"$p2"'}]}]}'; c="json -d '$T' <<< '[]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null},{"plain":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":"list","args":[{"type":"array","args":[{"plain":null},{"plain":null}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null},{"plain":false}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":[{"plain":null},{"plain":false}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null},{"plain":true}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":[{"plain":null},{"plain":true}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null},{"plain":456}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":[{"plain":null},{"plain":456}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null},{"plain":"bar"}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":[{"plain":null},{"plain":"bar"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false},{"plain":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":"list","args":[{"type":"array","args":[{"plain":false},{"plain":null}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false},{"plain":false}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":[{"plain":false},{"plain":false}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false},{"plain":true}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":[{"plain":false},{"plain":true}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false},{"plain":456}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":[{"plain":false},{"plain":456}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false},{"plain":"bar"}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":[{"plain":false},{"plain":"bar"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"plain":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":"list","args":[{"type":"array","args":[{"plain":true},{"plain":null}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"plain":false}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":[{"plain":true},{"plain":false}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"plain":true}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":[{"plain":true},{"plain":true}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"plain":456}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":[{"plain":true},{"plain":456}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"plain":"bar"}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":[{"plain":true},{"plain":"bar"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":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":"list","args":[{"type":"array","args":[{"plain":123},{"plain":null}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":false}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":[{"plain":123},{"plain":false}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":true}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":[{"plain":123},{"plain":true}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":456}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":[{"plain":123},{"plain":456}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":"bar"}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":[{"plain":123},{"plain":"bar"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":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":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":null}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":false}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":false}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":true}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":true}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":456}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":456}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":"bar"}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":"bar"}]}]}' <<< '[]'
$

--[ list-closed-array-plain-plain-val-array-basic ]-----------------------------

#
# # meta command:
# $ for p in null false true 123 '"foo"'; do for p2 in null false true 456 '"bar"'; do for v in null false true 123 456 '"foo"' '"bar"' '{}' '[]'; do T='{"type":"list","args":[{"type":"array","args":[{"plain":'"$p"'},{"plain":'"$p2"'}]}]}'; c="json -d '$T' <<< '[$v]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null},{"plain":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":"list","args":[{"type":"array","args":[{"plain":null},{"plain":null}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null},{"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":"list","args":[{"type":"array","args":[{"plain":null},{"plain":null}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null},{"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":"list","args":[{"type":"array","args":[{"plain":null},{"plain":null}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null},{"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":"list","args":[{"type":"array","args":[{"plain":null},{"plain":null}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null},{"plain":null}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null},{"plain":null}]}]}' <<< '[456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null},{"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":"list","args":[{"type":"array","args":[{"plain":null},{"plain":null}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null},{"plain":null}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null},{"plain":null}]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null},{"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":"list","args":[{"type":"array","args":[{"plain":null},{"plain":null}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null},{"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":"list","args":[{"type":"array","args":[{"plain":null},{"plain":null}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null},{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":null},{"plain":false}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null},{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":null},{"plain":false}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null},{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":null},{"plain":false}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null},{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":null},{"plain":false}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null},{"plain":false}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null},{"plain":false}]}]}' <<< '[456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null},{"plain":false}]}]}' <<< '["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":"list","args":[{"type":"array","args":[{"plain":null},{"plain":false}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null},{"plain":false}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null},{"plain":false}]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null},{"plain":false}]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":[{"plain":null},{"plain":false}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null},{"plain":false}]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":[{"plain":null},{"plain":false}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null},{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":null},{"plain":true}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null},{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":null},{"plain":true}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null},{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":null},{"plain":true}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null},{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":null},{"plain":true}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null},{"plain":true}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null},{"plain":true}]}]}' <<< '[456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null},{"plain":true}]}]}' <<< '["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":"list","args":[{"type":"array","args":[{"plain":null},{"plain":true}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null},{"plain":true}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null},{"plain":true}]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null},{"plain":true}]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":[{"plain":null},{"plain":true}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null},{"plain":true}]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":[{"plain":null},{"plain":true}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null},{"plain":456}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":null},{"plain":456}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null},{"plain":456}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":null},{"plain":456}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null},{"plain":456}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":null},{"plain":456}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null},{"plain":456}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":null},{"plain":456}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null},{"plain":456}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null},{"plain":456}]}]}' <<< '[456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null},{"plain":456}]}]}' <<< '["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":"list","args":[{"type":"array","args":[{"plain":null},{"plain":456}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null},{"plain":456}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null},{"plain":456}]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null},{"plain":456}]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":[{"plain":null},{"plain":456}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null},{"plain":456}]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":[{"plain":null},{"plain":456}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null},{"plain":"bar"}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":null},{"plain":"bar"}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null},{"plain":"bar"}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":null},{"plain":"bar"}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null},{"plain":"bar"}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":null},{"plain":"bar"}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null},{"plain":"bar"}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":null},{"plain":"bar"}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null},{"plain":"bar"}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null},{"plain":"bar"}]}]}' <<< '[456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null},{"plain":"bar"}]}]}' <<< '["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":"list","args":[{"type":"array","args":[{"plain":null},{"plain":"bar"}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null},{"plain":"bar"}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null},{"plain":"bar"}]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null},{"plain":"bar"}]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":[{"plain":null},{"plain":"bar"}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null},{"plain":"bar"}]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":[{"plain":null},{"plain":"bar"}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false},{"plain":null}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":false},{"plain":null}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false},{"plain":null}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":false},{"plain":null}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false},{"plain":null}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":false},{"plain":null}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false},{"plain":null}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":false},{"plain":null}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false},{"plain":null}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false},{"plain":null}]}]}' <<< '[456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false},{"plain":null}]}]}' <<< '["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":"list","args":[{"type":"array","args":[{"plain":false},{"plain":null}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false},{"plain":null}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false},{"plain":null}]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false},{"plain":null}]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":[{"plain":false},{"plain":null}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false},{"plain":null}]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":[{"plain":false},{"plain":null}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false},{"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":"list","args":[{"type":"array","args":[{"plain":false},{"plain":false}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false},{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":false},{"plain":false}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false},{"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":"list","args":[{"type":"array","args":[{"plain":false},{"plain":false}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false},{"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":"list","args":[{"type":"array","args":[{"plain":false},{"plain":false}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false},{"plain":false}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false},{"plain":false}]}]}' <<< '[456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false},{"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":"list","args":[{"type":"array","args":[{"plain":false},{"plain":false}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false},{"plain":false}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false},{"plain":false}]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false},{"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":"list","args":[{"type":"array","args":[{"plain":false},{"plain":false}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false},{"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":"list","args":[{"type":"array","args":[{"plain":false},{"plain":false}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false},{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":false},{"plain":true}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false},{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":false},{"plain":true}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false},{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":false},{"plain":true}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false},{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":false},{"plain":true}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false},{"plain":true}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false},{"plain":true}]}]}' <<< '[456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false},{"plain":true}]}]}' <<< '["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":"list","args":[{"type":"array","args":[{"plain":false},{"plain":true}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false},{"plain":true}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false},{"plain":true}]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false},{"plain":true}]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":[{"plain":false},{"plain":true}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false},{"plain":true}]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":[{"plain":false},{"plain":true}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false},{"plain":456}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":false},{"plain":456}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false},{"plain":456}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":false},{"plain":456}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false},{"plain":456}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":false},{"plain":456}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false},{"plain":456}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":false},{"plain":456}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false},{"plain":456}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false},{"plain":456}]}]}' <<< '[456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false},{"plain":456}]}]}' <<< '["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":"list","args":[{"type":"array","args":[{"plain":false},{"plain":456}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false},{"plain":456}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false},{"plain":456}]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false},{"plain":456}]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":[{"plain":false},{"plain":456}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false},{"plain":456}]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":[{"plain":false},{"plain":456}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false},{"plain":"bar"}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":false},{"plain":"bar"}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false},{"plain":"bar"}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":false},{"plain":"bar"}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false},{"plain":"bar"}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":false},{"plain":"bar"}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false},{"plain":"bar"}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":false},{"plain":"bar"}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false},{"plain":"bar"}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false},{"plain":"bar"}]}]}' <<< '[456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false},{"plain":"bar"}]}]}' <<< '["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":"list","args":[{"type":"array","args":[{"plain":false},{"plain":"bar"}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false},{"plain":"bar"}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false},{"plain":"bar"}]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false},{"plain":"bar"}]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":[{"plain":false},{"plain":"bar"}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false},{"plain":"bar"}]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":[{"plain":false},{"plain":"bar"}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"plain":null}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":true},{"plain":null}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"plain":null}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":true},{"plain":null}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"plain":null}]}]}' <<< '[true]'
json: error: <stdin>:1:6: type check error: too few arguments
json: error: <stdin>:1:6: [true]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"plain":null}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"plain":null}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":true},{"plain":null}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"plain":null}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"plain":null}]}]}' <<< '[456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"plain":null}]}]}' <<< '["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":"list","args":[{"type":"array","args":[{"plain":true},{"plain":null}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"plain":null}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"plain":null}]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"plain":null}]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":[{"plain":true},{"plain":null}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"plain":null}]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":[{"plain":true},{"plain":null}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":true},{"plain":false}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":true},{"plain":false}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"plain":false}]}]}' <<< '[true]'
json: error: <stdin>:1:6: type check error: too few arguments
json: error: <stdin>:1:6: [true]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"plain":false}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":true},{"plain":false}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"plain":false}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"plain":false}]}]}' <<< '[456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"plain":false}]}]}' <<< '["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":"list","args":[{"type":"array","args":[{"plain":true},{"plain":false}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"plain":false}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"plain":false}]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"plain":false}]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":[{"plain":true},{"plain":false}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"plain":false}]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":[{"plain":true},{"plain":false}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"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":"list","args":[{"type":"array","args":[{"plain":true},{"plain":true}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"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":"list","args":[{"type":"array","args":[{"plain":true},{"plain":true}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"plain":true}]}]}' <<< '[true]'
json: error: <stdin>:1:6: type check error: too few arguments
json: error: <stdin>:1:6: [true]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"plain":true}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"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":"list","args":[{"type":"array","args":[{"plain":true},{"plain":true}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"plain":true}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"plain":true}]}]}' <<< '[456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"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":"list","args":[{"type":"array","args":[{"plain":true},{"plain":true}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"plain":true}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"plain":true}]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"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":"list","args":[{"type":"array","args":[{"plain":true},{"plain":true}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"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":"list","args":[{"type":"array","args":[{"plain":true},{"plain":true}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"plain":456}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":true},{"plain":456}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"plain":456}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":true},{"plain":456}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"plain":456}]}]}' <<< '[true]'
json: error: <stdin>:1:6: type check error: too few arguments
json: error: <stdin>:1:6: [true]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"plain":456}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"plain":456}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":true},{"plain":456}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"plain":456}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"plain":456}]}]}' <<< '[456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"plain":456}]}]}' <<< '["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":"list","args":[{"type":"array","args":[{"plain":true},{"plain":456}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"plain":456}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"plain":456}]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"plain":456}]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":[{"plain":true},{"plain":456}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"plain":456}]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":[{"plain":true},{"plain":456}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"plain":"bar"}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":true},{"plain":"bar"}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"plain":"bar"}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":true},{"plain":"bar"}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"plain":"bar"}]}]}' <<< '[true]'
json: error: <stdin>:1:6: type check error: too few arguments
json: error: <stdin>:1:6: [true]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"plain":"bar"}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"plain":"bar"}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":true},{"plain":"bar"}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"plain":"bar"}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"plain":"bar"}]}]}' <<< '[456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"plain":"bar"}]}]}' <<< '["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":"list","args":[{"type":"array","args":[{"plain":true},{"plain":"bar"}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"plain":"bar"}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"plain":"bar"}]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"plain":"bar"}]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":[{"plain":true},{"plain":"bar"}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true},{"plain":"bar"}]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":[{"plain":true},{"plain":"bar"}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":null}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":123},{"plain":null}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":null}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":123},{"plain":null}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":null}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":123},{"plain":null}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":null}]}]}' <<< '[123]'
json: error: <stdin>:1:5: type check error: too few arguments
json: error: <stdin>:1:5: [123]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":null}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":null}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":null}]}]}' <<< '[456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":null}]}]}' <<< '["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":"list","args":[{"type":"array","args":[{"plain":123},{"plain":null}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":null}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":null}]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":null}]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":[{"plain":123},{"plain":null}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":null}]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":[{"plain":123},{"plain":null}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":123},{"plain":false}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":123},{"plain":false}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":123},{"plain":false}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":false}]}]}' <<< '[123]'
json: error: <stdin>:1:5: type check error: too few arguments
json: error: <stdin>:1:5: [123]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":false}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":false}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":false}]}]}' <<< '[456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":false}]}]}' <<< '["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":"list","args":[{"type":"array","args":[{"plain":123},{"plain":false}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":false}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":false}]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":false}]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":[{"plain":123},{"plain":false}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":false}]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":[{"plain":123},{"plain":false}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":123},{"plain":true}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":123},{"plain":true}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":123},{"plain":true}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":true}]}]}' <<< '[123]'
json: error: <stdin>:1:5: type check error: too few arguments
json: error: <stdin>:1:5: [123]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":true}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":true}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":true}]}]}' <<< '[456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":true}]}]}' <<< '["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":"list","args":[{"type":"array","args":[{"plain":123},{"plain":true}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":true}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":true}]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":true}]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":[{"plain":123},{"plain":true}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":true}]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":[{"plain":123},{"plain":true}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":456}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":123},{"plain":456}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":456}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":123},{"plain":456}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":456}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":123},{"plain":456}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":456}]}]}' <<< '[123]'
json: error: <stdin>:1:5: type check error: too few arguments
json: error: <stdin>:1:5: [123]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":456}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":456}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":456}]}]}' <<< '[456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":456}]}]}' <<< '["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":"list","args":[{"type":"array","args":[{"plain":123},{"plain":456}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":456}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":456}]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":456}]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":[{"plain":123},{"plain":456}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":456}]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":[{"plain":123},{"plain":456}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":"bar"}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":123},{"plain":"bar"}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":"bar"}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":123},{"plain":"bar"}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":"bar"}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":123},{"plain":"bar"}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":"bar"}]}]}' <<< '[123]'
json: error: <stdin>:1:5: type check error: too few arguments
json: error: <stdin>:1:5: [123]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":"bar"}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":"bar"}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":"bar"}]}]}' <<< '[456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":"bar"}]}]}' <<< '["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":"list","args":[{"type":"array","args":[{"plain":123},{"plain":"bar"}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":"bar"}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":"bar"}]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":"bar"}]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":[{"plain":123},{"plain":"bar"}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123},{"plain":"bar"}]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":[{"plain":123},{"plain":"bar"}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":null}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":null}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":null}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":null}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":null}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":null}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":null}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":null}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":null}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":null}]}]}' <<< '[456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":null}]}]}' <<< '["foo"]'
json: error: <stdin>:1:7: type check error: too few arguments
json: error: <stdin>:1:7: ["foo"]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":null}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":null}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":null}]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":null}]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":null}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":null}]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":null}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":false}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":false}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":false}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":false}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":false}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":false}]}]}' <<< '[456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":false}]}]}' <<< '["foo"]'
json: error: <stdin>:1:7: type check error: too few arguments
json: error: <stdin>:1:7: ["foo"]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":false}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":false}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":false}]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":false}]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":false}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":false}]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":false}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":true}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":true}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":true}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":true}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":true}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":true}]}]}' <<< '[456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":true}]}]}' <<< '["foo"]'
json: error: <stdin>:1:7: type check error: too few arguments
json: error: <stdin>:1:7: ["foo"]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":true}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":true}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":true}]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":true}]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":true}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":true}]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":true}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":456}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":456}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":456}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":456}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":456}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":456}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":456}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":456}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":456}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":456}]}]}' <<< '[456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":456}]}]}' <<< '["foo"]'
json: error: <stdin>:1:7: type check error: too few arguments
json: error: <stdin>:1:7: ["foo"]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":456}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":456}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":456}]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":456}]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":456}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":456}]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":456}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":"bar"}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":"bar"}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":"bar"}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":"bar"}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":"bar"}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":"bar"}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":"bar"}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":"bar"}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":"bar"}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":"bar"}]}]}' <<< '[456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":"bar"}]}]}' <<< '["foo"]'
json: error: <stdin>:1:7: type check error: too few arguments
json: error: <stdin>:1:7: ["foo"]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":"bar"}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":"bar"}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":"bar"}]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":"bar"}]}]}' <<< '[{}]'
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":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":"bar"}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":"bar"}]}]}' <<< '[[]]'
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":"list","args":[{"type":"array","args":[{"plain":"foo"},{"plain":"bar"}]}]}' <<< '[[]]'
$

--[ list-closed-array-plain-plain-val-array-basic-basic ]-----------------------

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

--[ list-basic-open-array-basic-val-basic ]-------------------------------------

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

--[ list-basic-open-array-basic-val-array-empty ]-------------------------------

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

--[ list-basic-open-array-basic-val-array-basic ]-------------------------------

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

--[ list-basic-open-array-basic-val-array-basic-basic ]-------------------------

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

--[ list-basic-closed-array-basic-val-basic ]-----------------------------------

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

--[ list-basic-closed-array-basic-val-array-empty ]-----------------------------

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

--[ list-basic-closed-array-basic-val-array-basic ]-----------------------------

#
# # 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 T='{"type":"list","args":["'"$t"'",{"type":"array","args":["'"$t2"'"]}]}'; c="json -d '$T' <<< '[$v]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"list","args":["type",{"type":"array","args":["type"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":["type",{"type":"array","args":["type"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":["type",{"type":"array","args":["type"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":["type",{"type":"array","args":["type"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":["type",{"type":"array","args":["type"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"list","args":["type",{"type":"array","args":["type"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":["type",{"type":"array","args":["type"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":["type",{"type":"array","args":["null"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":["type",{"type":"array","args":["null"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":["type",{"type":"array","args":["null"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":["type",{"type":"array","args":["null"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":["type",{"type":"array","args":["null"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"list","args":["type",{"type":"array","args":["null"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":["type",{"type":"array","args":["null"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":["type",{"type":"array","args":["boolean"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":["type",{"type":"array","args":["boolean"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":["type",{"type":"array","args":["boolean"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":["type",{"type":"array","args":["boolean"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":["type",{"type":"array","args":["boolean"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"list","args":["type",{"type":"array","args":["boolean"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":["type",{"type":"array","args":["boolean"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":["type",{"type":"array","args":["number"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":["type",{"type":"array","args":["number"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":["type",{"type":"array","args":["number"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":["type",{"type":"array","args":["number"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":["type",{"type":"array","args":["number"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"list","args":["type",{"type":"array","args":["number"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":["type",{"type":"array","args":["number"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":["type",{"type":"array","args":["string"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":["type",{"type":"array","args":["string"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":["type",{"type":"array","args":["string"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":["type",{"type":"array","args":["string"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":["type",{"type":"array","args":["string"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"list","args":["type",{"type":"array","args":["string"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":["type",{"type":"array","args":["string"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":["type",{"type":"array","args":["object"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":["type",{"type":"array","args":["object"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":["type",{"type":"array","args":["object"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":["type",{"type":"array","args":["object"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":["type",{"type":"array","args":["object"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"list","args":["type",{"type":"array","args":["object"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":["type",{"type":"array","args":["object"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":["type",{"type":"array","args":["array"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":["type",{"type":"array","args":["array"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":["type",{"type":"array","args":["array"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":["type",{"type":"array","args":["array"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":["type",{"type":"array","args":["array"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"list","args":["type",{"type":"array","args":["array"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":["type",{"type":"array","args":["array"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":["null",{"type":"array","args":["type"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":["null",{"type":"array","args":["type"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":["null",{"type":"array","args":["type"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":["null",{"type":"array","args":["type"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":["null",{"type":"array","args":["type"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"list","args":["null",{"type":"array","args":["type"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":["null",{"type":"array","args":["type"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":["null",{"type":"array","args":["null"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":["null",{"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":"list","args":["null",{"type":"array","args":["null"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":["null",{"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":"list","args":["null",{"type":"array","args":["null"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":["null",{"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":"list","args":["null",{"type":"array","args":["null"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":["null",{"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":"list","args":["null",{"type":"array","args":["null"]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":["null",{"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":"list","args":["null",{"type":"array","args":["null"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":["null",{"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":"list","args":["null",{"type":"array","args":["null"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":["null",{"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":"list","args":["null",{"type":"array","args":["boolean"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":["null",{"type":"array","args":["boolean"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":["null",{"type":"array","args":["boolean"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":["null",{"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":"list","args":["null",{"type":"array","args":["boolean"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":["null",{"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":"list","args":["null",{"type":"array","args":["boolean"]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":["null",{"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":"list","args":["null",{"type":"array","args":["boolean"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":["null",{"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":"list","args":["null",{"type":"array","args":["boolean"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":["null",{"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":"list","args":["null",{"type":"array","args":["number"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":["null",{"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":"list","args":["null",{"type":"array","args":["number"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":["null",{"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":"list","args":["null",{"type":"array","args":["number"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":["null",{"type":"array","args":["number"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":["null",{"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":"list","args":["null",{"type":"array","args":["number"]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":["null",{"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":"list","args":["null",{"type":"array","args":["number"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":["null",{"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":"list","args":["null",{"type":"array","args":["number"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":["null",{"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":"list","args":["null",{"type":"array","args":["string"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":["null",{"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":"list","args":["null",{"type":"array","args":["string"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":["null",{"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":"list","args":["null",{"type":"array","args":["string"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":["null",{"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":"list","args":["null",{"type":"array","args":["string"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":["null",{"type":"array","args":["string"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"list","args":["null",{"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":"list","args":["null",{"type":"array","args":["string"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":["null",{"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":"list","args":["null",{"type":"array","args":["string"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":["null",{"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":"list","args":["null",{"type":"array","args":["object"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":["null",{"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":"list","args":["null",{"type":"array","args":["object"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":["null",{"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":"list","args":["null",{"type":"array","args":["object"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":["null",{"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":"list","args":["null",{"type":"array","args":["object"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":["null",{"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":"list","args":["null",{"type":"array","args":["object"]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":["null",{"type":"array","args":["object"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":["null",{"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":"list","args":["null",{"type":"array","args":["object"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":["null",{"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":"list","args":["null",{"type":"array","args":["array"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":["null",{"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":"list","args":["null",{"type":"array","args":["array"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":["null",{"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":"list","args":["null",{"type":"array","args":["array"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":["null",{"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":"list","args":["null",{"type":"array","args":["array"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":["null",{"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":"list","args":["null",{"type":"array","args":["array"]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":["null",{"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":"list","args":["null",{"type":"array","args":["array"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":["null",{"type":"array","args":["array"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":["boolean",{"type":"array","args":["type"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":["boolean",{"type":"array","args":["type"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":["boolean",{"type":"array","args":["type"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":["boolean",{"type":"array","args":["type"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":["boolean",{"type":"array","args":["type"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"list","args":["boolean",{"type":"array","args":["type"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":["boolean",{"type":"array","args":["type"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":["boolean",{"type":"array","args":["null"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":["boolean",{"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":"list","args":["boolean",{"type":"array","args":["null"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":["boolean",{"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":"list","args":["boolean",{"type":"array","args":["null"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":["boolean",{"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":"list","args":["boolean",{"type":"array","args":["null"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":["boolean",{"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":"list","args":["boolean",{"type":"array","args":["null"]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":["boolean",{"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":"list","args":["boolean",{"type":"array","args":["null"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":["boolean",{"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":"list","args":["boolean",{"type":"array","args":["null"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":["boolean",{"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":"list","args":["boolean",{"type":"array","args":["boolean"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":["boolean",{"type":"array","args":["boolean"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":["boolean",{"type":"array","args":["boolean"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":["boolean",{"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":"list","args":["boolean",{"type":"array","args":["boolean"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":["boolean",{"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":"list","args":["boolean",{"type":"array","args":["boolean"]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":["boolean",{"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":"list","args":["boolean",{"type":"array","args":["boolean"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":["boolean",{"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":"list","args":["boolean",{"type":"array","args":["boolean"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":["boolean",{"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":"list","args":["boolean",{"type":"array","args":["number"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":["boolean",{"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":"list","args":["boolean",{"type":"array","args":["number"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":["boolean",{"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":"list","args":["boolean",{"type":"array","args":["number"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":["boolean",{"type":"array","args":["number"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":["boolean",{"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":"list","args":["boolean",{"type":"array","args":["number"]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":["boolean",{"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":"list","args":["boolean",{"type":"array","args":["number"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":["boolean",{"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":"list","args":["boolean",{"type":"array","args":["number"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":["boolean",{"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":"list","args":["boolean",{"type":"array","args":["string"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":["boolean",{"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":"list","args":["boolean",{"type":"array","args":["string"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":["boolean",{"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":"list","args":["boolean",{"type":"array","args":["string"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":["boolean",{"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":"list","args":["boolean",{"type":"array","args":["string"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":["boolean",{"type":"array","args":["string"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"list","args":["boolean",{"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":"list","args":["boolean",{"type":"array","args":["string"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":["boolean",{"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":"list","args":["boolean",{"type":"array","args":["string"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":["boolean",{"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":"list","args":["boolean",{"type":"array","args":["object"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":["boolean",{"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":"list","args":["boolean",{"type":"array","args":["object"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":["boolean",{"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":"list","args":["boolean",{"type":"array","args":["object"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":["boolean",{"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":"list","args":["boolean",{"type":"array","args":["object"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":["boolean",{"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":"list","args":["boolean",{"type":"array","args":["object"]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":["boolean",{"type":"array","args":["object"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":["boolean",{"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":"list","args":["boolean",{"type":"array","args":["object"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":["boolean",{"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":"list","args":["boolean",{"type":"array","args":["array"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":["boolean",{"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":"list","args":["boolean",{"type":"array","args":["array"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":["boolean",{"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":"list","args":["boolean",{"type":"array","args":["array"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":["boolean",{"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":"list","args":["boolean",{"type":"array","args":["array"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":["boolean",{"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":"list","args":["boolean",{"type":"array","args":["array"]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":["boolean",{"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":"list","args":["boolean",{"type":"array","args":["array"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":["boolean",{"type":"array","args":["array"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":["number",{"type":"array","args":["type"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":["number",{"type":"array","args":["type"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":["number",{"type":"array","args":["type"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":["number",{"type":"array","args":["type"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":["number",{"type":"array","args":["type"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"list","args":["number",{"type":"array","args":["type"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":["number",{"type":"array","args":["type"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":["number",{"type":"array","args":["null"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":["number",{"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":"list","args":["number",{"type":"array","args":["null"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":["number",{"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":"list","args":["number",{"type":"array","args":["null"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":["number",{"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":"list","args":["number",{"type":"array","args":["null"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":["number",{"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":"list","args":["number",{"type":"array","args":["null"]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":["number",{"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":"list","args":["number",{"type":"array","args":["null"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":["number",{"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":"list","args":["number",{"type":"array","args":["null"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":["number",{"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":"list","args":["number",{"type":"array","args":["boolean"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":["number",{"type":"array","args":["boolean"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":["number",{"type":"array","args":["boolean"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":["number",{"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":"list","args":["number",{"type":"array","args":["boolean"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":["number",{"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":"list","args":["number",{"type":"array","args":["boolean"]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":["number",{"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":"list","args":["number",{"type":"array","args":["boolean"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":["number",{"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":"list","args":["number",{"type":"array","args":["boolean"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":["number",{"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":"list","args":["number",{"type":"array","args":["number"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":["number",{"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":"list","args":["number",{"type":"array","args":["number"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":["number",{"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":"list","args":["number",{"type":"array","args":["number"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":["number",{"type":"array","args":["number"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":["number",{"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":"list","args":["number",{"type":"array","args":["number"]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":["number",{"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":"list","args":["number",{"type":"array","args":["number"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":["number",{"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":"list","args":["number",{"type":"array","args":["number"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":["number",{"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":"list","args":["number",{"type":"array","args":["string"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":["number",{"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":"list","args":["number",{"type":"array","args":["string"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":["number",{"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":"list","args":["number",{"type":"array","args":["string"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":["number",{"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":"list","args":["number",{"type":"array","args":["string"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":["number",{"type":"array","args":["string"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"list","args":["number",{"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":"list","args":["number",{"type":"array","args":["string"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":["number",{"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":"list","args":["number",{"type":"array","args":["string"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":["number",{"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":"list","args":["number",{"type":"array","args":["object"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":["number",{"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":"list","args":["number",{"type":"array","args":["object"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":["number",{"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":"list","args":["number",{"type":"array","args":["object"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":["number",{"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":"list","args":["number",{"type":"array","args":["object"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":["number",{"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":"list","args":["number",{"type":"array","args":["object"]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":["number",{"type":"array","args":["object"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":["number",{"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":"list","args":["number",{"type":"array","args":["object"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":["number",{"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":"list","args":["number",{"type":"array","args":["array"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":["number",{"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":"list","args":["number",{"type":"array","args":["array"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":["number",{"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":"list","args":["number",{"type":"array","args":["array"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":["number",{"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":"list","args":["number",{"type":"array","args":["array"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":["number",{"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":"list","args":["number",{"type":"array","args":["array"]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":["number",{"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":"list","args":["number",{"type":"array","args":["array"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":["number",{"type":"array","args":["array"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":["string",{"type":"array","args":["type"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":["string",{"type":"array","args":["type"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":["string",{"type":"array","args":["type"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":["string",{"type":"array","args":["type"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":["string",{"type":"array","args":["type"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"list","args":["string",{"type":"array","args":["type"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":["string",{"type":"array","args":["type"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":["string",{"type":"array","args":["null"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":["string",{"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":"list","args":["string",{"type":"array","args":["null"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":["string",{"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":"list","args":["string",{"type":"array","args":["null"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":["string",{"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":"list","args":["string",{"type":"array","args":["null"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":["string",{"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":"list","args":["string",{"type":"array","args":["null"]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":["string",{"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":"list","args":["string",{"type":"array","args":["null"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":["string",{"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":"list","args":["string",{"type":"array","args":["null"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":["string",{"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":"list","args":["string",{"type":"array","args":["boolean"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":["string",{"type":"array","args":["boolean"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":["string",{"type":"array","args":["boolean"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":["string",{"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":"list","args":["string",{"type":"array","args":["boolean"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":["string",{"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":"list","args":["string",{"type":"array","args":["boolean"]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":["string",{"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":"list","args":["string",{"type":"array","args":["boolean"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":["string",{"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":"list","args":["string",{"type":"array","args":["boolean"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":["string",{"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":"list","args":["string",{"type":"array","args":["number"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":["string",{"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":"list","args":["string",{"type":"array","args":["number"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":["string",{"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":"list","args":["string",{"type":"array","args":["number"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":["string",{"type":"array","args":["number"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":["string",{"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":"list","args":["string",{"type":"array","args":["number"]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":["string",{"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":"list","args":["string",{"type":"array","args":["number"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":["string",{"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":"list","args":["string",{"type":"array","args":["number"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":["string",{"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":"list","args":["string",{"type":"array","args":["string"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":["string",{"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":"list","args":["string",{"type":"array","args":["string"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":["string",{"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":"list","args":["string",{"type":"array","args":["string"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":["string",{"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":"list","args":["string",{"type":"array","args":["string"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":["string",{"type":"array","args":["string"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"list","args":["string",{"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":"list","args":["string",{"type":"array","args":["string"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":["string",{"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":"list","args":["string",{"type":"array","args":["string"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":["string",{"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":"list","args":["string",{"type":"array","args":["object"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":["string",{"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":"list","args":["string",{"type":"array","args":["object"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":["string",{"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":"list","args":["string",{"type":"array","args":["object"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":["string",{"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":"list","args":["string",{"type":"array","args":["object"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":["string",{"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":"list","args":["string",{"type":"array","args":["object"]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":["string",{"type":"array","args":["object"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":["string",{"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":"list","args":["string",{"type":"array","args":["object"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":["string",{"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":"list","args":["string",{"type":"array","args":["array"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":["string",{"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":"list","args":["string",{"type":"array","args":["array"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":["string",{"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":"list","args":["string",{"type":"array","args":["array"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":["string",{"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":"list","args":["string",{"type":"array","args":["array"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":["string",{"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":"list","args":["string",{"type":"array","args":["array"]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":["string",{"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":"list","args":["string",{"type":"array","args":["array"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":["string",{"type":"array","args":["array"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":["object",{"type":"array","args":["type"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":["object",{"type":"array","args":["type"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":["object",{"type":"array","args":["type"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":["object",{"type":"array","args":["type"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":["object",{"type":"array","args":["type"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"list","args":["object",{"type":"array","args":["type"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":["object",{"type":"array","args":["type"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":["object",{"type":"array","args":["null"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":["object",{"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":"list","args":["object",{"type":"array","args":["null"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":["object",{"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":"list","args":["object",{"type":"array","args":["null"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":["object",{"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":"list","args":["object",{"type":"array","args":["null"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":["object",{"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":"list","args":["object",{"type":"array","args":["null"]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":["object",{"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":"list","args":["object",{"type":"array","args":["null"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":["object",{"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":"list","args":["object",{"type":"array","args":["null"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":["object",{"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":"list","args":["object",{"type":"array","args":["boolean"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":["object",{"type":"array","args":["boolean"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":["object",{"type":"array","args":["boolean"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":["object",{"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":"list","args":["object",{"type":"array","args":["boolean"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":["object",{"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":"list","args":["object",{"type":"array","args":["boolean"]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":["object",{"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":"list","args":["object",{"type":"array","args":["boolean"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":["object",{"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":"list","args":["object",{"type":"array","args":["boolean"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":["object",{"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":"list","args":["object",{"type":"array","args":["number"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":["object",{"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":"list","args":["object",{"type":"array","args":["number"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":["object",{"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":"list","args":["object",{"type":"array","args":["number"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":["object",{"type":"array","args":["number"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":["object",{"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":"list","args":["object",{"type":"array","args":["number"]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":["object",{"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":"list","args":["object",{"type":"array","args":["number"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":["object",{"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":"list","args":["object",{"type":"array","args":["number"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":["object",{"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":"list","args":["object",{"type":"array","args":["string"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":["object",{"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":"list","args":["object",{"type":"array","args":["string"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":["object",{"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":"list","args":["object",{"type":"array","args":["string"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":["object",{"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":"list","args":["object",{"type":"array","args":["string"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":["object",{"type":"array","args":["string"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"list","args":["object",{"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":"list","args":["object",{"type":"array","args":["string"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":["object",{"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":"list","args":["object",{"type":"array","args":["string"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":["object",{"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":"list","args":["object",{"type":"array","args":["object"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":["object",{"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":"list","args":["object",{"type":"array","args":["object"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":["object",{"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":"list","args":["object",{"type":"array","args":["object"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":["object",{"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":"list","args":["object",{"type":"array","args":["object"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":["object",{"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":"list","args":["object",{"type":"array","args":["object"]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":["object",{"type":"array","args":["object"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":["object",{"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":"list","args":["object",{"type":"array","args":["object"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":["object",{"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":"list","args":["object",{"type":"array","args":["array"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":["object",{"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":"list","args":["object",{"type":"array","args":["array"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":["object",{"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":"list","args":["object",{"type":"array","args":["array"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":["object",{"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":"list","args":["object",{"type":"array","args":["array"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":["object",{"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":"list","args":["object",{"type":"array","args":["array"]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":["object",{"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":"list","args":["object",{"type":"array","args":["array"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":["object",{"type":"array","args":["array"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":["array",{"type":"array","args":["type"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":["array",{"type":"array","args":["type"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":["array",{"type":"array","args":["type"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":["array",{"type":"array","args":["type"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":["array",{"type":"array","args":["type"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"list","args":["array",{"type":"array","args":["type"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":["array",{"type":"array","args":["type"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":["array",{"type":"array","args":["null"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":["array",{"type":"array","args":["null"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":["array",{"type":"array","args":["null"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":["array",{"type":"array","args":["null"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":["array",{"type":"array","args":["null"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"list","args":["array",{"type":"array","args":["null"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":["array",{"type":"array","args":["null"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":["array",{"type":"array","args":["boolean"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":["array",{"type":"array","args":["boolean"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":["array",{"type":"array","args":["boolean"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":["array",{"type":"array","args":["boolean"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":["array",{"type":"array","args":["boolean"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"list","args":["array",{"type":"array","args":["boolean"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":["array",{"type":"array","args":["boolean"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":["array",{"type":"array","args":["number"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":["array",{"type":"array","args":["number"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":["array",{"type":"array","args":["number"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":["array",{"type":"array","args":["number"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":["array",{"type":"array","args":["number"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"list","args":["array",{"type":"array","args":["number"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":["array",{"type":"array","args":["number"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":["array",{"type":"array","args":["string"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":["array",{"type":"array","args":["string"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":["array",{"type":"array","args":["string"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":["array",{"type":"array","args":["string"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":["array",{"type":"array","args":["string"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"list","args":["array",{"type":"array","args":["string"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":["array",{"type":"array","args":["string"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":["array",{"type":"array","args":["object"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":["array",{"type":"array","args":["object"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":["array",{"type":"array","args":["object"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":["array",{"type":"array","args":["object"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":["array",{"type":"array","args":["object"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"list","args":["array",{"type":"array","args":["object"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":["array",{"type":"array","args":["object"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":["array",{"type":"array","args":["array"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":["array",{"type":"array","args":["array"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":["array",{"type":"array","args":["array"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":["array",{"type":"array","args":["array"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":["array",{"type":"array","args":["array"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"list","args":["array",{"type":"array","args":["array"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":["array",{"type":"array","args":["array"]}]}' <<< '[[]]'
[[]]
$

--[ list-basic-closed-array-basic-val-array-basic-basic ]-----------------------

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

--[ list-plain-open-array-basic-val-basic ]-------------------------------------

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

--[ list-plain-open-array-basic-val-array-empty ]-------------------------------

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

--[ list-plain-open-array-basic-val-array-basic ]-------------------------------

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

--[ list-plain-open-array-basic-val-array-basic-basic ]-------------------------

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

--[ list-plain-closed-array-basic-val-basic ]-----------------------------------

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

--[ list-plain-closed-array-basic-val-array-empty ]-----------------------------

#
# # meta command:
# $ for p in null false true 123 '"foo"'; do for t in type null boolean number string object array; do T='{"type":"list","args":[{"plain":'"$p"'},{"type":"array","args":["'"$t"'"]}]}'; c="json -d '$T' <<< '[]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"list","args":[{"plain":null},{"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":"list","args":[{"plain":null},{"type":"array","args":["type"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":null},{"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":"list","args":[{"plain":null},{"type":"array","args":["null"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":null},{"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":"list","args":[{"plain":null},{"type":"array","args":["boolean"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":null},{"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":"list","args":[{"plain":null},{"type":"array","args":["number"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":null},{"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":"list","args":[{"plain":null},{"type":"array","args":["string"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":null},{"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":"list","args":[{"plain":null},{"type":"array","args":["object"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":null},{"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":"list","args":[{"plain":null},{"type":"array","args":["array"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":false},{"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":"list","args":[{"plain":false},{"type":"array","args":["type"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":false},{"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":"list","args":[{"plain":false},{"type":"array","args":["null"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":false},{"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":"list","args":[{"plain":false},{"type":"array","args":["boolean"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":false},{"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":"list","args":[{"plain":false},{"type":"array","args":["number"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":false},{"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":"list","args":[{"plain":false},{"type":"array","args":["string"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":false},{"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":"list","args":[{"plain":false},{"type":"array","args":["object"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":false},{"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":"list","args":[{"plain":false},{"type":"array","args":["array"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":true},{"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":"list","args":[{"plain":true},{"type":"array","args":["type"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":true},{"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":"list","args":[{"plain":true},{"type":"array","args":["null"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":true},{"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":"list","args":[{"plain":true},{"type":"array","args":["boolean"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":true},{"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":"list","args":[{"plain":true},{"type":"array","args":["number"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":true},{"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":"list","args":[{"plain":true},{"type":"array","args":["string"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":true},{"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":"list","args":[{"plain":true},{"type":"array","args":["object"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":true},{"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":"list","args":[{"plain":true},{"type":"array","args":["array"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":123},{"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":"list","args":[{"plain":123},{"type":"array","args":["type"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":123},{"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":"list","args":[{"plain":123},{"type":"array","args":["null"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":123},{"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":"list","args":[{"plain":123},{"type":"array","args":["boolean"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":123},{"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":"list","args":[{"plain":123},{"type":"array","args":["number"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":123},{"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":"list","args":[{"plain":123},{"type":"array","args":["string"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":123},{"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":"list","args":[{"plain":123},{"type":"array","args":["object"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":123},{"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":"list","args":[{"plain":123},{"type":"array","args":["array"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"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":"list","args":[{"plain":"foo"},{"type":"array","args":["type"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"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":"list","args":[{"plain":"foo"},{"type":"array","args":["null"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"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":"list","args":[{"plain":"foo"},{"type":"array","args":["boolean"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"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":"list","args":[{"plain":"foo"},{"type":"array","args":["number"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"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":"list","args":[{"plain":"foo"},{"type":"array","args":["string"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"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":"list","args":[{"plain":"foo"},{"type":"array","args":["object"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"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":"list","args":[{"plain":"foo"},{"type":"array","args":["array"]}]}' <<< '[]'
$

--[ list-plain-closed-array-basic-val-array-basic ]-----------------------------

#
# # meta command:
# $ for p in null false true 123 '"foo"'; do for t in type null boolean number string object array; do for v in null false true 123 456 '"foo"' '"bar"' '{}' '[]'; do T='{"type":"list","args":[{"plain":'"$p"'},{"type":"array","args":["'"$t"'"]}]}'; c="json -d '$T' <<< '[$v]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":["type"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":["type"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":["type"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":["type"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":["type"]}]}' <<< '[456]'
[456]
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":["type"]}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":["type"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":["type"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":["type"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":["null"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":[{"plain":null},{"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":"list","args":[{"plain":null},{"type":"array","args":["null"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"plain":null},{"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":"list","args":[{"plain":null},{"type":"array","args":["null"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"plain":null},{"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":"list","args":[{"plain":null},{"type":"array","args":["null"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"plain":null},{"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":"list","args":[{"plain":null},{"type":"array","args":["null"]}]}' <<< '[456]'
$ json -d '{"type":"list","args":[{"plain":null},{"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":"list","args":[{"plain":null},{"type":"array","args":["null"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"plain":null},{"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":"list","args":[{"plain":null},{"type":"array","args":["null"]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":[{"plain":null},{"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":"list","args":[{"plain":null},{"type":"array","args":["null"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"plain":null},{"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":"list","args":[{"plain":null},{"type":"array","args":["null"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"plain":null},{"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":"list","args":[{"plain":null},{"type":"array","args":["boolean"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":["boolean"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":["boolean"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":[{"plain":null},{"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":"list","args":[{"plain":null},{"type":"array","args":["boolean"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"plain":null},{"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":"list","args":[{"plain":null},{"type":"array","args":["boolean"]}]}' <<< '[456]'
$ json -d '{"type":"list","args":[{"plain":null},{"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":"list","args":[{"plain":null},{"type":"array","args":["boolean"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"plain":null},{"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":"list","args":[{"plain":null},{"type":"array","args":["boolean"]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":[{"plain":null},{"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":"list","args":[{"plain":null},{"type":"array","args":["boolean"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"plain":null},{"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":"list","args":[{"plain":null},{"type":"array","args":["boolean"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"plain":null},{"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":"list","args":[{"plain":null},{"type":"array","args":["number"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"plain":null},{"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":"list","args":[{"plain":null},{"type":"array","args":["number"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"plain":null},{"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":"list","args":[{"plain":null},{"type":"array","args":["number"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":["number"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":["number"]}]}' <<< '[456]'
[456]
$ json -d '{"type":"list","args":[{"plain":null},{"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":"list","args":[{"plain":null},{"type":"array","args":["number"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"plain":null},{"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":"list","args":[{"plain":null},{"type":"array","args":["number"]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":[{"plain":null},{"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":"list","args":[{"plain":null},{"type":"array","args":["number"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"plain":null},{"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":"list","args":[{"plain":null},{"type":"array","args":["number"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"plain":null},{"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":"list","args":[{"plain":null},{"type":"array","args":["string"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"plain":null},{"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":"list","args":[{"plain":null},{"type":"array","args":["string"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"plain":null},{"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":"list","args":[{"plain":null},{"type":"array","args":["string"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"plain":null},{"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":"list","args":[{"plain":null},{"type":"array","args":["string"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"plain":null},{"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":"list","args":[{"plain":null},{"type":"array","args":["string"]}]}' <<< '[456]'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":["string"]}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":["string"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"list","args":[{"plain":null},{"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":"list","args":[{"plain":null},{"type":"array","args":["string"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"plain":null},{"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":"list","args":[{"plain":null},{"type":"array","args":["string"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"plain":null},{"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":"list","args":[{"plain":null},{"type":"array","args":["object"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"plain":null},{"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":"list","args":[{"plain":null},{"type":"array","args":["object"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"plain":null},{"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":"list","args":[{"plain":null},{"type":"array","args":["object"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"plain":null},{"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":"list","args":[{"plain":null},{"type":"array","args":["object"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"plain":null},{"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":"list","args":[{"plain":null},{"type":"array","args":["object"]}]}' <<< '[456]'
$ json -d '{"type":"list","args":[{"plain":null},{"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":"list","args":[{"plain":null},{"type":"array","args":["object"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"plain":null},{"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":"list","args":[{"plain":null},{"type":"array","args":["object"]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":["object"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":[{"plain":null},{"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":"list","args":[{"plain":null},{"type":"array","args":["object"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"plain":null},{"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":"list","args":[{"plain":null},{"type":"array","args":["array"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"plain":null},{"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":"list","args":[{"plain":null},{"type":"array","args":["array"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"plain":null},{"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":"list","args":[{"plain":null},{"type":"array","args":["array"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"plain":null},{"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":"list","args":[{"plain":null},{"type":"array","args":["array"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"plain":null},{"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":"list","args":[{"plain":null},{"type":"array","args":["array"]}]}' <<< '[456]'
$ json -d '{"type":"list","args":[{"plain":null},{"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":"list","args":[{"plain":null},{"type":"array","args":["array"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"plain":null},{"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":"list","args":[{"plain":null},{"type":"array","args":["array"]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":[{"plain":null},{"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":"list","args":[{"plain":null},{"type":"array","args":["array"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":["array"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":["type"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":["type"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":["type"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":["type"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":["type"]}]}' <<< '[456]'
[456]
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":["type"]}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":["type"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":["type"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":["type"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":["null"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":[{"plain":false},{"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":"list","args":[{"plain":false},{"type":"array","args":["null"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"plain":false},{"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":"list","args":[{"plain":false},{"type":"array","args":["null"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"plain":false},{"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":"list","args":[{"plain":false},{"type":"array","args":["null"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"plain":false},{"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":"list","args":[{"plain":false},{"type":"array","args":["null"]}]}' <<< '[456]'
$ json -d '{"type":"list","args":[{"plain":false},{"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":"list","args":[{"plain":false},{"type":"array","args":["null"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"plain":false},{"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":"list","args":[{"plain":false},{"type":"array","args":["null"]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":[{"plain":false},{"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":"list","args":[{"plain":false},{"type":"array","args":["null"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"plain":false},{"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":"list","args":[{"plain":false},{"type":"array","args":["null"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"plain":false},{"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":"list","args":[{"plain":false},{"type":"array","args":["boolean"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":["boolean"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":["boolean"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":[{"plain":false},{"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":"list","args":[{"plain":false},{"type":"array","args":["boolean"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"plain":false},{"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":"list","args":[{"plain":false},{"type":"array","args":["boolean"]}]}' <<< '[456]'
$ json -d '{"type":"list","args":[{"plain":false},{"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":"list","args":[{"plain":false},{"type":"array","args":["boolean"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"plain":false},{"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":"list","args":[{"plain":false},{"type":"array","args":["boolean"]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":[{"plain":false},{"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":"list","args":[{"plain":false},{"type":"array","args":["boolean"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"plain":false},{"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":"list","args":[{"plain":false},{"type":"array","args":["boolean"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"plain":false},{"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":"list","args":[{"plain":false},{"type":"array","args":["number"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"plain":false},{"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":"list","args":[{"plain":false},{"type":"array","args":["number"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"plain":false},{"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":"list","args":[{"plain":false},{"type":"array","args":["number"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":["number"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":["number"]}]}' <<< '[456]'
[456]
$ json -d '{"type":"list","args":[{"plain":false},{"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":"list","args":[{"plain":false},{"type":"array","args":["number"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"plain":false},{"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":"list","args":[{"plain":false},{"type":"array","args":["number"]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":[{"plain":false},{"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":"list","args":[{"plain":false},{"type":"array","args":["number"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"plain":false},{"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":"list","args":[{"plain":false},{"type":"array","args":["number"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"plain":false},{"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":"list","args":[{"plain":false},{"type":"array","args":["string"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"plain":false},{"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":"list","args":[{"plain":false},{"type":"array","args":["string"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"plain":false},{"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":"list","args":[{"plain":false},{"type":"array","args":["string"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"plain":false},{"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":"list","args":[{"plain":false},{"type":"array","args":["string"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"plain":false},{"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":"list","args":[{"plain":false},{"type":"array","args":["string"]}]}' <<< '[456]'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":["string"]}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":["string"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"list","args":[{"plain":false},{"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":"list","args":[{"plain":false},{"type":"array","args":["string"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"plain":false},{"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":"list","args":[{"plain":false},{"type":"array","args":["string"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"plain":false},{"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":"list","args":[{"plain":false},{"type":"array","args":["object"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"plain":false},{"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":"list","args":[{"plain":false},{"type":"array","args":["object"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"plain":false},{"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":"list","args":[{"plain":false},{"type":"array","args":["object"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"plain":false},{"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":"list","args":[{"plain":false},{"type":"array","args":["object"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"plain":false},{"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":"list","args":[{"plain":false},{"type":"array","args":["object"]}]}' <<< '[456]'
$ json -d '{"type":"list","args":[{"plain":false},{"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":"list","args":[{"plain":false},{"type":"array","args":["object"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"plain":false},{"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":"list","args":[{"plain":false},{"type":"array","args":["object"]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":["object"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":[{"plain":false},{"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":"list","args":[{"plain":false},{"type":"array","args":["object"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"plain":false},{"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":"list","args":[{"plain":false},{"type":"array","args":["array"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"plain":false},{"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":"list","args":[{"plain":false},{"type":"array","args":["array"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"plain":false},{"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":"list","args":[{"plain":false},{"type":"array","args":["array"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"plain":false},{"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":"list","args":[{"plain":false},{"type":"array","args":["array"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"plain":false},{"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":"list","args":[{"plain":false},{"type":"array","args":["array"]}]}' <<< '[456]'
$ json -d '{"type":"list","args":[{"plain":false},{"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":"list","args":[{"plain":false},{"type":"array","args":["array"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"plain":false},{"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":"list","args":[{"plain":false},{"type":"array","args":["array"]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":[{"plain":false},{"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":"list","args":[{"plain":false},{"type":"array","args":["array"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":["array"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":["type"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":["type"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":["type"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":["type"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":["type"]}]}' <<< '[456]'
[456]
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":["type"]}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":["type"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":["type"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":["type"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":["null"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":[{"plain":true},{"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":"list","args":[{"plain":true},{"type":"array","args":["null"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"plain":true},{"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":"list","args":[{"plain":true},{"type":"array","args":["null"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"plain":true},{"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":"list","args":[{"plain":true},{"type":"array","args":["null"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"plain":true},{"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":"list","args":[{"plain":true},{"type":"array","args":["null"]}]}' <<< '[456]'
$ json -d '{"type":"list","args":[{"plain":true},{"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":"list","args":[{"plain":true},{"type":"array","args":["null"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"plain":true},{"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":"list","args":[{"plain":true},{"type":"array","args":["null"]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":[{"plain":true},{"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":"list","args":[{"plain":true},{"type":"array","args":["null"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"plain":true},{"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":"list","args":[{"plain":true},{"type":"array","args":["null"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"plain":true},{"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":"list","args":[{"plain":true},{"type":"array","args":["boolean"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":["boolean"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":["boolean"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":[{"plain":true},{"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":"list","args":[{"plain":true},{"type":"array","args":["boolean"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"plain":true},{"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":"list","args":[{"plain":true},{"type":"array","args":["boolean"]}]}' <<< '[456]'
$ json -d '{"type":"list","args":[{"plain":true},{"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":"list","args":[{"plain":true},{"type":"array","args":["boolean"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"plain":true},{"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":"list","args":[{"plain":true},{"type":"array","args":["boolean"]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":[{"plain":true},{"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":"list","args":[{"plain":true},{"type":"array","args":["boolean"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"plain":true},{"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":"list","args":[{"plain":true},{"type":"array","args":["boolean"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"plain":true},{"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":"list","args":[{"plain":true},{"type":"array","args":["number"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"plain":true},{"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":"list","args":[{"plain":true},{"type":"array","args":["number"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"plain":true},{"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":"list","args":[{"plain":true},{"type":"array","args":["number"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":["number"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":["number"]}]}' <<< '[456]'
[456]
$ json -d '{"type":"list","args":[{"plain":true},{"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":"list","args":[{"plain":true},{"type":"array","args":["number"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"plain":true},{"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":"list","args":[{"plain":true},{"type":"array","args":["number"]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":[{"plain":true},{"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":"list","args":[{"plain":true},{"type":"array","args":["number"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"plain":true},{"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":"list","args":[{"plain":true},{"type":"array","args":["number"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"plain":true},{"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":"list","args":[{"plain":true},{"type":"array","args":["string"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"plain":true},{"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":"list","args":[{"plain":true},{"type":"array","args":["string"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"plain":true},{"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":"list","args":[{"plain":true},{"type":"array","args":["string"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"plain":true},{"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":"list","args":[{"plain":true},{"type":"array","args":["string"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"plain":true},{"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":"list","args":[{"plain":true},{"type":"array","args":["string"]}]}' <<< '[456]'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":["string"]}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":["string"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"list","args":[{"plain":true},{"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":"list","args":[{"plain":true},{"type":"array","args":["string"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"plain":true},{"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":"list","args":[{"plain":true},{"type":"array","args":["string"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"plain":true},{"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":"list","args":[{"plain":true},{"type":"array","args":["object"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"plain":true},{"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":"list","args":[{"plain":true},{"type":"array","args":["object"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"plain":true},{"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":"list","args":[{"plain":true},{"type":"array","args":["object"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"plain":true},{"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":"list","args":[{"plain":true},{"type":"array","args":["object"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"plain":true},{"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":"list","args":[{"plain":true},{"type":"array","args":["object"]}]}' <<< '[456]'
$ json -d '{"type":"list","args":[{"plain":true},{"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":"list","args":[{"plain":true},{"type":"array","args":["object"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"plain":true},{"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":"list","args":[{"plain":true},{"type":"array","args":["object"]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":["object"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":[{"plain":true},{"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":"list","args":[{"plain":true},{"type":"array","args":["object"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"plain":true},{"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":"list","args":[{"plain":true},{"type":"array","args":["array"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"plain":true},{"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":"list","args":[{"plain":true},{"type":"array","args":["array"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"plain":true},{"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":"list","args":[{"plain":true},{"type":"array","args":["array"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"plain":true},{"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":"list","args":[{"plain":true},{"type":"array","args":["array"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"plain":true},{"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":"list","args":[{"plain":true},{"type":"array","args":["array"]}]}' <<< '[456]'
$ json -d '{"type":"list","args":[{"plain":true},{"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":"list","args":[{"plain":true},{"type":"array","args":["array"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"plain":true},{"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":"list","args":[{"plain":true},{"type":"array","args":["array"]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":[{"plain":true},{"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":"list","args":[{"plain":true},{"type":"array","args":["array"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":["array"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":["type"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":["type"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":["type"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":["type"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":["type"]}]}' <<< '[456]'
[456]
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":["type"]}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":["type"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":["type"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":["type"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":["null"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":[{"plain":123},{"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":"list","args":[{"plain":123},{"type":"array","args":["null"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"plain":123},{"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":"list","args":[{"plain":123},{"type":"array","args":["null"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"plain":123},{"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":"list","args":[{"plain":123},{"type":"array","args":["null"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"plain":123},{"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":"list","args":[{"plain":123},{"type":"array","args":["null"]}]}' <<< '[456]'
$ json -d '{"type":"list","args":[{"plain":123},{"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":"list","args":[{"plain":123},{"type":"array","args":["null"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"plain":123},{"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":"list","args":[{"plain":123},{"type":"array","args":["null"]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":[{"plain":123},{"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":"list","args":[{"plain":123},{"type":"array","args":["null"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"plain":123},{"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":"list","args":[{"plain":123},{"type":"array","args":["null"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"plain":123},{"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":"list","args":[{"plain":123},{"type":"array","args":["boolean"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":["boolean"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":["boolean"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":[{"plain":123},{"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":"list","args":[{"plain":123},{"type":"array","args":["boolean"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"plain":123},{"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":"list","args":[{"plain":123},{"type":"array","args":["boolean"]}]}' <<< '[456]'
$ json -d '{"type":"list","args":[{"plain":123},{"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":"list","args":[{"plain":123},{"type":"array","args":["boolean"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"plain":123},{"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":"list","args":[{"plain":123},{"type":"array","args":["boolean"]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":[{"plain":123},{"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":"list","args":[{"plain":123},{"type":"array","args":["boolean"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"plain":123},{"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":"list","args":[{"plain":123},{"type":"array","args":["boolean"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"plain":123},{"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":"list","args":[{"plain":123},{"type":"array","args":["number"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"plain":123},{"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":"list","args":[{"plain":123},{"type":"array","args":["number"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"plain":123},{"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":"list","args":[{"plain":123},{"type":"array","args":["number"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":["number"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":["number"]}]}' <<< '[456]'
[456]
$ json -d '{"type":"list","args":[{"plain":123},{"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":"list","args":[{"plain":123},{"type":"array","args":["number"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"plain":123},{"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":"list","args":[{"plain":123},{"type":"array","args":["number"]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":[{"plain":123},{"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":"list","args":[{"plain":123},{"type":"array","args":["number"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"plain":123},{"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":"list","args":[{"plain":123},{"type":"array","args":["number"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"plain":123},{"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":"list","args":[{"plain":123},{"type":"array","args":["string"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"plain":123},{"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":"list","args":[{"plain":123},{"type":"array","args":["string"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"plain":123},{"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":"list","args":[{"plain":123},{"type":"array","args":["string"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"plain":123},{"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":"list","args":[{"plain":123},{"type":"array","args":["string"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"plain":123},{"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":"list","args":[{"plain":123},{"type":"array","args":["string"]}]}' <<< '[456]'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":["string"]}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":["string"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"list","args":[{"plain":123},{"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":"list","args":[{"plain":123},{"type":"array","args":["string"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"plain":123},{"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":"list","args":[{"plain":123},{"type":"array","args":["string"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"plain":123},{"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":"list","args":[{"plain":123},{"type":"array","args":["object"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"plain":123},{"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":"list","args":[{"plain":123},{"type":"array","args":["object"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"plain":123},{"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":"list","args":[{"plain":123},{"type":"array","args":["object"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"plain":123},{"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":"list","args":[{"plain":123},{"type":"array","args":["object"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"plain":123},{"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":"list","args":[{"plain":123},{"type":"array","args":["object"]}]}' <<< '[456]'
$ json -d '{"type":"list","args":[{"plain":123},{"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":"list","args":[{"plain":123},{"type":"array","args":["object"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"plain":123},{"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":"list","args":[{"plain":123},{"type":"array","args":["object"]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":["object"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":[{"plain":123},{"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":"list","args":[{"plain":123},{"type":"array","args":["object"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"plain":123},{"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":"list","args":[{"plain":123},{"type":"array","args":["array"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"plain":123},{"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":"list","args":[{"plain":123},{"type":"array","args":["array"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"plain":123},{"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":"list","args":[{"plain":123},{"type":"array","args":["array"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"plain":123},{"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":"list","args":[{"plain":123},{"type":"array","args":["array"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"plain":123},{"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":"list","args":[{"plain":123},{"type":"array","args":["array"]}]}' <<< '[456]'
$ json -d '{"type":"list","args":[{"plain":123},{"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":"list","args":[{"plain":123},{"type":"array","args":["array"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"plain":123},{"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":"list","args":[{"plain":123},{"type":"array","args":["array"]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":[{"plain":123},{"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":"list","args":[{"plain":123},{"type":"array","args":["array"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":["array"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":["type"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":["type"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":["type"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":["type"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":["type"]}]}' <<< '[456]'
[456]
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":["type"]}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":["type"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":["type"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":["type"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":["null"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":[{"plain":"foo"},{"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":"list","args":[{"plain":"foo"},{"type":"array","args":["null"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"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":"list","args":[{"plain":"foo"},{"type":"array","args":["null"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"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":"list","args":[{"plain":"foo"},{"type":"array","args":["null"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"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":"list","args":[{"plain":"foo"},{"type":"array","args":["null"]}]}' <<< '[456]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"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":"list","args":[{"plain":"foo"},{"type":"array","args":["null"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"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":"list","args":[{"plain":"foo"},{"type":"array","args":["null"]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"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":"list","args":[{"plain":"foo"},{"type":"array","args":["null"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"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":"list","args":[{"plain":"foo"},{"type":"array","args":["null"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"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":"list","args":[{"plain":"foo"},{"type":"array","args":["boolean"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":["boolean"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":["boolean"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":[{"plain":"foo"},{"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":"list","args":[{"plain":"foo"},{"type":"array","args":["boolean"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"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":"list","args":[{"plain":"foo"},{"type":"array","args":["boolean"]}]}' <<< '[456]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"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":"list","args":[{"plain":"foo"},{"type":"array","args":["boolean"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"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":"list","args":[{"plain":"foo"},{"type":"array","args":["boolean"]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"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":"list","args":[{"plain":"foo"},{"type":"array","args":["boolean"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"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":"list","args":[{"plain":"foo"},{"type":"array","args":["boolean"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"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":"list","args":[{"plain":"foo"},{"type":"array","args":["number"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"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":"list","args":[{"plain":"foo"},{"type":"array","args":["number"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"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":"list","args":[{"plain":"foo"},{"type":"array","args":["number"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":["number"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":["number"]}]}' <<< '[456]'
[456]
$ json -d '{"type":"list","args":[{"plain":"foo"},{"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":"list","args":[{"plain":"foo"},{"type":"array","args":["number"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"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":"list","args":[{"plain":"foo"},{"type":"array","args":["number"]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"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":"list","args":[{"plain":"foo"},{"type":"array","args":["number"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"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":"list","args":[{"plain":"foo"},{"type":"array","args":["number"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"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":"list","args":[{"plain":"foo"},{"type":"array","args":["string"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"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":"list","args":[{"plain":"foo"},{"type":"array","args":["string"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"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":"list","args":[{"plain":"foo"},{"type":"array","args":["string"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"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":"list","args":[{"plain":"foo"},{"type":"array","args":["string"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"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":"list","args":[{"plain":"foo"},{"type":"array","args":["string"]}]}' <<< '[456]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":["string"]}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":["string"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"list","args":[{"plain":"foo"},{"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":"list","args":[{"plain":"foo"},{"type":"array","args":["string"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"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":"list","args":[{"plain":"foo"},{"type":"array","args":["string"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"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":"list","args":[{"plain":"foo"},{"type":"array","args":["object"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"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":"list","args":[{"plain":"foo"},{"type":"array","args":["object"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"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":"list","args":[{"plain":"foo"},{"type":"array","args":["object"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"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":"list","args":[{"plain":"foo"},{"type":"array","args":["object"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"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":"list","args":[{"plain":"foo"},{"type":"array","args":["object"]}]}' <<< '[456]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"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":"list","args":[{"plain":"foo"},{"type":"array","args":["object"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"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":"list","args":[{"plain":"foo"},{"type":"array","args":["object"]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":["object"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":[{"plain":"foo"},{"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":"list","args":[{"plain":"foo"},{"type":"array","args":["object"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"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":"list","args":[{"plain":"foo"},{"type":"array","args":["array"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"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":"list","args":[{"plain":"foo"},{"type":"array","args":["array"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"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":"list","args":[{"plain":"foo"},{"type":"array","args":["array"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"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":"list","args":[{"plain":"foo"},{"type":"array","args":["array"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"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":"list","args":[{"plain":"foo"},{"type":"array","args":["array"]}]}' <<< '[456]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"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":"list","args":[{"plain":"foo"},{"type":"array","args":["array"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"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":"list","args":[{"plain":"foo"},{"type":"array","args":["array"]}]}' <<< '["bar"]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"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":"list","args":[{"plain":"foo"},{"type":"array","args":["array"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":["array"]}]}' <<< '[[]]'
[[]]
$

--[ list-plain-closed-array-basic-val-array-basic-basic ]-----------------------

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

--[ list-basic-open-array-plain-val-basic ]-------------------------------------

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

--[ list-basic-open-array-plain-val-array-empty ]-------------------------------

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

--[ list-basic-open-array-plain-val-array-basic ]-------------------------------

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

--[ list-basic-open-array-plain-val-array-basic-basic ]-------------------------

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

--[ list-basic-closed-array-plain-val-basic ]-----------------------------------

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

--[ list-basic-closed-array-plain-val-array-empty ]-----------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for p in null false true 123 '"foo"'; do T='{"type":"list","args":["'"$t"'",{"type":"array","args":[{"plain":'"$p"'}]}]}'; c="json -d '$T' <<< '[]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"list","args":["type",{"type":"array","args":[{"plain":null}]}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":["type",{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":["type",{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":["type",{"type":"array","args":[{"plain":123}]}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":["type",{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":["null",{"type":"array","args":[{"plain":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":"list","args":["null",{"type":"array","args":[{"plain":null}]}]}' <<< '[]'
$ json -d '{"type":"list","args":["null",{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
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":"list","args":["null",{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
$ json -d '{"type":"list","args":["null",{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
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":"list","args":["null",{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
$ json -d '{"type":"list","args":["null",{"type":"array","args":[{"plain":123}]}]}' <<< '[]'
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":"list","args":["null",{"type":"array","args":[{"plain":123}]}]}' <<< '[]'
$ json -d '{"type":"list","args":["null",{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[]'
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":"list","args":["null",{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":["boolean",{"type":"array","args":[{"plain":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":"list","args":["boolean",{"type":"array","args":[{"plain":null}]}]}' <<< '[]'
$ json -d '{"type":"list","args":["boolean",{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
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":"list","args":["boolean",{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
$ json -d '{"type":"list","args":["boolean",{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
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":"list","args":["boolean",{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
$ json -d '{"type":"list","args":["boolean",{"type":"array","args":[{"plain":123}]}]}' <<< '[]'
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":"list","args":["boolean",{"type":"array","args":[{"plain":123}]}]}' <<< '[]'
$ json -d '{"type":"list","args":["boolean",{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[]'
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":"list","args":["boolean",{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":["number",{"type":"array","args":[{"plain":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":"list","args":["number",{"type":"array","args":[{"plain":null}]}]}' <<< '[]'
$ json -d '{"type":"list","args":["number",{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
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":"list","args":["number",{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
$ json -d '{"type":"list","args":["number",{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
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":"list","args":["number",{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
$ json -d '{"type":"list","args":["number",{"type":"array","args":[{"plain":123}]}]}' <<< '[]'
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":"list","args":["number",{"type":"array","args":[{"plain":123}]}]}' <<< '[]'
$ json -d '{"type":"list","args":["number",{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[]'
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":"list","args":["number",{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":["string",{"type":"array","args":[{"plain":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":"list","args":["string",{"type":"array","args":[{"plain":null}]}]}' <<< '[]'
$ json -d '{"type":"list","args":["string",{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
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":"list","args":["string",{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
$ json -d '{"type":"list","args":["string",{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
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":"list","args":["string",{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
$ json -d '{"type":"list","args":["string",{"type":"array","args":[{"plain":123}]}]}' <<< '[]'
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":"list","args":["string",{"type":"array","args":[{"plain":123}]}]}' <<< '[]'
$ json -d '{"type":"list","args":["string",{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[]'
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":"list","args":["string",{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":["object",{"type":"array","args":[{"plain":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":"list","args":["object",{"type":"array","args":[{"plain":null}]}]}' <<< '[]'
$ json -d '{"type":"list","args":["object",{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
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":"list","args":["object",{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
$ json -d '{"type":"list","args":["object",{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
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":"list","args":["object",{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
$ json -d '{"type":"list","args":["object",{"type":"array","args":[{"plain":123}]}]}' <<< '[]'
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":"list","args":["object",{"type":"array","args":[{"plain":123}]}]}' <<< '[]'
$ json -d '{"type":"list","args":["object",{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[]'
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":"list","args":["object",{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":["array",{"type":"array","args":[{"plain":null}]}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":["array",{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":["array",{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":["array",{"type":"array","args":[{"plain":123}]}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":["array",{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[]'
[]
$

--[ list-basic-closed-array-plain-val-array-basic ]-----------------------------

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

--[ list-basic-closed-array-plain-val-array-basic-basic ]-----------------------

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

--[ list-plain-open-array-plain-val-basic ]-------------------------------------

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

--[ list-plain-open-array-plain-val-array-empty ]-------------------------------

#
# # meta command:
# $ for p in null false true 123 '"foo"'; do for p2 in null false true 123 '"foo"'; do T='{"type":"list","args":[{"plain":'"$p"'},{"type":"array","args":{"plain":'"$p2"'}}]}'; c="json -d '$T' <<< '[]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":{"plain":null}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":{"plain":false}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":{"plain":true}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":{"plain":123}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":{"plain":"foo"}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":{"plain":null}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":{"plain":false}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":{"plain":true}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":{"plain":123}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":{"plain":"foo"}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":{"plain":null}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":{"plain":false}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":{"plain":true}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":{"plain":123}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":{"plain":"foo"}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":{"plain":null}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":{"plain":false}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":{"plain":true}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":{"plain":123}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":{"plain":"foo"}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":{"plain":null}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":{"plain":false}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":{"plain":true}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":{"plain":123}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[]'
[]
$

--[ list-plain-open-array-plain-val-array-basic ]-------------------------------

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

--[ list-plain-open-array-plain-val-array-basic-basic ]-------------------------

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

--[ list-plain-closed-array-plain-val-basic ]-----------------------------------

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

--[ list-plain-closed-array-plain-val-array-empty ]-----------------------------

#
# # meta command:
# $ for p in null false true 123 '"foo"'; do for p2 in null false true 123 '"foo"'; do T='{"type":"list","args":[{"plain":'"$p"'},{"type":"array","args":[{"plain":'"$p2"'}]}]}'; c="json -d '$T' <<< '[]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":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":"list","args":[{"plain":null},{"type":"array","args":[{"plain":null}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
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":"list","args":[{"plain":null},{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
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":"list","args":[{"plain":null},{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":123}]}]}' <<< '[]'
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":"list","args":[{"plain":null},{"type":"array","args":[{"plain":123}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[]'
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":"list","args":[{"plain":null},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":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":"list","args":[{"plain":false},{"type":"array","args":[{"plain":null}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
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":"list","args":[{"plain":false},{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
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":"list","args":[{"plain":false},{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":123}]}]}' <<< '[]'
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":"list","args":[{"plain":false},{"type":"array","args":[{"plain":123}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[]'
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":"list","args":[{"plain":false},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":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":"list","args":[{"plain":true},{"type":"array","args":[{"plain":null}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
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":"list","args":[{"plain":true},{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
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":"list","args":[{"plain":true},{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":123}]}]}' <<< '[]'
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":"list","args":[{"plain":true},{"type":"array","args":[{"plain":123}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[]'
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":"list","args":[{"plain":true},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":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":"list","args":[{"plain":123},{"type":"array","args":[{"plain":null}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
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":"list","args":[{"plain":123},{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
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":"list","args":[{"plain":123},{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":123}]}]}' <<< '[]'
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":"list","args":[{"plain":123},{"type":"array","args":[{"plain":123}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[]'
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":"list","args":[{"plain":123},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":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":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":null}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
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":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
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":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":123}]}]}' <<< '[]'
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":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":123}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[]'
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":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[]'
$

--[ list-plain-closed-array-plain-val-array-basic ]-----------------------------

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

--[ list-plain-closed-array-plain-val-array-basic-basic ]-----------------------

#
# # meta command:
# $ for p in null false true 123 '"foo"'; do for p2 in null false true 123 '"foo"'; do for v in null false true 123 456 '"foo"' '"bar"' '{}' '[]'; do T='{"type":"list","args":[{"plain":'"$p"'},{"type":"array","args":[{"plain":'"$p2"'}]}]}'; c="json -d '$T' <<< '[$p2,$v]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":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":"list","args":[{"plain":null},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,null]'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":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":"list","args":[{"plain":null},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,false]'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":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":"list","args":[{"plain":null},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,true]'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":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":"list","args":[{"plain":null},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,123]'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,456]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [null,456]
json: error: <stdin>:1:6:      ^
[null
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,456]'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":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":"list","args":[{"plain":null},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,"foo"]'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,"bar"]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [null,"bar"]
json: error: <stdin>:1:6:      ^
[null
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,"bar"]'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":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":"list","args":[{"plain":null},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,{}]'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":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":"list","args":[{"plain":null},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,[]]'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"plain":null},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,null]'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"plain":null},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,false]'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"plain":null},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,true]'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"plain":null},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,123]'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,456]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: [false,456]
json: error: <stdin>:1:7:       ^
[false
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,456]'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"plain":null},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,"foo"]'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,"bar"]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: [false,"bar"]
json: error: <stdin>:1:7:       ^
[false
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,"bar"]'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"plain":null},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,{}]'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"plain":null},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,[]]'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,null]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,null]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,null]'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,false]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,false]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,false]'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,true]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,true]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,true]'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,123]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,123]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,123]'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,456]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,456]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,456]'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,"foo"]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,"foo"]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,"foo"]'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,"bar"]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,"bar"]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,"bar"]'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,{}]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,{}]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,{}]'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,[]]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,[]]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,[]]'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,null]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,null]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,null]'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,false]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,false]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,false]'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,true]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,true]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,true]'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,123]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,123]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,123]'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,456]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,456]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,456]'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,"foo"]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,"foo"]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,"foo"]'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,"bar"]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,"bar"]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,"bar"]'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,{}]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,{}]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,{}]'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,[]]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,[]]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,[]]'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",null]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",null]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",null]'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",false]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",false]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",false]'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",true]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",true]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",true]'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",123]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",123]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",123]'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",456]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",456]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",456]'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo","foo"]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo","foo"]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo","foo"]'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo","bar"]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo","bar"]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo","bar"]'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",{}]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",{}]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",{}]'
$ json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",[]]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",[]]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"plain":null},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",[]]'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":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":"list","args":[{"plain":false},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,null]'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":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":"list","args":[{"plain":false},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,false]'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":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":"list","args":[{"plain":false},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,true]'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":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":"list","args":[{"plain":false},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,123]'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,456]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [null,456]
json: error: <stdin>:1:6:      ^
[null
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,456]'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":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":"list","args":[{"plain":false},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,"foo"]'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,"bar"]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [null,"bar"]
json: error: <stdin>:1:6:      ^
[null
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,"bar"]'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":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":"list","args":[{"plain":false},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,{}]'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":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":"list","args":[{"plain":false},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,[]]'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"plain":false},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,null]'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"plain":false},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,false]'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"plain":false},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,true]'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"plain":false},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,123]'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,456]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: [false,456]
json: error: <stdin>:1:7:       ^
[false
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,456]'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"plain":false},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,"foo"]'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,"bar"]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: [false,"bar"]
json: error: <stdin>:1:7:       ^
[false
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,"bar"]'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"plain":false},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,{}]'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"plain":false},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,[]]'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,null]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,null]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,null]'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,false]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,false]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,false]'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,true]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,true]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,true]'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,123]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,123]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,123]'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,456]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,456]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,456]'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,"foo"]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,"foo"]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,"foo"]'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,"bar"]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,"bar"]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,"bar"]'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,{}]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,{}]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,{}]'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,[]]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,[]]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,[]]'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,null]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,null]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,null]'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,false]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,false]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,false]'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,true]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,true]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,true]'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,123]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,123]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,123]'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,456]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,456]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,456]'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,"foo"]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,"foo"]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,"foo"]'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,"bar"]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,"bar"]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,"bar"]'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,{}]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,{}]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,{}]'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,[]]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,[]]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,[]]'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",null]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",null]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",null]'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",false]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",false]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",false]'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",true]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",true]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",true]'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",123]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",123]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",123]'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",456]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",456]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",456]'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo","foo"]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo","foo"]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo","foo"]'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo","bar"]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo","bar"]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo","bar"]'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",{}]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",{}]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",{}]'
$ json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",[]]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",[]]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"plain":false},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",[]]'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":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":"list","args":[{"plain":true},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,null]'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":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":"list","args":[{"plain":true},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,false]'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":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":"list","args":[{"plain":true},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,true]'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":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":"list","args":[{"plain":true},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,123]'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,456]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [null,456]
json: error: <stdin>:1:6:      ^
[null
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,456]'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":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":"list","args":[{"plain":true},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,"foo"]'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,"bar"]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [null,"bar"]
json: error: <stdin>:1:6:      ^
[null
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,"bar"]'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":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":"list","args":[{"plain":true},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,{}]'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":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":"list","args":[{"plain":true},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,[]]'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"plain":true},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,null]'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"plain":true},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,false]'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"plain":true},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,true]'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"plain":true},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,123]'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,456]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: [false,456]
json: error: <stdin>:1:7:       ^
[false
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,456]'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"plain":true},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,"foo"]'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,"bar"]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: [false,"bar"]
json: error: <stdin>:1:7:       ^
[false
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,"bar"]'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"plain":true},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,{}]'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"plain":true},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,[]]'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,null]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,null]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,null]'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,false]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,false]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,false]'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,true]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,true]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,true]'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,123]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,123]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,123]'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,456]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,456]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,456]'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,"foo"]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,"foo"]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,"foo"]'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,"bar"]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,"bar"]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,"bar"]'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,{}]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,{}]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,{}]'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,[]]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,[]]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,[]]'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,null]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,null]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,null]'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,false]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,false]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,false]'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,true]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,true]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,true]'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,123]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,123]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,123]'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,456]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,456]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,456]'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,"foo"]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,"foo"]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,"foo"]'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,"bar"]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,"bar"]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,"bar"]'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,{}]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,{}]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,{}]'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,[]]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,[]]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,[]]'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",null]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",null]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",null]'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",false]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",false]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",false]'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",true]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",true]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",true]'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",123]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",123]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",123]'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",456]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",456]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",456]'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo","foo"]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo","foo"]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo","foo"]'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo","bar"]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo","bar"]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo","bar"]'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",{}]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",{}]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",{}]'
$ json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",[]]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",[]]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"plain":true},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",[]]'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":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":"list","args":[{"plain":123},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,null]'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":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":"list","args":[{"plain":123},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,false]'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":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":"list","args":[{"plain":123},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,true]'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":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":"list","args":[{"plain":123},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,123]'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,456]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [null,456]
json: error: <stdin>:1:6:      ^
[null
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,456]'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":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":"list","args":[{"plain":123},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,"foo"]'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,"bar"]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [null,"bar"]
json: error: <stdin>:1:6:      ^
[null
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,"bar"]'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":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":"list","args":[{"plain":123},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,{}]'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":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":"list","args":[{"plain":123},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,[]]'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"plain":123},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,null]'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"plain":123},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,false]'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"plain":123},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,true]'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"plain":123},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,123]'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,456]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: [false,456]
json: error: <stdin>:1:7:       ^
[false
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,456]'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"plain":123},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,"foo"]'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,"bar"]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: [false,"bar"]
json: error: <stdin>:1:7:       ^
[false
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,"bar"]'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"plain":123},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,{}]'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"plain":123},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,[]]'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,null]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,null]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,null]'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,false]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,false]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,false]'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,true]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,true]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,true]'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,123]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,123]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,123]'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,456]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,456]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,456]'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,"foo"]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,"foo"]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,"foo"]'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,"bar"]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,"bar"]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,"bar"]'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,{}]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,{}]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,{}]'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,[]]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,[]]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,[]]'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,null]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,null]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,null]'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,false]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,false]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,false]'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,true]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,true]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,true]'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,123]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,123]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,123]'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,456]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,456]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,456]'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,"foo"]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,"foo"]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,"foo"]'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,"bar"]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,"bar"]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,"bar"]'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,{}]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,{}]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,{}]'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,[]]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,[]]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,[]]'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",null]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",null]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",null]'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",false]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",false]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",false]'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",true]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",true]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",true]'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",123]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",123]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",123]'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",456]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",456]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",456]'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo","foo"]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo","foo"]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo","foo"]'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo","bar"]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo","bar"]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo","bar"]'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",{}]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",{}]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",{}]'
$ json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",[]]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",[]]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"plain":123},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",[]]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":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":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,null]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":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":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,false]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":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":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,true]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":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":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,123]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,456]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [null,456]
json: error: <stdin>:1:6:      ^
[null
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,456]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":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":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,"foo"]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,"bar"]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [null,"bar"]
json: error: <stdin>:1:6:      ^
[null
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,"bar"]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":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":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,{}]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":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":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,[]]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,null]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,false]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,true]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,123]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,456]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: [false,456]
json: error: <stdin>:1:7:       ^
[false
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,456]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,"foo"]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,"bar"]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: [false,"bar"]
json: error: <stdin>:1:7:       ^
[false
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,"bar"]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,{}]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,[]]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,null]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,null]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,null]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,false]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,false]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,false]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,true]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,true]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,true]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,123]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,123]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,123]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,456]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,456]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,456]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,"foo"]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,"foo"]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,"foo"]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,"bar"]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,"bar"]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,"bar"]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,{}]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,{}]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,{}]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,[]]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,[]]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":true}]}]}' <<< '[true,[]]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,null]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,null]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,null]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,false]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,false]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,false]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,true]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,true]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,true]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,123]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,123]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,123]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,456]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,456]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,456]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,"foo"]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,"foo"]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,"foo"]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,"bar"]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,"bar"]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,"bar"]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,{}]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,{}]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,{}]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,[]]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,[]]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":123}]}]}' <<< '[123,[]]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",null]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",null]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",null]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",false]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",false]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",false]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",true]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",true]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",true]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",123]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",123]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",123]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",456]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",456]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",456]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo","foo"]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo","foo"]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo","foo"]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo","bar"]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo","bar"]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo","bar"]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",{}]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",{}]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",{}]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",[]]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",[]]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo",[]]'
$

--[ list-open-array-basic-open-array-basic-val-basic ]--------------------------

#
# # 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 '"foo"' '{}' '[]'; do test "$t" == "$t2" && continue; T='{"type":"list","args":[{"type":"array","args":"'"$t"'"},{"type":"array","args":"'"$t2"'"}]}'; c="json -d '$T' <<< '$v'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"null"}]}' <<< 'null'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"null"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"null"}]}' <<< 'false'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"null"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"null"}]}' <<< 'true'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"null"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"null"}]}' <<< '123'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"null"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"null"}]}' <<< '"foo"'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"null"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"null"}]}' <<< '{}'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"null"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"null"}]}' <<< '[]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"null"}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"boolean"}]}' <<< 'null'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"boolean"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"boolean"}]}' <<< 'false'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"boolean"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"boolean"}]}' <<< 'true'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"boolean"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"boolean"}]}' <<< '123'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"boolean"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"boolean"}]}' <<< '"foo"'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"boolean"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"boolean"}]}' <<< '{}'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"boolean"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"boolean"}]}' <<< '[]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"boolean"}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"number"}]}' <<< 'null'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"number"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"number"}]}' <<< 'false'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"number"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"number"}]}' <<< 'true'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"number"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"number"}]}' <<< '123'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"number"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"number"}]}' <<< '"foo"'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"number"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"number"}]}' <<< '{}'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"number"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"number"}]}' <<< '[]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"number"}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"string"}]}' <<< 'null'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"string"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"string"}]}' <<< 'false'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"string"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"string"}]}' <<< 'true'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"string"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"string"}]}' <<< '123'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"string"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"string"}]}' <<< '"foo"'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"string"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"string"}]}' <<< '{}'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"string"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"string"}]}' <<< '[]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"string"}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"object"}]}' <<< 'null'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"object"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"object"}]}' <<< 'false'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"object"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"object"}]}' <<< 'true'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"object"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"object"}]}' <<< '123'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"object"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"object"}]}' <<< '"foo"'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"object"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"object"}]}' <<< '{}'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"object"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"object"}]}' <<< '[]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"object"}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"array"}]}' <<< 'null'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"array"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"array"}]}' <<< 'false'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"array"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"array"}]}' <<< 'true'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"array"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"array"}]}' <<< '123'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"array"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"array"}]}' <<< '"foo"'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"array"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"array"}]}' <<< '{}'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"array"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"array"}]}' <<< '[]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"array"}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"type"}]}' <<< 'null'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"type"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"type"}]}' <<< 'false'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"type"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"type"}]}' <<< 'true'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"type"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"type"}]}' <<< '123'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"type"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"type"}]}' <<< '"foo"'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"type"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"type"}]}' <<< '{}'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"type"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"type"}]}' <<< '[]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"type"}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"boolean"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"boolean"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"boolean"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"boolean"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"boolean"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"boolean"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"boolean"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"boolean"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"boolean"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"boolean"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"boolean"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"boolean"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"boolean"}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"boolean"}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"boolean"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"boolean"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"boolean"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"boolean"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"boolean"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"number"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"number"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"number"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"number"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"number"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"number"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"number"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"number"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"number"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"number"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"number"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"number"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"number"}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"number"}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"number"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"number"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"number"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"number"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"number"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"string"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"string"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"string"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"string"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"string"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"string"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"string"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"string"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"string"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"string"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"string"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"string"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"string"}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"string"}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"string"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"string"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"string"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"string"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"string"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"object"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"object"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"object"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"object"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"object"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"object"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"object"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"object"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"object"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"object"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"object"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"object"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"object"}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"object"}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"object"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"object"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"object"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"object"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"object"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"array"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"array"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"array"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"array"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"array"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"array"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"array"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"array"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"array"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"array"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"array"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"array"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"array"}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"array"}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"array"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"array"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"array"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"array"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"array"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"type"}]}' <<< 'null'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"type"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"type"}]}' <<< 'false'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"type"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"type"}]}' <<< 'true'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"type"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"type"}]}' <<< '123'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"type"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"type"}]}' <<< '"foo"'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"type"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"type"}]}' <<< '{}'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"type"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"type"}]}' <<< '[]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"type"}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"null"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"null"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"null"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"null"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"null"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"null"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"null"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"null"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"null"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"null"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"null"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"null"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"null"}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"null"}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"null"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"null"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"null"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"null"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"null"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"number"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"number"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"number"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"number"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"number"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"number"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"number"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"number"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"number"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"number"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"number"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"number"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"number"}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"number"}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"number"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"number"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"number"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"number"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"number"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"string"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"string"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"string"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"string"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"string"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"string"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"string"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"string"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"string"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"string"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"string"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"string"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"string"}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"string"}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"string"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"string"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"string"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"string"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"string"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"object"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"object"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"object"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"object"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"object"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"object"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"object"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"object"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"object"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"object"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"object"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"object"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"object"}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"object"}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"object"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"object"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"object"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"object"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"object"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"array"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"array"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"array"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"array"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"array"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"array"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"array"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"array"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"array"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"array"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"array"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"array"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"array"}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"array"}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"array"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"array"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"array"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"array"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"array"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"type"}]}' <<< 'null'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"type"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"type"}]}' <<< 'false'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"type"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"type"}]}' <<< 'true'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"type"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"type"}]}' <<< '123'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"type"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"type"}]}' <<< '"foo"'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"type"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"type"}]}' <<< '{}'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"type"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"type"}]}' <<< '[]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"type"}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"null"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"null"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"null"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"null"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"null"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"null"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"null"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"null"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"null"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"null"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"null"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"null"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"null"}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"null"}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"null"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"null"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"null"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"null"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"null"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"boolean"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"boolean"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"boolean"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"boolean"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"boolean"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"boolean"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"boolean"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"boolean"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"boolean"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"boolean"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"boolean"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"boolean"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"boolean"}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"boolean"}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"boolean"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"boolean"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"boolean"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"boolean"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"boolean"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"string"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"string"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"string"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"string"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"string"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"string"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"string"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"string"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"string"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"string"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"string"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"string"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"string"}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"string"}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"string"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"string"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"string"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"string"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"string"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"object"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"object"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"object"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"object"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"object"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"object"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"object"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"object"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"object"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"object"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"object"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"object"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"object"}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"object"}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"object"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"object"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"object"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"object"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"object"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"array"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"array"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"array"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"array"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"array"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"array"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"array"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"array"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"array"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"array"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"array"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"array"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"array"}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"array"}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"array"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"array"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"array"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"array"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"array"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"type"}]}' <<< 'null'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"type"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"type"}]}' <<< 'false'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"type"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"type"}]}' <<< 'true'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"type"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"type"}]}' <<< '123'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"type"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"type"}]}' <<< '"foo"'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"type"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"type"}]}' <<< '{}'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"type"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"type"}]}' <<< '[]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"type"}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"null"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"null"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"null"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"null"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"null"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"null"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"null"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"null"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"null"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"null"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"null"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"null"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"null"}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"null"}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"null"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"null"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"null"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"null"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"null"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"boolean"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"boolean"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"boolean"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"boolean"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"boolean"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"boolean"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"boolean"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"boolean"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"boolean"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"boolean"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"boolean"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"boolean"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"boolean"}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"boolean"}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"boolean"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"boolean"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"boolean"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"boolean"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"boolean"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"number"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"number"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"number"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"number"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"number"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"number"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"number"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"number"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"number"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"number"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"number"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"number"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"number"}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"number"}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"number"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"number"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"number"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"number"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"number"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"object"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"object"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"object"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"object"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"object"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"object"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"object"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"object"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"object"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"object"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"object"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"object"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"object"}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"object"}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"object"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"object"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"object"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"object"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"object"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"array"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"array"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"array"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"array"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"array"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"array"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"array"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"array"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"array"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"array"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"array"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"array"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"array"}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"array"}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"array"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"array"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"array"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"array"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"array"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"type"}]}' <<< 'null'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"type"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"type"}]}' <<< 'false'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"type"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"type"}]}' <<< 'true'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"type"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"type"}]}' <<< '123'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"type"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"type"}]}' <<< '"foo"'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"type"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"type"}]}' <<< '{}'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"type"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"type"}]}' <<< '[]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"type"}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"null"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"null"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"null"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"null"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"null"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"null"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"null"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"null"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"null"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"null"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"null"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"null"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"null"}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"null"}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"null"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"null"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"null"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"null"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"null"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"boolean"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"boolean"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"boolean"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"boolean"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"boolean"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"boolean"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"boolean"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"boolean"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"boolean"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"boolean"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"boolean"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"boolean"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"boolean"}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"boolean"}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"boolean"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"boolean"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"boolean"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"boolean"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"boolean"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"number"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"number"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"number"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"number"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"number"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"number"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"number"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"number"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"number"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"number"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"number"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"number"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"number"}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"number"}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"number"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"number"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"number"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"number"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"number"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"string"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"string"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"string"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"string"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"string"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"string"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"string"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"string"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"string"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"string"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"string"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"string"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"string"}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"string"}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"string"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"string"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"string"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"string"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"string"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"array"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"array"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"array"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"array"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"array"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"array"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"array"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"array"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"array"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"array"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"array"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"array"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"array"}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"array"}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"array"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"array"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"array"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"array"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"array"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"type"}]}' <<< 'null'
json: error: <text>:1:79: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"type"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"type"}]}' <<< 'false'
json: error: <text>:1:79: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"type"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"type"}]}' <<< 'true'
json: error: <text>:1:79: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"type"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"type"}]}' <<< '123'
json: error: <text>:1:79: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"type"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"type"}]}' <<< '"foo"'
json: error: <text>:1:79: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"type"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"type"}]}' <<< '{}'
json: error: <text>:1:79: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"type"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"type"}]}' <<< '[]'
json: error: <text>:1:79: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"type"}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"null"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"null"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"null"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"null"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"null"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"null"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"null"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"null"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"null"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"null"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"null"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"null"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"null"}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"null"}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"null"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"null"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"null"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"null"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"null"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"boolean"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"boolean"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"boolean"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"boolean"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"boolean"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"boolean"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"boolean"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"boolean"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"boolean"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"boolean"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"boolean"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"boolean"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"boolean"}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"boolean"}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"boolean"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"boolean"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"boolean"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"boolean"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"boolean"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"number"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"number"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"number"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"number"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"number"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"number"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"number"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"number"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"number"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"number"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"number"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"number"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"number"}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"number"}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"number"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"number"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"number"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"number"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"number"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"string"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"string"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"string"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"string"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"string"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"string"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"string"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"string"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"string"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"string"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"string"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"string"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"string"}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"string"}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"string"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"string"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"string"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"string"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"string"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"object"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"object"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"object"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"object"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"object"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"object"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"object"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"object"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"object"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"object"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"object"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"object"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"object"}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"object"}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"object"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"object"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"object"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"object"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"object"}]}' <<< '[]'
[]
$

--[ list-open-array-basic-open-array-basic-val-array-empty ]--------------------

#
# # 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; T='{"type":"list","args":[{"type":"array","args":"'"$t"'"},{"type":"array","args":"'"$t2"'"}]}'; c="json -d '$T' <<< '[]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"null"}]}' <<< '[]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"null"}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"boolean"}]}' <<< '[]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"boolean"}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"number"}]}' <<< '[]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"number"}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"string"}]}' <<< '[]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"string"}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"object"}]}' <<< '[]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"object"}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"array"}]}' <<< '[]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"array"}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"type"}]}' <<< '[]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"type"}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"boolean"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"number"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"string"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"object"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"array"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"type"}]}' <<< '[]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"type"}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"null"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"number"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"string"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"object"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"array"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"type"}]}' <<< '[]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"type"}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"null"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"boolean"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"string"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"object"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"array"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"type"}]}' <<< '[]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"type"}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"null"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"boolean"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"number"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"object"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"array"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"type"}]}' <<< '[]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"type"}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"null"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"boolean"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"number"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"string"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"array"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"type"}]}' <<< '[]'
json: error: <text>:1:79: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"type"}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"null"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"boolean"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"number"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"string"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"object"}]}' <<< '[]'
[]
$

--[ list-open-array-basic-open-array-basic-val-array-basic ]--------------------

#
# # 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 T='{"type":"list","args":[{"type":"array","args":"'"$t"'"},{"type":"array","args":"'"$t2"'"}]}'; c="json -d '$T' <<< '[$v]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"null"}]}' <<< '[null]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"null"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"null"}]}' <<< '[false]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"null"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"null"}]}' <<< '[true]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"null"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"null"}]}' <<< '[123]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"null"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"null"}]}' <<< '["foo"]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"null"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"null"}]}' <<< '[{}]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"null"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"null"}]}' <<< '[[]]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"null"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"boolean"}]}' <<< '[null]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"boolean"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"boolean"}]}' <<< '[false]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"boolean"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"boolean"}]}' <<< '[true]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"boolean"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"boolean"}]}' <<< '[123]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"boolean"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"boolean"}]}' <<< '["foo"]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"boolean"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"boolean"}]}' <<< '[{}]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"boolean"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"boolean"}]}' <<< '[[]]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"boolean"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"number"}]}' <<< '[null]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"number"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"number"}]}' <<< '[false]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"number"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"number"}]}' <<< '[true]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"number"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"number"}]}' <<< '[123]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"number"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"number"}]}' <<< '["foo"]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"number"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"number"}]}' <<< '[{}]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"number"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"number"}]}' <<< '[[]]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"number"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"string"}]}' <<< '[null]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"string"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"string"}]}' <<< '[false]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"string"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"string"}]}' <<< '[true]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"string"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"string"}]}' <<< '[123]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"string"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"string"}]}' <<< '["foo"]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"string"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"string"}]}' <<< '[{}]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"string"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"string"}]}' <<< '[[]]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"string"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"object"}]}' <<< '[null]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"object"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"object"}]}' <<< '[false]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"object"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"object"}]}' <<< '[true]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"object"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"object"}]}' <<< '[123]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"object"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"object"}]}' <<< '["foo"]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"object"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"object"}]}' <<< '[{}]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"object"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"object"}]}' <<< '[[]]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"object"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"array"}]}' <<< '[null]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"array"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"array"}]}' <<< '[false]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"array"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"array"}]}' <<< '[true]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"array"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"array"}]}' <<< '[123]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"array"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"array"}]}' <<< '["foo"]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"array"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"array"}]}' <<< '[{}]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"array"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"array"}]}' <<< '[[]]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"array"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"type"}]}' <<< '[null]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"type"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"type"}]}' <<< '[false]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"type"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"type"}]}' <<< '[true]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"type"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"type"}]}' <<< '[123]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"type"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"type"}]}' <<< '["foo"]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"type"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"type"}]}' <<< '[{}]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"type"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"type"}]}' <<< '[[]]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"type"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"boolean"}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"boolean"}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"boolean"}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"boolean"}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"boolean"' or, otherwise, no value at all
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"boolean"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"boolean"}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"boolean"' or, otherwise, no value at all
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"boolean"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"boolean"}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"boolean"' or, otherwise, no value at all
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"boolean"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"boolean"}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"boolean"' or, otherwise, no value at all
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"boolean"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"number"}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"number"}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"number"' or, otherwise, no value at all
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"number"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"number"}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"number"' or, otherwise, no value at all
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"number"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"number"}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"number"}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"number"' or, otherwise, no value at all
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"number"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"number"}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"number"' or, otherwise, no value at all
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"number"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"number"}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"number"' or, otherwise, no value at all
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"number"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"string"}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"string"}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"string"' or, otherwise, no value at all
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"string"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"string"}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"string"' or, otherwise, no value at all
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"string"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"string"}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"string"' or, otherwise, no value at all
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"string"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"string"}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"string"}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"string"' or, otherwise, no value at all
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"string"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"string"}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"string"' or, otherwise, no value at all
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"string"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"object"}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"object"}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"object"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"object"}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"object"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"object"}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"object"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"object"}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"object"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"object"}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"object"}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"object"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"array"}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"array"}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"array"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"array"}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"array"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"array"}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"array"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"array"}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"array"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"array"}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"array"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"array"}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"type"}]}' <<< '[null]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"type"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"type"}]}' <<< '[false]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"type"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"type"}]}' <<< '[true]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"type"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"type"}]}' <<< '[123]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"type"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"type"}]}' <<< '["foo"]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"type"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"type"}]}' <<< '[{}]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"type"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"type"}]}' <<< '[[]]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"type"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"null"}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"null"}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"null"}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"null"}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"boolean"' or, otherwise, no value at all
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"null"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"null"}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"boolean"' or, otherwise, no value at all
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"null"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"null"}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"boolean"' or, otherwise, no value at all
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"null"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"null"}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"boolean"' or, otherwise, no value at all
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"null"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"number"}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"number"' or, otherwise, no value at all
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"number"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"number"}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"number"}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"number"}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"number"}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"number"' or, otherwise, no value at all
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"number"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"number"}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"number"' or, otherwise, no value at all
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"number"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"number"}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"number"' or, otherwise, no value at all
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"number"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"string"}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"string"' or, otherwise, no value at all
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"string"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"string"}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"string"}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"string"}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"string"' or, otherwise, no value at all
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"string"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"string"}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"string"}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"string"' or, otherwise, no value at all
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"string"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"string"}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"string"' or, otherwise, no value at all
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"string"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"object"}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"object"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"object"}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"object"}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"object"}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"object"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"object"}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"object"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"object"}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"object"}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"object"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"array"}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"array"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"array"}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"array"}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"array"}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"array"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"array"}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"array"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"array"}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"array"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"array"}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"type"}]}' <<< '[null]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"type"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"type"}]}' <<< '[false]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"type"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"type"}]}' <<< '[true]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"type"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"type"}]}' <<< '[123]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"type"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"type"}]}' <<< '["foo"]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"type"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"type"}]}' <<< '[{}]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"type"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"type"}]}' <<< '[[]]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"type"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"null"}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"null"}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"number"' or, otherwise, no value at all
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"null"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"null"}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"number"' or, otherwise, no value at all
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"null"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"null"}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"null"}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"number"' or, otherwise, no value at all
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"null"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"null"}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"number"' or, otherwise, no value at all
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"null"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"null"}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"number"' or, otherwise, no value at all
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"null"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"boolean"}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"number"' or, otherwise, no value at all
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"boolean"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"boolean"}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"boolean"}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"boolean"}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"boolean"}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"number"' or, otherwise, no value at all
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"boolean"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"boolean"}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"number"' or, otherwise, no value at all
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"boolean"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"boolean"}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"number"' or, otherwise, no value at all
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"boolean"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"string"}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"string"' or, otherwise, no value at all
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"string"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"string"}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"string"' or, otherwise, no value at all
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"string"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"string"}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"string"' or, otherwise, no value at all
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"string"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"string"}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"string"}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"string"}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"string"' or, otherwise, no value at all
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"string"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"string"}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"string"' or, otherwise, no value at all
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"string"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"object"}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"object"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"object"}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"object"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"object"}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"object"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"object"}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"object"}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"object"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"object"}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"object"}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"object"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"array"}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"array"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"array"}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"array"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"array"}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"array"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"array"}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"array"}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"array"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"array"}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"array"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"array"}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"type"}]}' <<< '[null]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"type"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"type"}]}' <<< '[false]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"type"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"type"}]}' <<< '[true]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"type"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"type"}]}' <<< '[123]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"type"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"type"}]}' <<< '["foo"]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"type"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"type"}]}' <<< '[{}]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"type"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"type"}]}' <<< '[[]]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"type"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"null"}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"null"}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"string"' or, otherwise, no value at all
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"null"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"null"}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"string"' or, otherwise, no value at all
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"null"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"null"}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"string"' or, otherwise, no value at all
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"null"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"null"}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"null"}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"string"' or, otherwise, no value at all
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"null"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"null"}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"string"' or, otherwise, no value at all
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"null"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"boolean"}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"string"' or, otherwise, no value at all
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"boolean"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"boolean"}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"boolean"}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"boolean"}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"string"' or, otherwise, no value at all
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"boolean"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"boolean"}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"boolean"}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"string"' or, otherwise, no value at all
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"boolean"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"boolean"}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"string"' or, otherwise, no value at all
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"boolean"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"number"}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"string"' or, otherwise, no value at all
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"number"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"number"}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"string"' or, otherwise, no value at all
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"number"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"number"}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"string"' or, otherwise, no value at all
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"number"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"number"}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"number"}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"number"}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"string"' or, otherwise, no value at all
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"number"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"number"}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"string"' or, otherwise, no value at all
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"number"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"object"}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"object"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"object"}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"object"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"object"}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"object"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"object"}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"object"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"object"}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"object"}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"object"}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"object"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"array"}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"array"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"array"}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"array"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"array"}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"array"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"array"}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"array"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"array"}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"array"}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"array"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"array"}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"type"}]}' <<< '[null]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"type"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"type"}]}' <<< '[false]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"type"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"type"}]}' <<< '[true]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"type"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"type"}]}' <<< '[123]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"type"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"type"}]}' <<< '["foo"]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"type"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"type"}]}' <<< '[{}]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"type"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"type"}]}' <<< '[[]]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"type"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"null"}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"null"}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"null"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"null"}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"null"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"null"}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"null"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"null"}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"null"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"null"}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"null"}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"null"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"boolean"}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"boolean"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"boolean"}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"boolean"}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"boolean"}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"boolean"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"boolean"}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"boolean"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"boolean"}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"boolean"}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"boolean"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"number"}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"number"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"number"}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"number"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"number"}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"number"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"number"}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"number"}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"number"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"number"}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"number"}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"number"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"string"}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"string"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"string"}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"string"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"string"}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"string"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"string"}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"string"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"string"}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"string"}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"string"}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"string"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"array"}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"array"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"array"}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"array"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"array"}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"array"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"array"}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"array"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"array"}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"array"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"array"}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"array"}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"type"}]}' <<< '[null]'
json: error: <text>:1:79: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"type"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"type"}]}' <<< '[false]'
json: error: <text>:1:79: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"type"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"type"}]}' <<< '[true]'
json: error: <text>:1:79: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"type"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"type"}]}' <<< '[123]'
json: error: <text>:1:79: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"type"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"type"}]}' <<< '["foo"]'
json: error: <text>:1:79: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"type"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"type"}]}' <<< '[{}]'
json: error: <text>:1:79: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"type"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"type"}]}' <<< '[[]]'
json: error: <text>:1:79: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"type"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"null"}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"null"}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"null"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"null"}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"null"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"null"}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"null"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"null"}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"null"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"null"}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"null"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"null"}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"boolean"}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"boolean"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"boolean"}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"boolean"}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"boolean"}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"boolean"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"boolean"}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"boolean"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"boolean"}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"boolean"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"boolean"}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"number"}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"number"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"number"}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"number"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"number"}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"number"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"number"}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"number"}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"number"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"number"}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"number"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"number"}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"string"}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"string"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"string"}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"string"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"string"}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"string"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"string"}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"string"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"string"}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"string"}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"string"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"string"}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"object"}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"object"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"object"}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"object"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"object"}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"object"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"object"}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"object"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"object"}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"object"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"object"}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"object"}]}' <<< '[[]]'
[[]]
$

--[ list-open-array-basic-open-array-basic-val-array-basic-basic ]--------------

#
# # 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 t2 in type null boolean number string object array; do test "$t" == "$t2" && continue; for v in null false true 123 '"foo"' '{}' '[]'; do T='{"type":"list","args":[{"type":"array","args":"'"$t"'"},{"type":"array","args":"'"$t2"'"}]}'; c="json -d '$T' <<< '[$v0,$v]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"null"}]}' <<< '[[{}],null]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"null"}]}' <<< '[[{}],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"null"}]}' <<< '[[{}],false]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"null"}]}' <<< '[[{}],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"null"}]}' <<< '[[{}],true]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"null"}]}' <<< '[[{}],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"null"}]}' <<< '[[{}],123]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"null"}]}' <<< '[[{}],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"null"}]}' <<< '[[{}],"foo"]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"null"}]}' <<< '[[{}],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"null"}]}' <<< '[[{}],{}]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"null"}]}' <<< '[[{}],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"null"}]}' <<< '[[{}],[]]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"null"}]}' <<< '[[{}],[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"boolean"}]}' <<< '[[{}],null]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"boolean"}]}' <<< '[[{}],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"boolean"}]}' <<< '[[{}],false]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"boolean"}]}' <<< '[[{}],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"boolean"}]}' <<< '[[{}],true]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"boolean"}]}' <<< '[[{}],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"boolean"}]}' <<< '[[{}],123]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"boolean"}]}' <<< '[[{}],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"boolean"}]}' <<< '[[{}],"foo"]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"boolean"}]}' <<< '[[{}],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"boolean"}]}' <<< '[[{}],{}]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"boolean"}]}' <<< '[[{}],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"boolean"}]}' <<< '[[{}],[]]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"boolean"}]}' <<< '[[{}],[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"number"}]}' <<< '[[{}],null]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"number"}]}' <<< '[[{}],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"number"}]}' <<< '[[{}],false]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"number"}]}' <<< '[[{}],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"number"}]}' <<< '[[{}],true]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"number"}]}' <<< '[[{}],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"number"}]}' <<< '[[{}],123]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"number"}]}' <<< '[[{}],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"number"}]}' <<< '[[{}],"foo"]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"number"}]}' <<< '[[{}],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"number"}]}' <<< '[[{}],{}]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"number"}]}' <<< '[[{}],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"number"}]}' <<< '[[{}],[]]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"number"}]}' <<< '[[{}],[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"string"}]}' <<< '[[{}],null]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"string"}]}' <<< '[[{}],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"string"}]}' <<< '[[{}],false]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"string"}]}' <<< '[[{}],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"string"}]}' <<< '[[{}],true]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"string"}]}' <<< '[[{}],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"string"}]}' <<< '[[{}],123]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"string"}]}' <<< '[[{}],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"string"}]}' <<< '[[{}],"foo"]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"string"}]}' <<< '[[{}],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"string"}]}' <<< '[[{}],{}]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"string"}]}' <<< '[[{}],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"string"}]}' <<< '[[{}],[]]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"string"}]}' <<< '[[{}],[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"object"}]}' <<< '[[{}],null]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"object"}]}' <<< '[[{}],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"object"}]}' <<< '[[{}],false]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"object"}]}' <<< '[[{}],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"object"}]}' <<< '[[{}],true]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"object"}]}' <<< '[[{}],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"object"}]}' <<< '[[{}],123]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"object"}]}' <<< '[[{}],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"object"}]}' <<< '[[{}],"foo"]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"object"}]}' <<< '[[{}],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"object"}]}' <<< '[[{}],{}]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"object"}]}' <<< '[[{}],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"object"}]}' <<< '[[{}],[]]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"object"}]}' <<< '[[{}],[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"array"}]}' <<< '[[{}],null]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"array"}]}' <<< '[[{}],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"array"}]}' <<< '[[{}],false]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"array"}]}' <<< '[[{}],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"array"}]}' <<< '[[{}],true]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"array"}]}' <<< '[[{}],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"array"}]}' <<< '[[{}],123]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"array"}]}' <<< '[[{}],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"array"}]}' <<< '[[{}],"foo"]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"array"}]}' <<< '[[{}],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"array"}]}' <<< '[[{}],{}]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"array"}]}' <<< '[[{}],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"array"}]}' <<< '[[{}],[]]'
json: error: <text>:1:47: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:78)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":"array"}]}' <<< '[[{}],[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"type"}]}' <<< '[null,null]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"type"}]}' <<< '[null,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"type"}]}' <<< '[null,false]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"type"}]}' <<< '[null,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"type"}]}' <<< '[null,true]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"type"}]}' <<< '[null,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"type"}]}' <<< '[null,123]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"type"}]}' <<< '[null,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"type"}]}' <<< '[null,"foo"]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"type"}]}' <<< '[null,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"type"}]}' <<< '[null,{}]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"type"}]}' <<< '[null,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"type"}]}' <<< '[null,[]]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"type"}]}' <<< '[null,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"boolean"}]}' <<< '[null,null]'
[null,null]
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"boolean"}]}' <<< '[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":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"boolean"}]}' <<< '[null,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"boolean"}]}' <<< '[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":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"boolean"}]}' <<< '[null,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"boolean"}]}' <<< '[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":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"boolean"}]}' <<< '[null,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"boolean"}]}' <<< '[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":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"boolean"}]}' <<< '[null,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"boolean"}]}' <<< '[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":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"boolean"}]}' <<< '[null,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"boolean"}]}' <<< '[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":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"boolean"}]}' <<< '[null,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"number"}]}' <<< '[null,null]'
[null,null]
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"number"}]}' <<< '[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":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"number"}]}' <<< '[null,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"number"}]}' <<< '[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":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"number"}]}' <<< '[null,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"number"}]}' <<< '[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":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"number"}]}' <<< '[null,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"number"}]}' <<< '[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":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"number"}]}' <<< '[null,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"number"}]}' <<< '[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":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"number"}]}' <<< '[null,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"number"}]}' <<< '[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":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"number"}]}' <<< '[null,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"string"}]}' <<< '[null,null]'
[null,null]
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"string"}]}' <<< '[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":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"string"}]}' <<< '[null,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"string"}]}' <<< '[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":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"string"}]}' <<< '[null,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"string"}]}' <<< '[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":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"string"}]}' <<< '[null,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"string"}]}' <<< '[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":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"string"}]}' <<< '[null,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"string"}]}' <<< '[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":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"string"}]}' <<< '[null,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"string"}]}' <<< '[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":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"string"}]}' <<< '[null,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"object"}]}' <<< '[null,null]'
[null,null]
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"object"}]}' <<< '[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":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"object"}]}' <<< '[null,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"object"}]}' <<< '[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":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"object"}]}' <<< '[null,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"object"}]}' <<< '[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":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"object"}]}' <<< '[null,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"object"}]}' <<< '[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":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"object"}]}' <<< '[null,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"object"}]}' <<< '[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":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"object"}]}' <<< '[null,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"object"}]}' <<< '[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":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"object"}]}' <<< '[null,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"array"}]}' <<< '[null,null]'
[null,null]
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"array"}]}' <<< '[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":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"array"}]}' <<< '[null,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"array"}]}' <<< '[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":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"array"}]}' <<< '[null,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"array"}]}' <<< '[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":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"array"}]}' <<< '[null,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"array"}]}' <<< '[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":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"array"}]}' <<< '[null,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"array"}]}' <<< '[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":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"array"}]}' <<< '[null,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"array"}]}' <<< '[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":"list","args":[{"type":"array","args":"null"},{"type":"array","args":"array"}]}' <<< '[null,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"type"}]}' <<< '[false,null]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"type"}]}' <<< '[false,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"type"}]}' <<< '[false,false]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"type"}]}' <<< '[false,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"type"}]}' <<< '[false,true]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"type"}]}' <<< '[false,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"type"}]}' <<< '[false,123]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"type"}]}' <<< '[false,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"type"}]}' <<< '[false,"foo"]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"type"}]}' <<< '[false,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"type"}]}' <<< '[false,{}]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"type"}]}' <<< '[false,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"type"}]}' <<< '[false,[]]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"type"}]}' <<< '[false,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"null"}]}' <<< '[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":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"null"}]}' <<< '[false,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"null"}]}' <<< '[false,false]'
[false,false]
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"null"}]}' <<< '[false,true]'
[false,true]
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"null"}]}' <<< '[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":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"null"}]}' <<< '[false,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"null"}]}' <<< '[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":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"null"}]}' <<< '[false,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"null"}]}' <<< '[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":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"null"}]}' <<< '[false,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"null"}]}' <<< '[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":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"null"}]}' <<< '[false,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"number"}]}' <<< '[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":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"number"}]}' <<< '[false,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"number"}]}' <<< '[false,false]'
[false,false]
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"number"}]}' <<< '[false,true]'
[false,true]
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"number"}]}' <<< '[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":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"number"}]}' <<< '[false,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"number"}]}' <<< '[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":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"number"}]}' <<< '[false,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"number"}]}' <<< '[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":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"number"}]}' <<< '[false,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"number"}]}' <<< '[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":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"number"}]}' <<< '[false,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"string"}]}' <<< '[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":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"string"}]}' <<< '[false,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"string"}]}' <<< '[false,false]'
[false,false]
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"string"}]}' <<< '[false,true]'
[false,true]
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"string"}]}' <<< '[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":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"string"}]}' <<< '[false,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"string"}]}' <<< '[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":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"string"}]}' <<< '[false,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"string"}]}' <<< '[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":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"string"}]}' <<< '[false,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"string"}]}' <<< '[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":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"string"}]}' <<< '[false,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"object"}]}' <<< '[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":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"object"}]}' <<< '[false,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"object"}]}' <<< '[false,false]'
[false,false]
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"object"}]}' <<< '[false,true]'
[false,true]
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"object"}]}' <<< '[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":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"object"}]}' <<< '[false,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"object"}]}' <<< '[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":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"object"}]}' <<< '[false,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"object"}]}' <<< '[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":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"object"}]}' <<< '[false,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"object"}]}' <<< '[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":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"object"}]}' <<< '[false,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"array"}]}' <<< '[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":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"array"}]}' <<< '[false,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"array"}]}' <<< '[false,false]'
[false,false]
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"array"}]}' <<< '[false,true]'
[false,true]
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"array"}]}' <<< '[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":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"array"}]}' <<< '[false,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"array"}]}' <<< '[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":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"array"}]}' <<< '[false,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"array"}]}' <<< '[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":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"array"}]}' <<< '[false,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"array"}]}' <<< '[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":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":"array"}]}' <<< '[false,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"type"}]}' <<< '[456,null]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"type"}]}' <<< '[456,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"type"}]}' <<< '[456,false]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"type"}]}' <<< '[456,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"type"}]}' <<< '[456,true]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"type"}]}' <<< '[456,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"type"}]}' <<< '[456,123]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"type"}]}' <<< '[456,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"type"}]}' <<< '[456,"foo"]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"type"}]}' <<< '[456,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"type"}]}' <<< '[456,{}]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"type"}]}' <<< '[456,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"type"}]}' <<< '[456,[]]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"type"}]}' <<< '[456,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"null"}]}' <<< '[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":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"null"}]}' <<< '[456,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"null"}]}' <<< '[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":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"null"}]}' <<< '[456,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"null"}]}' <<< '[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":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"null"}]}' <<< '[456,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"null"}]}' <<< '[456,123]'
[456,123]
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"null"}]}' <<< '[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":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"null"}]}' <<< '[456,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"null"}]}' <<< '[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":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"null"}]}' <<< '[456,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"null"}]}' <<< '[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":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"null"}]}' <<< '[456,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"boolean"}]}' <<< '[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":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"boolean"}]}' <<< '[456,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"boolean"}]}' <<< '[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":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"boolean"}]}' <<< '[456,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"boolean"}]}' <<< '[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":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"boolean"}]}' <<< '[456,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"boolean"}]}' <<< '[456,123]'
[456,123]
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"boolean"}]}' <<< '[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":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"boolean"}]}' <<< '[456,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"boolean"}]}' <<< '[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":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"boolean"}]}' <<< '[456,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"boolean"}]}' <<< '[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":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"boolean"}]}' <<< '[456,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"string"}]}' <<< '[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":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"string"}]}' <<< '[456,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"string"}]}' <<< '[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":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"string"}]}' <<< '[456,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"string"}]}' <<< '[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":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"string"}]}' <<< '[456,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"string"}]}' <<< '[456,123]'
[456,123]
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"string"}]}' <<< '[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":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"string"}]}' <<< '[456,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"string"}]}' <<< '[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":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"string"}]}' <<< '[456,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"string"}]}' <<< '[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":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"string"}]}' <<< '[456,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"object"}]}' <<< '[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":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"object"}]}' <<< '[456,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"object"}]}' <<< '[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":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"object"}]}' <<< '[456,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"object"}]}' <<< '[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":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"object"}]}' <<< '[456,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"object"}]}' <<< '[456,123]'
[456,123]
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"object"}]}' <<< '[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":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"object"}]}' <<< '[456,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"object"}]}' <<< '[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":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"object"}]}' <<< '[456,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"object"}]}' <<< '[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":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"object"}]}' <<< '[456,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"array"}]}' <<< '[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":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"array"}]}' <<< '[456,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"array"}]}' <<< '[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":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"array"}]}' <<< '[456,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"array"}]}' <<< '[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":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"array"}]}' <<< '[456,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"array"}]}' <<< '[456,123]'
[456,123]
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"array"}]}' <<< '[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":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"array"}]}' <<< '[456,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"array"}]}' <<< '[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":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"array"}]}' <<< '[456,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"array"}]}' <<< '[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":"list","args":[{"type":"array","args":"number"},{"type":"array","args":"array"}]}' <<< '[456,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"type"}]}' <<< '["bar",null]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"type"}]}' <<< '["bar",null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"type"}]}' <<< '["bar",false]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"type"}]}' <<< '["bar",false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"type"}]}' <<< '["bar",true]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"type"}]}' <<< '["bar",true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"type"}]}' <<< '["bar",123]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"type"}]}' <<< '["bar",123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"type"}]}' <<< '["bar","foo"]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"type"}]}' <<< '["bar","foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"type"}]}' <<< '["bar",{}]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"type"}]}' <<< '["bar",{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"type"}]}' <<< '["bar",[]]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"type"}]}' <<< '["bar",[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"null"}]}' <<< '["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":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"null"}]}' <<< '["bar",null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"null"}]}' <<< '["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":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"null"}]}' <<< '["bar",false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"null"}]}' <<< '["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":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"null"}]}' <<< '["bar",true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"null"}]}' <<< '["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":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"null"}]}' <<< '["bar",123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"null"}]}' <<< '["bar","foo"]'
["bar","foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"null"}]}' <<< '["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":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"null"}]}' <<< '["bar",{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"null"}]}' <<< '["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":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"null"}]}' <<< '["bar",[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"boolean"}]}' <<< '["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":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"boolean"}]}' <<< '["bar",null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"boolean"}]}' <<< '["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":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"boolean"}]}' <<< '["bar",false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"boolean"}]}' <<< '["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":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"boolean"}]}' <<< '["bar",true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"boolean"}]}' <<< '["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":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"boolean"}]}' <<< '["bar",123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"boolean"}]}' <<< '["bar","foo"]'
["bar","foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"boolean"}]}' <<< '["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":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"boolean"}]}' <<< '["bar",{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"boolean"}]}' <<< '["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":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"boolean"}]}' <<< '["bar",[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"number"}]}' <<< '["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":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"number"}]}' <<< '["bar",null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"number"}]}' <<< '["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":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"number"}]}' <<< '["bar",false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"number"}]}' <<< '["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":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"number"}]}' <<< '["bar",true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"number"}]}' <<< '["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":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"number"}]}' <<< '["bar",123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"number"}]}' <<< '["bar","foo"]'
["bar","foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"number"}]}' <<< '["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":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"number"}]}' <<< '["bar",{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"number"}]}' <<< '["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":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"number"}]}' <<< '["bar",[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"object"}]}' <<< '["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":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"object"}]}' <<< '["bar",null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"object"}]}' <<< '["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":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"object"}]}' <<< '["bar",false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"object"}]}' <<< '["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":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"object"}]}' <<< '["bar",true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"object"}]}' <<< '["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":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"object"}]}' <<< '["bar",123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"object"}]}' <<< '["bar","foo"]'
["bar","foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"object"}]}' <<< '["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":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"object"}]}' <<< '["bar",{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"object"}]}' <<< '["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":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"object"}]}' <<< '["bar",[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"array"}]}' <<< '["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":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"array"}]}' <<< '["bar",null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"array"}]}' <<< '["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":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"array"}]}' <<< '["bar",false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"array"}]}' <<< '["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":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"array"}]}' <<< '["bar",true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"array"}]}' <<< '["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":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"array"}]}' <<< '["bar",123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"array"}]}' <<< '["bar","foo"]'
["bar","foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"array"}]}' <<< '["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":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"array"}]}' <<< '["bar",{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"array"}]}' <<< '["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":"list","args":[{"type":"array","args":"string"},{"type":"array","args":"array"}]}' <<< '["bar",[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"type"}]}' <<< '[{},null]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"type"}]}' <<< '[{},null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"type"}]}' <<< '[{},false]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"type"}]}' <<< '[{},false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"type"}]}' <<< '[{},true]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"type"}]}' <<< '[{},true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"type"}]}' <<< '[{},123]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"type"}]}' <<< '[{},123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"type"}]}' <<< '[{},"foo"]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"type"}]}' <<< '[{},"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"type"}]}' <<< '[{},{}]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"type"}]}' <<< '[{},{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"type"}]}' <<< '[{},[]]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"type"}]}' <<< '[{},[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"null"}]}' <<< '[{},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":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"null"}]}' <<< '[{},null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"null"}]}' <<< '[{},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":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"null"}]}' <<< '[{},false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"null"}]}' <<< '[{},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":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"null"}]}' <<< '[{},true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"null"}]}' <<< '[{},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":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"null"}]}' <<< '[{},123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"null"}]}' <<< '[{},"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":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"null"}]}' <<< '[{},"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"null"}]}' <<< '[{},{}]'
[{},{}]
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"null"}]}' <<< '[{},[]]'
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":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"null"}]}' <<< '[{},[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"boolean"}]}' <<< '[{},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":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"boolean"}]}' <<< '[{},null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"boolean"}]}' <<< '[{},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":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"boolean"}]}' <<< '[{},false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"boolean"}]}' <<< '[{},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":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"boolean"}]}' <<< '[{},true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"boolean"}]}' <<< '[{},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":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"boolean"}]}' <<< '[{},123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"boolean"}]}' <<< '[{},"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":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"boolean"}]}' <<< '[{},"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"boolean"}]}' <<< '[{},{}]'
[{},{}]
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"boolean"}]}' <<< '[{},[]]'
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":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"boolean"}]}' <<< '[{},[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"number"}]}' <<< '[{},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":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"number"}]}' <<< '[{},null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"number"}]}' <<< '[{},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":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"number"}]}' <<< '[{},false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"number"}]}' <<< '[{},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":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"number"}]}' <<< '[{},true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"number"}]}' <<< '[{},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":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"number"}]}' <<< '[{},123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"number"}]}' <<< '[{},"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":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"number"}]}' <<< '[{},"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"number"}]}' <<< '[{},{}]'
[{},{}]
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"number"}]}' <<< '[{},[]]'
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":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"number"}]}' <<< '[{},[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"string"}]}' <<< '[{},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":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"string"}]}' <<< '[{},null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"string"}]}' <<< '[{},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":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"string"}]}' <<< '[{},false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"string"}]}' <<< '[{},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":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"string"}]}' <<< '[{},true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"string"}]}' <<< '[{},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":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"string"}]}' <<< '[{},123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"string"}]}' <<< '[{},"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":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"string"}]}' <<< '[{},"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"string"}]}' <<< '[{},{}]'
[{},{}]
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"string"}]}' <<< '[{},[]]'
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":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"string"}]}' <<< '[{},[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"array"}]}' <<< '[{},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":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"array"}]}' <<< '[{},null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"array"}]}' <<< '[{},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":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"array"}]}' <<< '[{},false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"array"}]}' <<< '[{},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":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"array"}]}' <<< '[{},true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"array"}]}' <<< '[{},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":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"array"}]}' <<< '[{},123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"array"}]}' <<< '[{},"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":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"array"}]}' <<< '[{},"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"array"}]}' <<< '[{},{}]'
[{},{}]
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"array"}]}' <<< '[{},[]]'
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":"list","args":[{"type":"array","args":"object"},{"type":"array","args":"array"}]}' <<< '[{},[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"type"}]}' <<< '[[],null]'
json: error: <text>:1:79: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"type"}]}' <<< '[[],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"type"}]}' <<< '[[],false]'
json: error: <text>:1:79: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"type"}]}' <<< '[[],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"type"}]}' <<< '[[],true]'
json: error: <text>:1:79: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"type"}]}' <<< '[[],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"type"}]}' <<< '[[],123]'
json: error: <text>:1:79: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"type"}]}' <<< '[[],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"type"}]}' <<< '[[],"foo"]'
json: error: <text>:1:79: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"type"}]}' <<< '[[],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"type"}]}' <<< '[[],{}]'
json: error: <text>:1:79: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"type"}]}' <<< '[[],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"type"}]}' <<< '[[],[]]'
json: error: <text>:1:79: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"type"}]}' <<< '[[],[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"null"}]}' <<< '[[],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":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"null"}]}' <<< '[[],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"null"}]}' <<< '[[],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":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"null"}]}' <<< '[[],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"null"}]}' <<< '[[],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":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"null"}]}' <<< '[[],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"null"}]}' <<< '[[],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":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"null"}]}' <<< '[[],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"null"}]}' <<< '[[],"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":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"null"}]}' <<< '[[],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"null"}]}' <<< '[[],{}]'
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":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"null"}]}' <<< '[[],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"null"}]}' <<< '[[],[]]'
[[],[]]
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"boolean"}]}' <<< '[[],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":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"boolean"}]}' <<< '[[],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"boolean"}]}' <<< '[[],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":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"boolean"}]}' <<< '[[],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"boolean"}]}' <<< '[[],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":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"boolean"}]}' <<< '[[],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"boolean"}]}' <<< '[[],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":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"boolean"}]}' <<< '[[],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"boolean"}]}' <<< '[[],"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":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"boolean"}]}' <<< '[[],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"boolean"}]}' <<< '[[],{}]'
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":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"boolean"}]}' <<< '[[],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"boolean"}]}' <<< '[[],[]]'
[[],[]]
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"number"}]}' <<< '[[],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":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"number"}]}' <<< '[[],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"number"}]}' <<< '[[],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":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"number"}]}' <<< '[[],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"number"}]}' <<< '[[],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":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"number"}]}' <<< '[[],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"number"}]}' <<< '[[],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":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"number"}]}' <<< '[[],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"number"}]}' <<< '[[],"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":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"number"}]}' <<< '[[],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"number"}]}' <<< '[[],{}]'
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":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"number"}]}' <<< '[[],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"number"}]}' <<< '[[],[]]'
[[],[]]
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"string"}]}' <<< '[[],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":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"string"}]}' <<< '[[],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"string"}]}' <<< '[[],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":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"string"}]}' <<< '[[],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"string"}]}' <<< '[[],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":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"string"}]}' <<< '[[],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"string"}]}' <<< '[[],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":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"string"}]}' <<< '[[],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"string"}]}' <<< '[[],"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":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"string"}]}' <<< '[[],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"string"}]}' <<< '[[],{}]'
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":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"string"}]}' <<< '[[],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"string"}]}' <<< '[[],[]]'
[[],[]]
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"object"}]}' <<< '[[],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":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"object"}]}' <<< '[[],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"object"}]}' <<< '[[],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":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"object"}]}' <<< '[[],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"object"}]}' <<< '[[],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":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"object"}]}' <<< '[[],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"object"}]}' <<< '[[],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":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"object"}]}' <<< '[[],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"object"}]}' <<< '[[],"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":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"object"}]}' <<< '[[],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"object"}]}' <<< '[[],{}]'
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":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"object"}]}' <<< '[[],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":"object"}]}' <<< '[[],[]]'
[[],[]]
$

--[ list-open-array-basic-open-array-plain-val-basic ]--------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for p in null false true 123 '"foo"'; do for v in null false true 123 456 '"foo"' '"bar"' '{}' '[]'; do T='{"type":"list","args":[{"type":"array","args":"'"$t"'"},{"type":"array","args":{"plain":'"$p"'}}]}'; c="json -d '$T' <<< '$v'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":null}}]}' <<< 'null'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":null}}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":null}}]}' <<< 'false'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":null}}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":null}}]}' <<< 'true'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":null}}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":null}}]}' <<< '123'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":null}}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":null}}]}' <<< '456'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":null}}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":null}}]}' <<< '"foo"'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":null}}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":null}}]}' <<< '"bar"'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":null}}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":null}}]}' <<< '{}'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":null}}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":null}}]}' <<< '[]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":null}}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":false}}]}' <<< 'null'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":false}}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":false}}]}' <<< 'false'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":false}}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":false}}]}' <<< 'true'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":false}}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":false}}]}' <<< '123'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":false}}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":false}}]}' <<< '456'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":false}}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":false}}]}' <<< '"foo"'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":false}}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":false}}]}' <<< '"bar"'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":false}}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":false}}]}' <<< '{}'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":false}}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":false}}]}' <<< '[]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":false}}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":true}}]}' <<< 'null'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":true}}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":true}}]}' <<< 'false'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":true}}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":true}}]}' <<< 'true'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":true}}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":true}}]}' <<< '123'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":true}}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":true}}]}' <<< '456'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":true}}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":true}}]}' <<< '"foo"'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":true}}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":true}}]}' <<< '"bar"'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":true}}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":true}}]}' <<< '{}'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":true}}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":true}}]}' <<< '[]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":true}}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":123}}]}' <<< 'null'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":123}}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":123}}]}' <<< 'false'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":123}}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":123}}]}' <<< 'true'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":123}}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":123}}]}' <<< '123'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":123}}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":123}}]}' <<< '456'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":123}}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":123}}]}' <<< '"foo"'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":123}}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":123}}]}' <<< '"bar"'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":123}}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":123}}]}' <<< '{}'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":123}}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":123}}]}' <<< '[]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":123}}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":"foo"}}]}' <<< 'null'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":"foo"}}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":"foo"}}]}' <<< 'false'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":"foo"}}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":"foo"}}]}' <<< 'true'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":"foo"}}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":"foo"}}]}' <<< '123'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":"foo"}}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":"foo"}}]}' <<< '456'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":"foo"}}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":"foo"}}]}' <<< '"foo"'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":"foo"}}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":"foo"}}]}' <<< '"bar"'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":"foo"}}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":"foo"}}]}' <<< '{}'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":"foo"}}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":null}}]}' <<< 'null'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":null}}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":null}}]}' <<< 'false'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":null}}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":null}}]}' <<< 'true'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":null}}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":null}}]}' <<< '123'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":null}}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":null}}]}' <<< '456'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":null}}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":null}}]}' <<< '"foo"'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":null}}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":null}}]}' <<< '"bar"'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":null}}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":null}}]}' <<< '{}'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":null}}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":null}}]}' <<< '[]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":null}}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":false}}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":false}}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":false}}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":false}}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":false}}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":false}}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":false}}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":false}}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":false}}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":false}}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":false}}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":false}}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":false}}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":false}}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":false}}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":false}}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":false}}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":false}}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":false}}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":false}}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":false}}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":false}}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":false}}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":false}}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":false}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":true}}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":true}}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":true}}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":true}}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":true}}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":true}}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":true}}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":true}}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":true}}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":true}}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":true}}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":true}}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":true}}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":true}}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":true}}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":true}}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":true}}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":true}}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":true}}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":true}}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":true}}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":true}}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":true}}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":true}}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":true}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":123}}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":123}}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":123}}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":123}}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":123}}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":123}}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":123}}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":123}}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":123}}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":123}}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":123}}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":123}}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":123}}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":123}}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":123}}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":123}}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":123}}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":123}}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":123}}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":123}}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":123}}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":123}}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":123}}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":123}}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":123}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":"foo"}}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":"foo"}}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":"foo"}}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":"foo"}}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":"foo"}}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":"foo"}}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":"foo"}}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":"foo"}}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":"foo"}}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":"foo"}}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":"foo"}}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":"foo"}}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":"foo"}}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":"foo"}}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":"foo"}}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":"foo"}}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":"foo"}}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":"foo"}}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":"foo"}}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":"foo"}}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":"foo"}}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":"foo"}}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":"foo"}}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":"foo"}}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":null}}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":null}}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":null}}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":null}}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":null}}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":null}}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":null}}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":null}}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":null}}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":null}}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":null}}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":null}}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":null}}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":null}}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":null}}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":null}}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":null}}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":null}}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":null}}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":null}}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":null}}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":null}}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":null}}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":null}}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":null}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":false}}]}' <<< 'null'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":false}}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":false}}]}' <<< 'false'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":false}}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":false}}]}' <<< 'true'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":false}}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":false}}]}' <<< '123'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":false}}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":false}}]}' <<< '456'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":false}}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":false}}]}' <<< '"foo"'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":false}}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":false}}]}' <<< '"bar"'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":false}}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":false}}]}' <<< '{}'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":false}}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":false}}]}' <<< '[]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":false}}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":true}}]}' <<< 'null'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":true}}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":true}}]}' <<< 'false'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":true}}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":true}}]}' <<< 'true'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":true}}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":true}}]}' <<< '123'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":true}}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":true}}]}' <<< '456'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":true}}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":true}}]}' <<< '"foo"'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":true}}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":true}}]}' <<< '"bar"'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":true}}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":true}}]}' <<< '{}'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":true}}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":true}}]}' <<< '[]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":true}}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":123}}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":123}}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":123}}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":123}}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":123}}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":123}}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":123}}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":123}}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":123}}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":123}}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":123}}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":123}}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":123}}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":123}}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":123}}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":123}}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":123}}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":123}}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":123}}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":123}}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":123}}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":123}}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":123}}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":123}}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":123}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":"foo"}}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":"foo"}}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":"foo"}}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":"foo"}}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":"foo"}}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":"foo"}}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":"foo"}}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":"foo"}}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":"foo"}}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":"foo"}}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":"foo"}}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":"foo"}}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":"foo"}}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":"foo"}}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":"foo"}}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":"foo"}}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":"foo"}}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":"foo"}}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":"foo"}}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":"foo"}}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":"foo"}}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":"foo"}}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":"foo"}}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":"foo"}}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":null}}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":null}}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":null}}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":null}}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":null}}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":null}}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":null}}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":null}}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":null}}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":null}}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":null}}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":null}}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":null}}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":null}}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":null}}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":null}}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":null}}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":null}}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":null}}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":null}}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":null}}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":null}}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":null}}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":null}}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":null}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":false}}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":false}}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":false}}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":false}}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":false}}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":false}}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":false}}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":false}}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":false}}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":false}}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":false}}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":false}}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":false}}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":false}}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":false}}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":false}}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":false}}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":false}}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":false}}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":false}}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":false}}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":false}}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":false}}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":false}}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":false}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":true}}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":true}}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":true}}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":true}}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":true}}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":true}}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":true}}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":true}}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":true}}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":true}}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":true}}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":true}}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":true}}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":true}}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":true}}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":true}}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":true}}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":true}}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":true}}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":true}}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":true}}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":true}}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":true}}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":true}}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":true}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":123}}]}' <<< 'null'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":123}}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":123}}]}' <<< 'false'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":123}}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":123}}]}' <<< 'true'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":123}}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":123}}]}' <<< '123'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":123}}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":123}}]}' <<< '456'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":123}}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":123}}]}' <<< '"foo"'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":123}}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":123}}]}' <<< '"bar"'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":123}}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":123}}]}' <<< '{}'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":123}}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":123}}]}' <<< '[]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":123}}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":"foo"}}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":"foo"}}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":"foo"}}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":"foo"}}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":"foo"}}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":"foo"}}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":"foo"}}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":"foo"}}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":"foo"}}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":"foo"}}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":"foo"}}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":"foo"}}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":"foo"}}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":"foo"}}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":"foo"}}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":"foo"}}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":"foo"}}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":"foo"}}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":"foo"}}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":"foo"}}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":"foo"}}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":"foo"}}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":"foo"}}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":"foo"}}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":null}}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":null}}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":null}}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":null}}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":null}}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":null}}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":null}}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":null}}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":null}}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":null}}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":null}}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":null}}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":null}}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":null}}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":null}}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":null}}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":null}}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":null}}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":null}}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":null}}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":null}}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":null}}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":null}}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":null}}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":null}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":false}}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":false}}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":false}}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":false}}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":false}}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":false}}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":false}}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":false}}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":false}}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":false}}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":false}}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":false}}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":false}}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":false}}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":false}}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":false}}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":false}}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":false}}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":false}}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":false}}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":false}}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":false}}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":false}}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":false}}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":false}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":true}}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":true}}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":true}}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":true}}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":true}}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":true}}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":true}}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":true}}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":true}}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":true}}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":true}}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":true}}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":true}}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":true}}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":true}}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":true}}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":true}}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":true}}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":true}}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":true}}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":true}}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":true}}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":true}}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":true}}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":true}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":123}}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":123}}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":123}}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":123}}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":123}}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":123}}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":123}}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":123}}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":123}}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":123}}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":123}}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":123}}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":123}}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":123}}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":123}}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":123}}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":123}}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":123}}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":123}}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":123}}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":123}}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":123}}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":123}}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":123}}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":123}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":"foo"}}]}' <<< 'null'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":"foo"}}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":"foo"}}]}' <<< 'false'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":"foo"}}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":"foo"}}]}' <<< 'true'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":"foo"}}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":"foo"}}]}' <<< '123'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":"foo"}}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":"foo"}}]}' <<< '456'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":"foo"}}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":"foo"}}]}' <<< '"foo"'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":"foo"}}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":"foo"}}]}' <<< '"bar"'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":"foo"}}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":"foo"}}]}' <<< '{}'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":"foo"}}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":null}}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":null}}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":null}}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":null}}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":null}}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":null}}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":null}}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":null}}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":null}}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":null}}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":null}}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":null}}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":null}}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":null}}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":null}}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":null}}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":null}}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":null}}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":null}}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":null}}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":null}}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":null}}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":null}}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":null}}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":null}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":false}}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":false}}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":false}}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":false}}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":false}}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":false}}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":false}}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":false}}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":false}}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":false}}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":false}}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":false}}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":false}}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":false}}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":false}}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":false}}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":false}}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":false}}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":false}}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":false}}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":false}}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":false}}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":false}}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":false}}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":false}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":true}}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":true}}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":true}}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":true}}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":true}}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":true}}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":true}}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":true}}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":true}}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":true}}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":true}}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":true}}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":true}}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":true}}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":true}}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":true}}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":true}}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":true}}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":true}}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":true}}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":true}}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":true}}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":true}}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":true}}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":true}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":123}}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":123}}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":123}}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":123}}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":123}}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":123}}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":123}}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":123}}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":123}}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":123}}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":123}}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":123}}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":123}}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":123}}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":123}}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":123}}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":123}}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":123}}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":123}}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":123}}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":123}}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":123}}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":123}}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":123}}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":123}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":"foo"}}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":"foo"}}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":"foo"}}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":"foo"}}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":"foo"}}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":"foo"}}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":"foo"}}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":"foo"}}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":"foo"}}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":"foo"}}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":"foo"}}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":"foo"}}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":"foo"}}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":"foo"}}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":"foo"}}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":"foo"}}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":"foo"}}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":"foo"}}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":"foo"}}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":"foo"}}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":"foo"}}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":"foo"}}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":"foo"}}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":"foo"}}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":null}}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":null}}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":null}}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":null}}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":null}}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":null}}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":null}}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":null}}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":null}}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":null}}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":null}}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":null}}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":null}}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":null}}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":null}}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":null}}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":null}}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":null}}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":null}}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":null}}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":null}}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":null}}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":null}}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":null}}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":null}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":false}}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":false}}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":false}}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":false}}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":false}}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":false}}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":false}}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":false}}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":false}}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":false}}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":false}}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":false}}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":false}}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":false}}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":false}}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":false}}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":false}}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":false}}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":false}}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":false}}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":false}}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":false}}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":false}}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":false}}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":false}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":true}}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":true}}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":true}}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":true}}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":true}}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":true}}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":true}}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":true}}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":true}}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":true}}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":true}}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":true}}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":true}}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":true}}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":true}}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":true}}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":true}}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":true}}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":true}}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":true}}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":true}}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":true}}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":true}}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":true}}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":true}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":123}}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":123}}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":123}}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":123}}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":123}}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":123}}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":123}}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":123}}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":123}}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":123}}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":123}}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":123}}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":123}}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":123}}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":123}}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":123}}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":123}}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":123}}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":123}}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":123}}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":123}}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":123}}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":123}}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":123}}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":123}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":"foo"}}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":"foo"}}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":"foo"}}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":"foo"}}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":"foo"}}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":"foo"}}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":"foo"}}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":"foo"}}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":"foo"}}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":"foo"}}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":"foo"}}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":"foo"}}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":"foo"}}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":"foo"}}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":"foo"}}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":"foo"}}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":"foo"}}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":"foo"}}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":"foo"}}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":"foo"}}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":"foo"}}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":"foo"}}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":"foo"}}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":"foo"}}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[]'
[]
$

--[ list-open-array-basic-open-array-plain-val-array-empty ]--------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for p in null false true 123 '"foo"'; do T='{"type":"list","args":[{"type":"array","args":"'"$t"'"},{"type":"array","args":{"plain":'"$p"'}}]}'; c="json -d '$T' <<< '[]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":null}}]}' <<< '[]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":null}}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":false}}]}' <<< '[]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":false}}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":true}}]}' <<< '[]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":true}}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":123}}]}' <<< '[]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":123}}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":null}}]}' <<< '[]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":null}}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":false}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":true}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":123}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":null}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":false}}]}' <<< '[]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":false}}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":true}}]}' <<< '[]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":true}}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":123}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":null}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":false}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":true}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":123}}]}' <<< '[]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":123}}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":null}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":false}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":true}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":123}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":null}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":false}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":true}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":123}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":null}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":false}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":true}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":123}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[]'
[]
$

--[ list-open-array-basic-open-array-plain-val-array-basic ]--------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for p in null false true 123 '"foo"'; do for v in null false true 123 '"foo"' '{}' '[]'; do T='{"type":"list","args":[{"type":"array","args":"'"$t"'"},{"type":"array","args":{"plain":'"$p"'}}]}'; c="json -d '$T' <<< '[$v]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":null}}]}' <<< '[null]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":null}}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":null}}]}' <<< '[false]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":null}}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":null}}]}' <<< '[true]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":null}}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":null}}]}' <<< '[123]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":null}}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":null}}]}' <<< '["foo"]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":null}}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":null}}]}' <<< '[{}]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":null}}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":null}}]}' <<< '[[]]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":null}}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":false}}]}' <<< '[null]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":false}}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":false}}]}' <<< '[false]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":false}}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":false}}]}' <<< '[true]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":false}}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":false}}]}' <<< '[123]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":false}}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":false}}]}' <<< '["foo"]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":false}}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":false}}]}' <<< '[{}]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":false}}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":false}}]}' <<< '[[]]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":false}}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":true}}]}' <<< '[null]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":true}}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":true}}]}' <<< '[false]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":true}}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":true}}]}' <<< '[true]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":true}}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":true}}]}' <<< '[123]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":true}}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":true}}]}' <<< '["foo"]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":true}}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":true}}]}' <<< '[{}]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":true}}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":true}}]}' <<< '[[]]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":true}}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":123}}]}' <<< '[null]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":123}}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":123}}]}' <<< '[false]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":123}}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":123}}]}' <<< '[true]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":123}}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":123}}]}' <<< '[123]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":123}}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":123}}]}' <<< '["foo"]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":123}}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":123}}]}' <<< '[{}]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":123}}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":123}}]}' <<< '[[]]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":123}}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[null]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[false]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[true]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[123]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":"foo"}}]}' <<< '["foo"]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":"foo"}}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[{}]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[[]]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":null}}]}' <<< '[null]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":null}}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":null}}]}' <<< '[false]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":null}}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":null}}]}' <<< '[true]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":null}}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":null}}]}' <<< '[123]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":null}}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":null}}]}' <<< '["foo"]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":null}}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":null}}]}' <<< '[{}]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":null}}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":null}}]}' <<< '[[]]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":null}}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":false}}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":false}}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":false}}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `{"plain":false}' or, otherwise, no value at all
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":false}}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":false}}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `{"plain":false}' or, otherwise, no value at all
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":false}}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":false}}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `{"plain":false}' or, otherwise, no value at all
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":false}}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":false}}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `{"plain":false}' or, otherwise, no value at all
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":false}}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":false}}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `{"plain":false}' or, otherwise, no value at all
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":false}}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":true}}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":true}}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `{"plain":true}' or, otherwise, no value at all
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":true}}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":true}}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":true}}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `{"plain":true}' or, otherwise, no value at all
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":true}}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":true}}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `{"plain":true}' or, otherwise, no value at all
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":true}}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":true}}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `{"plain":true}' or, otherwise, no value at all
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":true}}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":true}}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `{"plain":true}' or, otherwise, no value at all
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":true}}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":123}}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":123}}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `{"plain":123}' or, otherwise, no value at all
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":123}}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":123}}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `{"plain":123}' or, otherwise, no value at all
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":123}}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":123}}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":123}}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `{"plain":123}' or, otherwise, no value at all
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":123}}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":123}}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `{"plain":123}' or, otherwise, no value at all
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":123}}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":123}}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `{"plain":123}' or, otherwise, no value at all
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":123}}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `{"plain":"foo"}' or, otherwise, no value at all
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `{"plain":"foo"}' or, otherwise, no value at all
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `{"plain":"foo"}' or, otherwise, no value at all
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":"foo"}}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `{"plain":"foo"}' or, otherwise, no value at all
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `{"plain":"foo"}' or, otherwise, no value at all
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":null}}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":null}}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":null}}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":null}}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `{"plain":null}' or, otherwise, no value at all
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":null}}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":null}}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `{"plain":null}' or, otherwise, no value at all
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":null}}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":null}}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `{"plain":null}' or, otherwise, no value at all
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":null}}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":null}}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `{"plain":null}' or, otherwise, no value at all
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":null}}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":false}}]}' <<< '[null]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":false}}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":false}}]}' <<< '[false]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":false}}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":false}}]}' <<< '[true]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":false}}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":false}}]}' <<< '[123]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":false}}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":false}}]}' <<< '["foo"]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":false}}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":false}}]}' <<< '[{}]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":false}}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":false}}]}' <<< '[[]]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":false}}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":true}}]}' <<< '[null]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":true}}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":true}}]}' <<< '[false]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":true}}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":true}}]}' <<< '[true]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":true}}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":true}}]}' <<< '[123]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":true}}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":true}}]}' <<< '["foo"]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":true}}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":true}}]}' <<< '[{}]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":true}}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":true}}]}' <<< '[[]]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":true}}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":123}}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `{"plain":123}' or, otherwise, no value at all
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":123}}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":123}}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":123}}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":123}}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":123}}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `{"plain":123}' or, otherwise, no value at all
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":123}}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":123}}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `{"plain":123}' or, otherwise, no value at all
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":123}}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":123}}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `{"plain":123}' or, otherwise, no value at all
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":123}}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `{"plain":"foo"}' or, otherwise, no value at all
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `{"plain":"foo"}' or, otherwise, no value at all
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":"foo"}}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `{"plain":"foo"}' or, otherwise, no value at all
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `{"plain":"foo"}' or, otherwise, no value at all
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":null}}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":null}}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `{"plain":null}' or, otherwise, no value at all
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":null}}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":null}}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `{"plain":null}' or, otherwise, no value at all
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":null}}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":null}}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":null}}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `{"plain":null}' or, otherwise, no value at all
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":null}}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":null}}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `{"plain":null}' or, otherwise, no value at all
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":null}}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":null}}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `{"plain":null}' or, otherwise, no value at all
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":null}}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":false}}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `{"plain":false}' or, otherwise, no value at all
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":false}}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":false}}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":false}}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `{"plain":false}' or, otherwise, no value at all
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":false}}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":false}}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":false}}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `{"plain":false}' or, otherwise, no value at all
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":false}}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":false}}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `{"plain":false}' or, otherwise, no value at all
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":false}}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":false}}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `{"plain":false}' or, otherwise, no value at all
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":false}}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":true}}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `{"plain":true}' or, otherwise, no value at all
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":true}}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":true}}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `{"plain":true}' or, otherwise, no value at all
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":true}}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":true}}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":true}}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":true}}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `{"plain":true}' or, otherwise, no value at all
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":true}}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":true}}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `{"plain":true}' or, otherwise, no value at all
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":true}}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":true}}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `{"plain":true}' or, otherwise, no value at all
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":true}}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":123}}]}' <<< '[null]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":123}}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":123}}]}' <<< '[false]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":123}}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":123}}]}' <<< '[true]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":123}}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":123}}]}' <<< '[123]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":123}}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":123}}]}' <<< '["foo"]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":123}}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":123}}]}' <<< '[{}]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":123}}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":123}}]}' <<< '[[]]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":123}}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `{"plain":"foo"}' or, otherwise, no value at all
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `{"plain":"foo"}' or, otherwise, no value at all
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `{"plain":"foo"}' or, otherwise, no value at all
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":"foo"}}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `{"plain":"foo"}' or, otherwise, no value at all
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `{"plain":"foo"}' or, otherwise, no value at all
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":null}}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":null}}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `{"plain":null}' or, otherwise, no value at all
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":null}}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":null}}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `{"plain":null}' or, otherwise, no value at all
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":null}}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":null}}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `{"plain":null}' or, otherwise, no value at all
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":null}}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":null}}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":null}}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `{"plain":null}' or, otherwise, no value at all
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":null}}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":null}}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `{"plain":null}' or, otherwise, no value at all
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":null}}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":false}}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `{"plain":false}' or, otherwise, no value at all
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":false}}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":false}}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":false}}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `{"plain":false}' or, otherwise, no value at all
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":false}}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":false}}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `{"plain":false}' or, otherwise, no value at all
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":false}}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":false}}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":false}}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `{"plain":false}' or, otherwise, no value at all
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":false}}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":false}}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `{"plain":false}' or, otherwise, no value at all
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":false}}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":true}}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `{"plain":true}' or, otherwise, no value at all
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":true}}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":true}}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `{"plain":true}' or, otherwise, no value at all
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":true}}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":true}}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":true}}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `{"plain":true}' or, otherwise, no value at all
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":true}}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":true}}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":true}}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `{"plain":true}' or, otherwise, no value at all
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":true}}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":true}}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `{"plain":true}' or, otherwise, no value at all
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":true}}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":123}}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `{"plain":123}' or, otherwise, no value at all
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":123}}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":123}}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `{"plain":123}' or, otherwise, no value at all
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":123}}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":123}}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `{"plain":123}' or, otherwise, no value at all
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":123}}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":123}}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":123}}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":123}}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `{"plain":123}' or, otherwise, no value at all
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":123}}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":123}}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `{"plain":123}' or, otherwise, no value at all
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":123}}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[null]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[false]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[true]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[123]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":"foo"}}]}' <<< '["foo"]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":"foo"}}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[{}]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[[]]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":null}}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":null}}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `{"plain":null}' or, otherwise, no value at all
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":null}}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":null}}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `{"plain":null}' or, otherwise, no value at all
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":null}}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":null}}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `{"plain":null}' or, otherwise, no value at all
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":null}}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":null}}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `{"plain":null}' or, otherwise, no value at all
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":null}}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":null}}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":null}}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `{"plain":null}' or, otherwise, no value at all
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":null}}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":false}}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `{"plain":false}' or, otherwise, no value at all
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":false}}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":false}}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":false}}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `{"plain":false}' or, otherwise, no value at all
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":false}}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":false}}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `{"plain":false}' or, otherwise, no value at all
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":false}}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":false}}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `{"plain":false}' or, otherwise, no value at all
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":false}}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":false}}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":false}}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `{"plain":false}' or, otherwise, no value at all
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":false}}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":true}}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `{"plain":true}' or, otherwise, no value at all
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":true}}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":true}}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `{"plain":true}' or, otherwise, no value at all
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":true}}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":true}}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":true}}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `{"plain":true}' or, otherwise, no value at all
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":true}}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":true}}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `{"plain":true}' or, otherwise, no value at all
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":true}}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":true}}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":true}}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `{"plain":true}' or, otherwise, no value at all
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":true}}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":123}}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `{"plain":123}' or, otherwise, no value at all
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":123}}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":123}}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `{"plain":123}' or, otherwise, no value at all
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":123}}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":123}}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `{"plain":123}' or, otherwise, no value at all
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":123}}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":123}}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":123}}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `{"plain":123}' or, otherwise, no value at all
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":123}}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":123}}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":123}}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `{"plain":123}' or, otherwise, no value at all
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":123}}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `{"plain":"foo"}' or, otherwise, no value at all
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `{"plain":"foo"}' or, otherwise, no value at all
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `{"plain":"foo"}' or, otherwise, no value at all
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `{"plain":"foo"}' or, otherwise, no value at all
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":"foo"}}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `{"plain":"foo"}' or, otherwise, no value at all
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":null}}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":null}}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"' or `{"plain":null}' or, otherwise, no value at all
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":null}}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":null}}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"' or `{"plain":null}' or, otherwise, no value at all
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":null}}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":null}}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"' or `{"plain":null}' or, otherwise, no value at all
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":null}}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":null}}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"' or `{"plain":null}' or, otherwise, no value at all
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":null}}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":null}}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"' or `{"plain":null}' or, otherwise, no value at all
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":null}}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":null}}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":false}}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"' or `{"plain":false}' or, otherwise, no value at all
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":false}}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":false}}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":false}}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"' or `{"plain":false}' or, otherwise, no value at all
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":false}}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":false}}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"' or `{"plain":false}' or, otherwise, no value at all
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":false}}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":false}}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"' or `{"plain":false}' or, otherwise, no value at all
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":false}}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":false}}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"' or `{"plain":false}' or, otherwise, no value at all
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":false}}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":false}}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":true}}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"' or `{"plain":true}' or, otherwise, no value at all
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":true}}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":true}}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"' or `{"plain":true}' or, otherwise, no value at all
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":true}}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":true}}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":true}}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"' or `{"plain":true}' or, otherwise, no value at all
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":true}}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":true}}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"' or `{"plain":true}' or, otherwise, no value at all
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":true}}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":true}}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"' or `{"plain":true}' or, otherwise, no value at all
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":true}}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":true}}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":123}}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"' or `{"plain":123}' or, otherwise, no value at all
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":123}}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":123}}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"' or `{"plain":123}' or, otherwise, no value at all
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":123}}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":123}}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"' or `{"plain":123}' or, otherwise, no value at all
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":123}}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":123}}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":123}}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"' or `{"plain":123}' or, otherwise, no value at all
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":123}}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":123}}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"' or `{"plain":123}' or, otherwise, no value at all
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":123}}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":123}}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"' or `{"plain":"foo"}' or, otherwise, no value at all
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"' or `{"plain":"foo"}' or, otherwise, no value at all
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"' or `{"plain":"foo"}' or, otherwise, no value at all
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"' or `{"plain":"foo"}' or, otherwise, no value at all
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":"foo"}}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"' or `{"plain":"foo"}' or, otherwise, no value at all
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[[]]'
[[]]
$

--[ list-open-array-basic-open-array-plain-val-array-basic-basic ]--------------

#
# # 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 p in null false true 123 '"foo"'; do for v in null false true 123 456 '"foo"' '"bar"' '{}' '[]'; do T='{"type":"list","args":[{"type":"array","args":"'"$t"'"},{"type":"array","args":{"plain":'"$p"'}}]}'; c="json -d '$T' <<< '[$v0,$v]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":null}}]}' <<< '[[{}],null]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":null}}]}' <<< '[[{}],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":null}}]}' <<< '[[{}],false]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":null}}]}' <<< '[[{}],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":null}}]}' <<< '[[{}],true]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":null}}]}' <<< '[[{}],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":null}}]}' <<< '[[{}],123]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":null}}]}' <<< '[[{}],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":null}}]}' <<< '[[{}],456]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":null}}]}' <<< '[[{}],456]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":null}}]}' <<< '[[{}],"foo"]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":null}}]}' <<< '[[{}],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":null}}]}' <<< '[[{}],"bar"]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":null}}]}' <<< '[[{}],"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":null}}]}' <<< '[[{}],{}]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":null}}]}' <<< '[[{}],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":null}}]}' <<< '[[{}],[]]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":null}}]}' <<< '[[{}],[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":false}}]}' <<< '[[{}],null]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":false}}]}' <<< '[[{}],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":false}}]}' <<< '[[{}],false]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":false}}]}' <<< '[[{}],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":false}}]}' <<< '[[{}],true]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":false}}]}' <<< '[[{}],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":false}}]}' <<< '[[{}],123]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":false}}]}' <<< '[[{}],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":false}}]}' <<< '[[{}],456]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":false}}]}' <<< '[[{}],456]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":false}}]}' <<< '[[{}],"foo"]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":false}}]}' <<< '[[{}],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":false}}]}' <<< '[[{}],"bar"]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":false}}]}' <<< '[[{}],"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":false}}]}' <<< '[[{}],{}]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":false}}]}' <<< '[[{}],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":false}}]}' <<< '[[{}],[]]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":false}}]}' <<< '[[{}],[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":true}}]}' <<< '[[{}],null]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":true}}]}' <<< '[[{}],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":true}}]}' <<< '[[{}],false]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":true}}]}' <<< '[[{}],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":true}}]}' <<< '[[{}],true]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":true}}]}' <<< '[[{}],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":true}}]}' <<< '[[{}],123]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":true}}]}' <<< '[[{}],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":true}}]}' <<< '[[{}],456]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":true}}]}' <<< '[[{}],456]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":true}}]}' <<< '[[{}],"foo"]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":true}}]}' <<< '[[{}],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":true}}]}' <<< '[[{}],"bar"]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":true}}]}' <<< '[[{}],"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":true}}]}' <<< '[[{}],{}]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":true}}]}' <<< '[[{}],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":true}}]}' <<< '[[{}],[]]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":true}}]}' <<< '[[{}],[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":123}}]}' <<< '[[{}],null]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":123}}]}' <<< '[[{}],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":123}}]}' <<< '[[{}],false]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":123}}]}' <<< '[[{}],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":123}}]}' <<< '[[{}],true]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":123}}]}' <<< '[[{}],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":123}}]}' <<< '[[{}],123]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":123}}]}' <<< '[[{}],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":123}}]}' <<< '[[{}],456]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":123}}]}' <<< '[[{}],456]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":123}}]}' <<< '[[{}],"foo"]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":123}}]}' <<< '[[{}],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":123}}]}' <<< '[[{}],"bar"]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":123}}]}' <<< '[[{}],"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":123}}]}' <<< '[[{}],{}]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":123}}]}' <<< '[[{}],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":123}}]}' <<< '[[{}],[]]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":123}}]}' <<< '[[{}],[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[[{}],null]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[[{}],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[[{}],false]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[[{}],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[[{}],true]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[[{}],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[[{}],123]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[[{}],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[[{}],456]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[[{}],456]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[[{}],"foo"]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[[{}],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[[{}],"bar"]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[[{}],"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[[{}],{}]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[[{}],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[[{}],[]]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"type"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[[{}],[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":null}}]}' <<< '[null,null]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":null}}]}' <<< '[null,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":null}}]}' <<< '[null,false]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":null}}]}' <<< '[null,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":null}}]}' <<< '[null,true]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":null}}]}' <<< '[null,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":null}}]}' <<< '[null,123]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":null}}]}' <<< '[null,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":null}}]}' <<< '[null,456]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":null}}]}' <<< '[null,456]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":null}}]}' <<< '[null,"foo"]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":null}}]}' <<< '[null,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":null}}]}' <<< '[null,"bar"]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":null}}]}' <<< '[null,"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":null}}]}' <<< '[null,{}]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":null}}]}' <<< '[null,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":null}}]}' <<< '[null,[]]'
json: error: <text>:1:78: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":null}}]}' <<< '[null,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":false}}]}' <<< '[null,null]'
[null,null]
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":false}}]}' <<< '[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":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":false}}]}' <<< '[null,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":false}}]}' <<< '[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":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":false}}]}' <<< '[null,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":false}}]}' <<< '[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":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":false}}]}' <<< '[null,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":false}}]}' <<< '[null,456]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:7: [null,456]
json: error: <stdin>:1:7:       ^
[null,
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":false}}]}' <<< '[null,456]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":false}}]}' <<< '[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":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":false}}]}' <<< '[null,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":false}}]}' <<< '[null,"bar"]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:7: [null,"bar"]
json: error: <stdin>:1:7:       ^
[null,
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":false}}]}' <<< '[null,"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":false}}]}' <<< '[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":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":false}}]}' <<< '[null,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":false}}]}' <<< '[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":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":false}}]}' <<< '[null,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":true}}]}' <<< '[null,null]'
[null,null]
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":true}}]}' <<< '[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":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":true}}]}' <<< '[null,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":true}}]}' <<< '[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":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":true}}]}' <<< '[null,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":true}}]}' <<< '[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":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":true}}]}' <<< '[null,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":true}}]}' <<< '[null,456]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:7: [null,456]
json: error: <stdin>:1:7:       ^
[null,
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":true}}]}' <<< '[null,456]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":true}}]}' <<< '[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":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":true}}]}' <<< '[null,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":true}}]}' <<< '[null,"bar"]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:7: [null,"bar"]
json: error: <stdin>:1:7:       ^
[null,
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":true}}]}' <<< '[null,"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":true}}]}' <<< '[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":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":true}}]}' <<< '[null,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":true}}]}' <<< '[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":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":true}}]}' <<< '[null,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":123}}]}' <<< '[null,null]'
[null,null]
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":123}}]}' <<< '[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":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":123}}]}' <<< '[null,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":123}}]}' <<< '[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":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":123}}]}' <<< '[null,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":123}}]}' <<< '[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":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":123}}]}' <<< '[null,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":123}}]}' <<< '[null,456]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:7: [null,456]
json: error: <stdin>:1:7:       ^
[null,
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":123}}]}' <<< '[null,456]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":123}}]}' <<< '[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":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":123}}]}' <<< '[null,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":123}}]}' <<< '[null,"bar"]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:7: [null,"bar"]
json: error: <stdin>:1:7:       ^
[null,
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":123}}]}' <<< '[null,"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":123}}]}' <<< '[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":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":123}}]}' <<< '[null,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":123}}]}' <<< '[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":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":123}}]}' <<< '[null,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[null,null]'
[null,null]
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[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":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[null,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[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":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[null,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[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":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[null,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[null,456]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:7: [null,456]
json: error: <stdin>:1:7:       ^
[null,
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[null,456]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[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":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[null,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[null,"bar"]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:7: [null,"bar"]
json: error: <stdin>:1:7:       ^
[null,
command failed: json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[null,"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[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":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[null,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[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":"list","args":[{"type":"array","args":"null"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[null,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":null}}]}' <<< '[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":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":null}}]}' <<< '[false,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":null}}]}' <<< '[false,false]'
[false,false]
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":null}}]}' <<< '[false,true]'
[false,true]
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":null}}]}' <<< '[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":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":null}}]}' <<< '[false,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":null}}]}' <<< '[false,456]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: [false,456]
json: error: <stdin>:1:8:        ^
[false,
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":null}}]}' <<< '[false,456]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":null}}]}' <<< '[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":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":null}}]}' <<< '[false,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":null}}]}' <<< '[false,"bar"]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: [false,"bar"]
json: error: <stdin>:1:8:        ^
[false,
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":null}}]}' <<< '[false,"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":null}}]}' <<< '[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":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":null}}]}' <<< '[false,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":null}}]}' <<< '[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":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":null}}]}' <<< '[false,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":false}}]}' <<< '[false,null]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":false}}]}' <<< '[false,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":false}}]}' <<< '[false,false]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":false}}]}' <<< '[false,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":false}}]}' <<< '[false,true]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":false}}]}' <<< '[false,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":false}}]}' <<< '[false,123]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":false}}]}' <<< '[false,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":false}}]}' <<< '[false,456]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":false}}]}' <<< '[false,456]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":false}}]}' <<< '[false,"foo"]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":false}}]}' <<< '[false,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":false}}]}' <<< '[false,"bar"]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":false}}]}' <<< '[false,"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":false}}]}' <<< '[false,{}]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":false}}]}' <<< '[false,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":false}}]}' <<< '[false,[]]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":false}}]}' <<< '[false,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":true}}]}' <<< '[false,null]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":true}}]}' <<< '[false,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":true}}]}' <<< '[false,false]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":true}}]}' <<< '[false,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":true}}]}' <<< '[false,true]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":true}}]}' <<< '[false,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":true}}]}' <<< '[false,123]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":true}}]}' <<< '[false,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":true}}]}' <<< '[false,456]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":true}}]}' <<< '[false,456]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":true}}]}' <<< '[false,"foo"]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":true}}]}' <<< '[false,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":true}}]}' <<< '[false,"bar"]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":true}}]}' <<< '[false,"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":true}}]}' <<< '[false,{}]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":true}}]}' <<< '[false,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":true}}]}' <<< '[false,[]]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":true}}]}' <<< '[false,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":123}}]}' <<< '[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":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":123}}]}' <<< '[false,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":123}}]}' <<< '[false,false]'
[false,false]
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":123}}]}' <<< '[false,true]'
[false,true]
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":123}}]}' <<< '[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":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":123}}]}' <<< '[false,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":123}}]}' <<< '[false,456]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: [false,456]
json: error: <stdin>:1:8:        ^
[false,
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":123}}]}' <<< '[false,456]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":123}}]}' <<< '[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":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":123}}]}' <<< '[false,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":123}}]}' <<< '[false,"bar"]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: [false,"bar"]
json: error: <stdin>:1:8:        ^
[false,
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":123}}]}' <<< '[false,"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":123}}]}' <<< '[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":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":123}}]}' <<< '[false,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":123}}]}' <<< '[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":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":123}}]}' <<< '[false,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[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":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[false,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[false,false]'
[false,false]
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[false,true]'
[false,true]
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[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":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[false,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[false,456]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: [false,456]
json: error: <stdin>:1:8:        ^
[false,
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[false,456]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[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":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[false,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[false,"bar"]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: [false,"bar"]
json: error: <stdin>:1:8:        ^
[false,
command failed: json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[false,"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[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":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[false,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[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":"list","args":[{"type":"array","args":"boolean"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[false,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":null}}]}' <<< '[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":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":null}}]}' <<< '[456,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":null}}]}' <<< '[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":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":null}}]}' <<< '[456,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":null}}]}' <<< '[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":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":null}}]}' <<< '[456,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":null}}]}' <<< '[456,123]'
[456,123]
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":null}}]}' <<< '[456,456]'
[456,456]
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":null}}]}' <<< '[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":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":null}}]}' <<< '[456,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":null}}]}' <<< '[456,"bar"]'
json: error: <stdin>:1:6: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:6: [456,"bar"]
json: error: <stdin>:1:6:      ^
[456,
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":null}}]}' <<< '[456,"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":null}}]}' <<< '[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":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":null}}]}' <<< '[456,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":null}}]}' <<< '[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":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":null}}]}' <<< '[456,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":false}}]}' <<< '[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":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":false}}]}' <<< '[456,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":false}}]}' <<< '[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":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":false}}]}' <<< '[456,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":false}}]}' <<< '[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":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":false}}]}' <<< '[456,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":false}}]}' <<< '[456,123]'
[456,123]
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":false}}]}' <<< '[456,456]'
[456,456]
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":false}}]}' <<< '[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":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":false}}]}' <<< '[456,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":false}}]}' <<< '[456,"bar"]'
json: error: <stdin>:1:6: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:6: [456,"bar"]
json: error: <stdin>:1:6:      ^
[456,
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":false}}]}' <<< '[456,"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":false}}]}' <<< '[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":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":false}}]}' <<< '[456,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":false}}]}' <<< '[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":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":false}}]}' <<< '[456,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":true}}]}' <<< '[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":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":true}}]}' <<< '[456,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":true}}]}' <<< '[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":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":true}}]}' <<< '[456,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":true}}]}' <<< '[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":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":true}}]}' <<< '[456,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":true}}]}' <<< '[456,123]'
[456,123]
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":true}}]}' <<< '[456,456]'
[456,456]
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":true}}]}' <<< '[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":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":true}}]}' <<< '[456,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":true}}]}' <<< '[456,"bar"]'
json: error: <stdin>:1:6: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:6: [456,"bar"]
json: error: <stdin>:1:6:      ^
[456,
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":true}}]}' <<< '[456,"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":true}}]}' <<< '[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":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":true}}]}' <<< '[456,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":true}}]}' <<< '[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":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":true}}]}' <<< '[456,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":123}}]}' <<< '[456,null]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":123}}]}' <<< '[456,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":123}}]}' <<< '[456,false]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":123}}]}' <<< '[456,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":123}}]}' <<< '[456,true]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":123}}]}' <<< '[456,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":123}}]}' <<< '[456,123]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":123}}]}' <<< '[456,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":123}}]}' <<< '[456,456]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":123}}]}' <<< '[456,456]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":123}}]}' <<< '[456,"foo"]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":123}}]}' <<< '[456,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":123}}]}' <<< '[456,"bar"]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":123}}]}' <<< '[456,"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":123}}]}' <<< '[456,{}]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":123}}]}' <<< '[456,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":123}}]}' <<< '[456,[]]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":123}}]}' <<< '[456,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[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":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[456,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[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":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[456,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[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":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[456,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[456,123]'
[456,123]
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[456,456]'
[456,456]
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[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":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[456,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[456,"bar"]'
json: error: <stdin>:1:6: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:6: [456,"bar"]
json: error: <stdin>:1:6:      ^
[456,
command failed: json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[456,"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[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":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[456,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[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":"list","args":[{"type":"array","args":"number"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[456,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":null}}]}' <<< '["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":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":null}}]}' <<< '["bar",null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":null}}]}' <<< '["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":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":null}}]}' <<< '["bar",false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":null}}]}' <<< '["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":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":null}}]}' <<< '["bar",true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":null}}]}' <<< '["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":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":null}}]}' <<< '["bar",123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":null}}]}' <<< '["bar",456]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: ["bar",456]
json: error: <stdin>:1:8:        ^
["bar",
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":null}}]}' <<< '["bar",456]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":null}}]}' <<< '["bar","foo"]'
["bar","foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":null}}]}' <<< '["bar","bar"]'
["bar","bar"]
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":null}}]}' <<< '["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":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":null}}]}' <<< '["bar",{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":null}}]}' <<< '["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":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":null}}]}' <<< '["bar",[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":false}}]}' <<< '["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":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":false}}]}' <<< '["bar",null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":false}}]}' <<< '["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":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":false}}]}' <<< '["bar",false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":false}}]}' <<< '["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":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":false}}]}' <<< '["bar",true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":false}}]}' <<< '["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":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":false}}]}' <<< '["bar",123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":false}}]}' <<< '["bar",456]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: ["bar",456]
json: error: <stdin>:1:8:        ^
["bar",
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":false}}]}' <<< '["bar",456]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":false}}]}' <<< '["bar","foo"]'
["bar","foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":false}}]}' <<< '["bar","bar"]'
["bar","bar"]
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":false}}]}' <<< '["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":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":false}}]}' <<< '["bar",{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":false}}]}' <<< '["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":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":false}}]}' <<< '["bar",[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":true}}]}' <<< '["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":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":true}}]}' <<< '["bar",null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":true}}]}' <<< '["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":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":true}}]}' <<< '["bar",false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":true}}]}' <<< '["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":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":true}}]}' <<< '["bar",true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":true}}]}' <<< '["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":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":true}}]}' <<< '["bar",123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":true}}]}' <<< '["bar",456]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: ["bar",456]
json: error: <stdin>:1:8:        ^
["bar",
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":true}}]}' <<< '["bar",456]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":true}}]}' <<< '["bar","foo"]'
["bar","foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":true}}]}' <<< '["bar","bar"]'
["bar","bar"]
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":true}}]}' <<< '["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":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":true}}]}' <<< '["bar",{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":true}}]}' <<< '["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":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":true}}]}' <<< '["bar",[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":123}}]}' <<< '["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":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":123}}]}' <<< '["bar",null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":123}}]}' <<< '["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":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":123}}]}' <<< '["bar",false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":123}}]}' <<< '["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":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":123}}]}' <<< '["bar",true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":123}}]}' <<< '["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":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":123}}]}' <<< '["bar",123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":123}}]}' <<< '["bar",456]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: ["bar",456]
json: error: <stdin>:1:8:        ^
["bar",
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":123}}]}' <<< '["bar",456]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":123}}]}' <<< '["bar","foo"]'
["bar","foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":123}}]}' <<< '["bar","bar"]'
["bar","bar"]
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":123}}]}' <<< '["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":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":123}}]}' <<< '["bar",{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":123}}]}' <<< '["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":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":123}}]}' <<< '["bar",[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":"foo"}}]}' <<< '["bar",null]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":"foo"}}]}' <<< '["bar",null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":"foo"}}]}' <<< '["bar",false]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":"foo"}}]}' <<< '["bar",false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":"foo"}}]}' <<< '["bar",true]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":"foo"}}]}' <<< '["bar",true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":"foo"}}]}' <<< '["bar",123]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":"foo"}}]}' <<< '["bar",123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":"foo"}}]}' <<< '["bar",456]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":"foo"}}]}' <<< '["bar",456]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":"foo"}}]}' <<< '["bar","foo"]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":"foo"}}]}' <<< '["bar","foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":"foo"}}]}' <<< '["bar","bar"]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":"foo"}}]}' <<< '["bar","bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":"foo"}}]}' <<< '["bar",{}]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":"foo"}}]}' <<< '["bar",{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":"foo"}}]}' <<< '["bar",[]]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:47)
command failed: json -d '{"type":"list","args":[{"type":"array","args":"string"},{"type":"array","args":{"plain":"foo"}}]}' <<< '["bar",[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":null}}]}' <<< '[{},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":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":null}}]}' <<< '[{},null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":null}}]}' <<< '[{},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":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":null}}]}' <<< '[{},false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":null}}]}' <<< '[{},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":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":null}}]}' <<< '[{},true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":null}}]}' <<< '[{},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":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":null}}]}' <<< '[{},123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":null}}]}' <<< '[{},456]'
json: error: <stdin>:1:5: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:5: [{},456]
json: error: <stdin>:1:5:     ^
[{},
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":null}}]}' <<< '[{},456]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":null}}]}' <<< '[{},"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":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":null}}]}' <<< '[{},"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":null}}]}' <<< '[{},"bar"]'
json: error: <stdin>:1:5: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:5: [{},"bar"]
json: error: <stdin>:1:5:     ^
[{},
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":null}}]}' <<< '[{},"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":null}}]}' <<< '[{},{}]'
[{},{}]
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":null}}]}' <<< '[{},[]]'
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":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":null}}]}' <<< '[{},[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":false}}]}' <<< '[{},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":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":false}}]}' <<< '[{},null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":false}}]}' <<< '[{},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":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":false}}]}' <<< '[{},false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":false}}]}' <<< '[{},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":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":false}}]}' <<< '[{},true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":false}}]}' <<< '[{},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":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":false}}]}' <<< '[{},123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":false}}]}' <<< '[{},456]'
json: error: <stdin>:1:5: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:5: [{},456]
json: error: <stdin>:1:5:     ^
[{},
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":false}}]}' <<< '[{},456]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":false}}]}' <<< '[{},"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":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":false}}]}' <<< '[{},"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":false}}]}' <<< '[{},"bar"]'
json: error: <stdin>:1:5: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:5: [{},"bar"]
json: error: <stdin>:1:5:     ^
[{},
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":false}}]}' <<< '[{},"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":false}}]}' <<< '[{},{}]'
[{},{}]
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":false}}]}' <<< '[{},[]]'
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":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":false}}]}' <<< '[{},[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":true}}]}' <<< '[{},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":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":true}}]}' <<< '[{},null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":true}}]}' <<< '[{},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":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":true}}]}' <<< '[{},false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":true}}]}' <<< '[{},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":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":true}}]}' <<< '[{},true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":true}}]}' <<< '[{},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":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":true}}]}' <<< '[{},123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":true}}]}' <<< '[{},456]'
json: error: <stdin>:1:5: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:5: [{},456]
json: error: <stdin>:1:5:     ^
[{},
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":true}}]}' <<< '[{},456]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":true}}]}' <<< '[{},"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":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":true}}]}' <<< '[{},"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":true}}]}' <<< '[{},"bar"]'
json: error: <stdin>:1:5: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:5: [{},"bar"]
json: error: <stdin>:1:5:     ^
[{},
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":true}}]}' <<< '[{},"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":true}}]}' <<< '[{},{}]'
[{},{}]
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":true}}]}' <<< '[{},[]]'
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":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":true}}]}' <<< '[{},[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":123}}]}' <<< '[{},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":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":123}}]}' <<< '[{},null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":123}}]}' <<< '[{},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":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":123}}]}' <<< '[{},false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":123}}]}' <<< '[{},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":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":123}}]}' <<< '[{},true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":123}}]}' <<< '[{},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":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":123}}]}' <<< '[{},123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":123}}]}' <<< '[{},456]'
json: error: <stdin>:1:5: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:5: [{},456]
json: error: <stdin>:1:5:     ^
[{},
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":123}}]}' <<< '[{},456]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":123}}]}' <<< '[{},"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":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":123}}]}' <<< '[{},"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":123}}]}' <<< '[{},"bar"]'
json: error: <stdin>:1:5: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:5: [{},"bar"]
json: error: <stdin>:1:5:     ^
[{},
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":123}}]}' <<< '[{},"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":123}}]}' <<< '[{},{}]'
[{},{}]
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":123}}]}' <<< '[{},[]]'
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":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":123}}]}' <<< '[{},[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[{},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":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[{},null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[{},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":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[{},false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[{},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":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[{},true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[{},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":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[{},123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[{},456]'
json: error: <stdin>:1:5: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:5: [{},456]
json: error: <stdin>:1:5:     ^
[{},
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[{},456]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[{},"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":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[{},"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[{},"bar"]'
json: error: <stdin>:1:5: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:5: [{},"bar"]
json: error: <stdin>:1:5:     ^
[{},
command failed: json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[{},"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[{},{}]'
[{},{}]
$ json -d '{"type":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[{},[]]'
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":"list","args":[{"type":"array","args":"object"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[{},[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":null}}]}' <<< '[[],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":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":null}}]}' <<< '[[],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":null}}]}' <<< '[[],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":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":null}}]}' <<< '[[],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":null}}]}' <<< '[[],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":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":null}}]}' <<< '[[],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":null}}]}' <<< '[[],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":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":null}}]}' <<< '[[],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":null}}]}' <<< '[[],456]'
json: error: <stdin>:1:5: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:5: [[],456]
json: error: <stdin>:1:5:     ^
[[],
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":null}}]}' <<< '[[],456]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":null}}]}' <<< '[[],"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":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":null}}]}' <<< '[[],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":null}}]}' <<< '[[],"bar"]'
json: error: <stdin>:1:5: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:5: [[],"bar"]
json: error: <stdin>:1:5:     ^
[[],
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":null}}]}' <<< '[[],"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":null}}]}' <<< '[[],{}]'
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":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":null}}]}' <<< '[[],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":null}}]}' <<< '[[],[]]'
[[],[]]
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":false}}]}' <<< '[[],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":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":false}}]}' <<< '[[],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":false}}]}' <<< '[[],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":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":false}}]}' <<< '[[],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":false}}]}' <<< '[[],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":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":false}}]}' <<< '[[],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":false}}]}' <<< '[[],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":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":false}}]}' <<< '[[],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":false}}]}' <<< '[[],456]'
json: error: <stdin>:1:5: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:5: [[],456]
json: error: <stdin>:1:5:     ^
[[],
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":false}}]}' <<< '[[],456]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":false}}]}' <<< '[[],"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":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":false}}]}' <<< '[[],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":false}}]}' <<< '[[],"bar"]'
json: error: <stdin>:1:5: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:5: [[],"bar"]
json: error: <stdin>:1:5:     ^
[[],
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":false}}]}' <<< '[[],"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":false}}]}' <<< '[[],{}]'
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":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":false}}]}' <<< '[[],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":false}}]}' <<< '[[],[]]'
[[],[]]
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":true}}]}' <<< '[[],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":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":true}}]}' <<< '[[],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":true}}]}' <<< '[[],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":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":true}}]}' <<< '[[],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":true}}]}' <<< '[[],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":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":true}}]}' <<< '[[],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":true}}]}' <<< '[[],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":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":true}}]}' <<< '[[],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":true}}]}' <<< '[[],456]'
json: error: <stdin>:1:5: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:5: [[],456]
json: error: <stdin>:1:5:     ^
[[],
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":true}}]}' <<< '[[],456]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":true}}]}' <<< '[[],"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":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":true}}]}' <<< '[[],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":true}}]}' <<< '[[],"bar"]'
json: error: <stdin>:1:5: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:5: [[],"bar"]
json: error: <stdin>:1:5:     ^
[[],
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":true}}]}' <<< '[[],"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":true}}]}' <<< '[[],{}]'
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":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":true}}]}' <<< '[[],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":true}}]}' <<< '[[],[]]'
[[],[]]
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":123}}]}' <<< '[[],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":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":123}}]}' <<< '[[],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":123}}]}' <<< '[[],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":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":123}}]}' <<< '[[],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":123}}]}' <<< '[[],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":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":123}}]}' <<< '[[],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":123}}]}' <<< '[[],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":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":123}}]}' <<< '[[],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":123}}]}' <<< '[[],456]'
json: error: <stdin>:1:5: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:5: [[],456]
json: error: <stdin>:1:5:     ^
[[],
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":123}}]}' <<< '[[],456]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":123}}]}' <<< '[[],"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":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":123}}]}' <<< '[[],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":123}}]}' <<< '[[],"bar"]'
json: error: <stdin>:1:5: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:5: [[],"bar"]
json: error: <stdin>:1:5:     ^
[[],
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":123}}]}' <<< '[[],"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":123}}]}' <<< '[[],{}]'
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":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":123}}]}' <<< '[[],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":123}}]}' <<< '[[],[]]'
[[],[]]
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[[],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":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[[],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[[],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":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[[],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[[],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":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[[],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[[],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":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[[],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[[],456]'
json: error: <stdin>:1:5: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:5: [[],456]
json: error: <stdin>:1:5:     ^
[[],
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[[],456]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[[],"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":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[[],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[[],"bar"]'
json: error: <stdin>:1:5: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:5: [[],"bar"]
json: error: <stdin>:1:5:     ^
[[],
command failed: json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[[],"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[[],{}]'
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":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[[],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":"array"},{"type":"array","args":{"plain":"foo"}}]}' <<< '[[],[]]'
[[],[]]
$

--[ list-open-array-plain-open-array-plain-val-basic ]--------------------------

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

--[ list-open-array-plain-open-array-plain-val-array-empty ]--------------------

#
# # meta command:
# $ for p in null false true 123 '"foo"'; do for p2 in null false true 456 '"bar"'; do test "$p" == "$p2" && continue; T='{"type":"list","args":[{"type":"array","args":{"plain":'"$p"'}},{"type":"array","args":{"plain":'"$p2"'}}]}'; c="json -d '$T' <<< '[]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"list","args":[{"type":"array","args":{"plain":null}},{"type":"array","args":{"plain":false}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":{"plain":null}},{"type":"array","args":{"plain":true}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":{"plain":null}},{"type":"array","args":{"plain":456}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":{"plain":null}},{"type":"array","args":{"plain":"bar"}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":{"plain":false}},{"type":"array","args":{"plain":null}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":{"plain":false}},{"type":"array","args":{"plain":true}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":{"plain":false}},{"type":"array","args":{"plain":456}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":{"plain":false}},{"type":"array","args":{"plain":"bar"}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":{"plain":true}},{"type":"array","args":{"plain":null}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":{"plain":true}},{"type":"array","args":{"plain":false}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":{"plain":true}},{"type":"array","args":{"plain":456}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":{"plain":true}},{"type":"array","args":{"plain":"bar"}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":{"plain":123}},{"type":"array","args":{"plain":null}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":{"plain":123}},{"type":"array","args":{"plain":false}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":{"plain":123}},{"type":"array","args":{"plain":true}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":{"plain":123}},{"type":"array","args":{"plain":456}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":{"plain":123}},{"type":"array","args":{"plain":"bar"}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":{"plain":"foo"}},{"type":"array","args":{"plain":null}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":{"plain":"foo"}},{"type":"array","args":{"plain":false}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":{"plain":"foo"}},{"type":"array","args":{"plain":true}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":{"plain":"foo"}},{"type":"array","args":{"plain":456}}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":{"plain":"foo"}},{"type":"array","args":{"plain":"bar"}}]}' <<< '[]'
[]
$

--[ list-open-array-plain-open-array-plain-val-array-basic ]--------------------

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

--[ list-open-array-plain-open-array-plain-val-array-basic-basic ]--------------

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

--[ list-closed-array-basic-closed-array-basic-val-basic ]----------------------

#
# # 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 '"foo"' '{}' '[]'; do test "$t" == "$t2" && continue; T='{"type":"list","args":[{"type":"array","args":["'"$t"'"]},{"type":"array","args":["'"$t2"'"]}]}'; c="json -d '$T' <<< '$v'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["null"]}]}' <<< 'null'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["null"]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["null"]}]}' <<< 'false'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["null"]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["null"]}]}' <<< 'true'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["null"]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["null"]}]}' <<< '123'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["null"]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["null"]}]}' <<< '"foo"'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["null"]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["null"]}]}' <<< '{}'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["null"]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["null"]}]}' <<< '[]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["null"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["boolean"]}]}' <<< 'null'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["boolean"]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["boolean"]}]}' <<< 'false'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["boolean"]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["boolean"]}]}' <<< 'true'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["boolean"]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["boolean"]}]}' <<< '123'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["boolean"]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["boolean"]}]}' <<< '"foo"'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["boolean"]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["boolean"]}]}' <<< '{}'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["boolean"]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["boolean"]}]}' <<< '[]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["boolean"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["number"]}]}' <<< 'null'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["number"]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["number"]}]}' <<< 'false'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["number"]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["number"]}]}' <<< 'true'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["number"]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["number"]}]}' <<< '123'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["number"]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["number"]}]}' <<< '"foo"'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["number"]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["number"]}]}' <<< '{}'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["number"]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["number"]}]}' <<< '[]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["number"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["string"]}]}' <<< 'null'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["string"]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["string"]}]}' <<< 'false'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["string"]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["string"]}]}' <<< 'true'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["string"]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["string"]}]}' <<< '123'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["string"]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["string"]}]}' <<< '"foo"'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["string"]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["string"]}]}' <<< '{}'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["string"]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["string"]}]}' <<< '[]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["string"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["object"]}]}' <<< 'null'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["object"]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["object"]}]}' <<< 'false'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["object"]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["object"]}]}' <<< 'true'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["object"]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["object"]}]}' <<< '123'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["object"]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["object"]}]}' <<< '"foo"'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["object"]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["object"]}]}' <<< '{}'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["object"]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["object"]}]}' <<< '[]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["object"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["array"]}]}' <<< 'null'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["array"]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["array"]}]}' <<< 'false'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["array"]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["array"]}]}' <<< 'true'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["array"]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["array"]}]}' <<< '123'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["array"]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["array"]}]}' <<< '"foo"'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["array"]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["array"]}]}' <<< '{}'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["array"]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["array"]}]}' <<< '[]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["array"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["type"]}]}' <<< 'null'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["type"]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["type"]}]}' <<< 'false'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["type"]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["type"]}]}' <<< 'true'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["type"]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["type"]}]}' <<< '123'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["type"]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["type"]}]}' <<< '"foo"'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["type"]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["type"]}]}' <<< '{}'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["type"]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["type"]}]}' <<< '[]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["type"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["boolean"]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["boolean"]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["boolean"]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["boolean"]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["boolean"]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["boolean"]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["boolean"]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["boolean"]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["boolean"]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["boolean"]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["boolean"]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["boolean"]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["boolean"]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["boolean"]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["boolean"]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["boolean"]}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["boolean"]}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["boolean"]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["boolean"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["number"]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["number"]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["number"]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["number"]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["number"]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["number"]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["number"]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["number"]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["number"]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["number"]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["number"]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["number"]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["number"]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["number"]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["number"]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["number"]}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["number"]}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["number"]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["number"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["string"]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["string"]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["string"]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["string"]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["string"]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["string"]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["string"]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["string"]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["string"]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["string"]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["string"]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["string"]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["string"]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["string"]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["string"]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["string"]}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["string"]}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["string"]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["string"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["object"]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["object"]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["object"]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["object"]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["object"]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["object"]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["object"]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["object"]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["object"]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["object"]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["object"]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["object"]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["object"]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["object"]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["object"]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["object"]}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["object"]}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["object"]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["object"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["array"]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["array"]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["array"]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["array"]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["array"]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["array"]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["array"]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["array"]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["array"]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["array"]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["array"]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["array"]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["array"]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["array"]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["array"]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["array"]}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["array"]}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["array"]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["array"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["type"]}]}' <<< 'null'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["type"]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["type"]}]}' <<< 'false'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["type"]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["type"]}]}' <<< 'true'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["type"]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["type"]}]}' <<< '123'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["type"]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["type"]}]}' <<< '"foo"'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["type"]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["type"]}]}' <<< '{}'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["type"]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["type"]}]}' <<< '[]'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["type"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["null"]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["null"]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["null"]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["null"]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["null"]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["null"]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["null"]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["null"]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["null"]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["null"]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["null"]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["null"]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["null"]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["null"]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["null"]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["null"]}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["null"]}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["null"]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["null"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["number"]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["number"]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["number"]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["number"]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["number"]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["number"]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["number"]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["number"]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["number"]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["number"]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["number"]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["number"]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["number"]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["number"]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["number"]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["number"]}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["number"]}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["number"]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["number"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["string"]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["string"]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["string"]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["string"]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["string"]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["string"]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["string"]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["string"]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["string"]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["string"]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["string"]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["string"]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["string"]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["string"]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["string"]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["string"]}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["string"]}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["string"]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["string"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["object"]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["object"]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["object"]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["object"]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["object"]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["object"]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["object"]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["object"]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["object"]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["object"]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["object"]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["object"]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["object"]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["object"]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["object"]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["object"]}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["object"]}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["object"]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["object"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["array"]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["array"]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["array"]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["array"]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["array"]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["array"]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["array"]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["array"]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["array"]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["array"]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["array"]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["array"]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["array"]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["array"]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["array"]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["array"]}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["array"]}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["array"]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["array"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["type"]}]}' <<< 'null'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["type"]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["type"]}]}' <<< 'false'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["type"]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["type"]}]}' <<< 'true'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["type"]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["type"]}]}' <<< '123'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["type"]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["type"]}]}' <<< '"foo"'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["type"]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["type"]}]}' <<< '{}'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["type"]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["type"]}]}' <<< '[]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["type"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["null"]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["null"]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["null"]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["null"]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["null"]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["null"]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["null"]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["null"]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["null"]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["null"]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["null"]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["null"]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["null"]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["null"]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["null"]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["null"]}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["null"]}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["null"]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["null"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["boolean"]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["boolean"]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["boolean"]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["boolean"]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["boolean"]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["boolean"]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["boolean"]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["boolean"]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["boolean"]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["boolean"]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["boolean"]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["boolean"]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["boolean"]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["boolean"]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["boolean"]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["boolean"]}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["boolean"]}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["boolean"]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["boolean"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["string"]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["string"]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["string"]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["string"]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["string"]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["string"]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["string"]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["string"]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["string"]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["string"]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["string"]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["string"]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["string"]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["string"]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["string"]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["string"]}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["string"]}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["string"]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["string"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["object"]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["object"]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["object"]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["object"]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["object"]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["object"]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["object"]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["object"]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["object"]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["object"]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["object"]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["object"]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["object"]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["object"]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["object"]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["object"]}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["object"]}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["object"]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["object"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["array"]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["array"]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["array"]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["array"]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["array"]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["array"]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["array"]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["array"]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["array"]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["array"]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["array"]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["array"]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["array"]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["array"]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["array"]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["array"]}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["array"]}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["array"]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["array"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["type"]}]}' <<< 'null'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["type"]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["type"]}]}' <<< 'false'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["type"]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["type"]}]}' <<< 'true'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["type"]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["type"]}]}' <<< '123'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["type"]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["type"]}]}' <<< '"foo"'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["type"]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["type"]}]}' <<< '{}'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["type"]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["type"]}]}' <<< '[]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["type"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["null"]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["null"]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["null"]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["null"]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["null"]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["null"]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["null"]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["null"]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["null"]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["null"]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["null"]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["null"]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["null"]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["null"]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["null"]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["null"]}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["null"]}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["null"]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["null"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["boolean"]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["boolean"]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["boolean"]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["boolean"]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["boolean"]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["boolean"]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["boolean"]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["boolean"]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["boolean"]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["boolean"]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["boolean"]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["boolean"]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["boolean"]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["boolean"]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["boolean"]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["boolean"]}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["boolean"]}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["boolean"]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["boolean"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["number"]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["number"]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["number"]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["number"]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["number"]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["number"]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["number"]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["number"]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["number"]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["number"]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["number"]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["number"]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["number"]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["number"]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["number"]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["number"]}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["number"]}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["number"]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["number"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["object"]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["object"]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["object"]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["object"]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["object"]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["object"]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["object"]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["object"]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["object"]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["object"]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["object"]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["object"]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["object"]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["object"]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["object"]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["object"]}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["object"]}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["object"]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["object"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["array"]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["array"]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["array"]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["array"]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["array"]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["array"]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["array"]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["array"]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["array"]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["array"]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["array"]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["array"]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["array"]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["array"]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["array"]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["array"]}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["array"]}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["array"]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["array"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["type"]}]}' <<< 'null'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["type"]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["type"]}]}' <<< 'false'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["type"]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["type"]}]}' <<< 'true'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["type"]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["type"]}]}' <<< '123'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["type"]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["type"]}]}' <<< '"foo"'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["type"]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["type"]}]}' <<< '{}'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["type"]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["type"]}]}' <<< '[]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["type"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["null"]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["null"]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["null"]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["null"]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["null"]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["null"]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["null"]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["null"]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["null"]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["null"]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["null"]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["null"]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["null"]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["null"]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["null"]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["null"]}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["null"]}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["null"]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["null"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["boolean"]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["boolean"]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["boolean"]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["boolean"]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["boolean"]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["boolean"]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["boolean"]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["boolean"]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["boolean"]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["boolean"]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["boolean"]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["boolean"]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["boolean"]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["boolean"]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["boolean"]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["boolean"]}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["boolean"]}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["boolean"]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["boolean"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["number"]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["number"]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["number"]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["number"]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["number"]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["number"]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["number"]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["number"]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["number"]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["number"]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["number"]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["number"]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["number"]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["number"]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["number"]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["number"]}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["number"]}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["number"]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["number"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["string"]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["string"]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["string"]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["string"]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["string"]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["string"]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["string"]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["string"]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["string"]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["string"]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["string"]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["string"]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["string"]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["string"]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["string"]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["string"]}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["string"]}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["string"]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["string"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["array"]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["array"]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["array"]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["array"]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["array"]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["array"]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["array"]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["array"]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["array"]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["array"]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["array"]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["array"]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["array"]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["array"]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["array"]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["array"]}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["array"]}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["array"]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["array"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["type"]}]}' <<< 'null'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["type"]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["type"]}]}' <<< 'false'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["type"]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["type"]}]}' <<< 'true'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["type"]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["type"]}]}' <<< '123'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["type"]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["type"]}]}' <<< '"foo"'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["type"]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["type"]}]}' <<< '{}'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["type"]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["type"]}]}' <<< '[]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["type"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["null"]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["null"]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["null"]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["null"]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["null"]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["null"]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["null"]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["null"]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["null"]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["null"]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["null"]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["null"]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["null"]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["null"]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["null"]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["null"]}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["null"]}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["null"]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["null"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["boolean"]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["boolean"]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["boolean"]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["boolean"]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["boolean"]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["boolean"]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["boolean"]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["boolean"]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["boolean"]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["boolean"]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["boolean"]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["boolean"]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["boolean"]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["boolean"]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["boolean"]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["boolean"]}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["boolean"]}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["boolean"]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["boolean"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["number"]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["number"]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["number"]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["number"]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["number"]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["number"]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["number"]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["number"]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["number"]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["number"]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["number"]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["number"]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["number"]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["number"]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["number"]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["number"]}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["number"]}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["number"]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["number"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["string"]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["string"]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["string"]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["string"]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["string"]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["string"]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["string"]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["string"]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["string"]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["string"]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["string"]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["string"]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["string"]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["string"]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["string"]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["string"]}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["string"]}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["string"]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["string"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["object"]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["object"]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["object"]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["object"]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["object"]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["object"]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["object"]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["object"]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["object"]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["object"]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["object"]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["object"]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["object"]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["object"]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["object"]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["object"]}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["object"]}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["object"]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["object"]}]}' <<< '[]'
$

--[ list-closed-array-basic-closed-array-basic-val-array-empty ]----------------

#
# # 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; T='{"type":"list","args":[{"type":"array","args":["'"$t"'"]},{"type":"array","args":["'"$t2"'"]}]}'; c="json -d '$T' <<< '[]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["null"]}]}' <<< '[]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["null"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["boolean"]}]}' <<< '[]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["boolean"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["number"]}]}' <<< '[]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["number"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["string"]}]}' <<< '[]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["string"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["object"]}]}' <<< '[]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["object"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["array"]}]}' <<< '[]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["array"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["type"]}]}' <<< '[]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["type"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["boolean"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["number"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["string"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["object"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["array"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["type"]}]}' <<< '[]'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["type"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["null"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["number"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["string"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["object"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["array"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["type"]}]}' <<< '[]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["type"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["null"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["boolean"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["string"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["object"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["array"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["type"]}]}' <<< '[]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["type"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["null"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["boolean"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["number"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["object"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["array"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["type"]}]}' <<< '[]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["type"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["null"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["boolean"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["number"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["string"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["array"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["type"]}]}' <<< '[]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["type"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["null"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["boolean"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["number"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["string"]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["object"]}]}' <<< '[]'
$

--[ list-closed-array-basic-closed-array-basic-val-array-basic ]----------------

#
# # 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 T='{"type":"list","args":[{"type":"array","args":["'"$t"'"]},{"type":"array","args":["'"$t2"'"]}]}'; c="json -d '$T' <<< '[$v]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["null"]}]}' <<< '[null]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["null"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["null"]}]}' <<< '[false]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["null"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["null"]}]}' <<< '[true]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["null"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["null"]}]}' <<< '[123]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["null"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["null"]}]}' <<< '["foo"]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["null"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["null"]}]}' <<< '[{}]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["null"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["null"]}]}' <<< '[[]]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["null"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["boolean"]}]}' <<< '[null]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["boolean"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["boolean"]}]}' <<< '[false]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["boolean"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["boolean"]}]}' <<< '[true]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["boolean"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["boolean"]}]}' <<< '[123]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["boolean"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["boolean"]}]}' <<< '["foo"]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["boolean"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["boolean"]}]}' <<< '[{}]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["boolean"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["boolean"]}]}' <<< '[[]]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["boolean"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["number"]}]}' <<< '[null]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["number"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["number"]}]}' <<< '[false]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["number"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["number"]}]}' <<< '[true]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["number"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["number"]}]}' <<< '[123]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["number"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["number"]}]}' <<< '["foo"]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["number"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["number"]}]}' <<< '[{}]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["number"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["number"]}]}' <<< '[[]]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["number"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["string"]}]}' <<< '[null]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["string"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["string"]}]}' <<< '[false]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["string"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["string"]}]}' <<< '[true]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["string"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["string"]}]}' <<< '[123]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["string"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["string"]}]}' <<< '["foo"]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["string"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["string"]}]}' <<< '[{}]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["string"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["string"]}]}' <<< '[[]]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["string"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["object"]}]}' <<< '[null]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["object"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["object"]}]}' <<< '[false]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["object"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["object"]}]}' <<< '[true]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["object"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["object"]}]}' <<< '[123]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["object"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["object"]}]}' <<< '["foo"]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["object"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["object"]}]}' <<< '[{}]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["object"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["object"]}]}' <<< '[[]]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["object"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["array"]}]}' <<< '[null]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["array"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["array"]}]}' <<< '[false]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["array"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["array"]}]}' <<< '[true]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["array"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["array"]}]}' <<< '[123]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["array"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["array"]}]}' <<< '["foo"]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["array"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["array"]}]}' <<< '[{}]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["array"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["array"]}]}' <<< '[[]]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["array"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["type"]}]}' <<< '[null]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["type"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["type"]}]}' <<< '[false]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["type"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["type"]}]}' <<< '[true]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["type"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["type"]}]}' <<< '[123]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["type"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["type"]}]}' <<< '["foo"]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["type"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["type"]}]}' <<< '[{}]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["type"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["type"]}]}' <<< '[[]]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["type"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["boolean"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["boolean"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["boolean"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["boolean"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"boolean"'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["boolean"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["boolean"]}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"boolean"'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["boolean"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["boolean"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"boolean"'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["boolean"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["boolean"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"boolean"'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["boolean"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["number"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["number"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"number"'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["number"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["number"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"number"'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["number"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["number"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["number"]}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"number"'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["number"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["number"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"number"'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["number"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["number"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"number"'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["number"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["string"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["string"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"string"'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["string"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["string"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"string"'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["string"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["string"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"string"'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["string"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["string"]}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["string"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"string"'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["string"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["string"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"string"'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["string"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["object"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["object"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"object"'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["object"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["object"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"object"'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["object"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["object"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"object"'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["object"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["object"]}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"object"'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["object"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["object"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["object"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"object"'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["object"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["array"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["array"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"array"'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["array"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["array"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"array"'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["array"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["array"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"array"'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["array"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["array"]}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"array"'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["array"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["array"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"array"'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["array"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["array"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["type"]}]}' <<< '[null]'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["type"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["type"]}]}' <<< '[false]'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["type"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["type"]}]}' <<< '[true]'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["type"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["type"]}]}' <<< '[123]'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["type"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["type"]}]}' <<< '["foo"]'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["type"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["type"]}]}' <<< '[{}]'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["type"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["type"]}]}' <<< '[[]]'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["type"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["null"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["null"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["null"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["null"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"boolean"'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["null"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["null"]}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"boolean"'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["null"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["null"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"boolean"'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["null"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["null"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"boolean"'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["null"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["number"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"number"'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["number"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["number"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["number"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["number"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["number"]}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"number"'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["number"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["number"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"number"'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["number"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["number"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"number"'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["number"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["string"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"string"'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["string"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["string"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["string"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["string"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"string"'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["string"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["string"]}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["string"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"string"'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["string"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["string"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"string"'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["string"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["object"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"object"'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["object"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["object"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["object"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["object"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"object"'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["object"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["object"]}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"object"'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["object"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["object"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["object"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"object"'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["object"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["array"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"array"'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["array"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["array"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["array"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["array"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"array"'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["array"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["array"]}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"array"'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["array"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["array"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"array"'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["array"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["array"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["type"]}]}' <<< '[null]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["type"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["type"]}]}' <<< '[false]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["type"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["type"]}]}' <<< '[true]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["type"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["type"]}]}' <<< '[123]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["type"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["type"]}]}' <<< '["foo"]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["type"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["type"]}]}' <<< '[{}]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["type"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["type"]}]}' <<< '[[]]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["type"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["null"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["null"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"number"'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["null"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["null"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"number"'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["null"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["null"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["null"]}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"number"'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["null"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["null"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"number"'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["null"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["null"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"number"'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["null"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["boolean"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"number"'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["boolean"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["boolean"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["boolean"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["boolean"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["boolean"]}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"number"'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["boolean"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["boolean"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"number"'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["boolean"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["boolean"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"number"'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["boolean"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["string"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"string"'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["string"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["string"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"string"'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["string"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["string"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"string"'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["string"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["string"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["string"]}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["string"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"string"'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["string"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["string"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"string"'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["string"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["object"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"object"'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["object"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["object"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"object"'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["object"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["object"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"object"'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["object"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["object"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["object"]}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"object"'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["object"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["object"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["object"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"object"'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["object"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["array"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"array"'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["array"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["array"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"array"'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["array"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["array"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"array"'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["array"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["array"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["array"]}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"array"'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["array"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["array"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"array"'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["array"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["array"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["type"]}]}' <<< '[null]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["type"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["type"]}]}' <<< '[false]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["type"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["type"]}]}' <<< '[true]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["type"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["type"]}]}' <<< '[123]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["type"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["type"]}]}' <<< '["foo"]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["type"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["type"]}]}' <<< '[{}]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["type"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["type"]}]}' <<< '[[]]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["type"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["null"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["null"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"string"'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["null"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["null"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"string"'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["null"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["null"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"string"'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["null"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["null"]}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["null"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"string"'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["null"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["null"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"string"'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["null"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["boolean"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"string"'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["boolean"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["boolean"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["boolean"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["boolean"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"string"'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["boolean"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["boolean"]}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["boolean"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"string"'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["boolean"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["boolean"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"string"'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["boolean"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["number"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"string"'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["number"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["number"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"string"'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["number"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["number"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"string"'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["number"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["number"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["number"]}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["number"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"string"'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["number"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["number"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"string"'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["number"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["object"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `"object"'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["object"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["object"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `"object"'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["object"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["object"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `"object"'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["object"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["object"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `"object"'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["object"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["object"]}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["object"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["object"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `"object"'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["object"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["array"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `"array"'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["array"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["array"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `"array"'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["array"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["array"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `"array"'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["array"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["array"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `"array"'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["array"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["array"]}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["array"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `"array"'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["array"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["array"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["type"]}]}' <<< '[null]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["type"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["type"]}]}' <<< '[false]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["type"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["type"]}]}' <<< '[true]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["type"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["type"]}]}' <<< '[123]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["type"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["type"]}]}' <<< '["foo"]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["type"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["type"]}]}' <<< '[{}]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["type"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["type"]}]}' <<< '[[]]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["type"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["null"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["null"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"object"'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["null"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["null"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"object"'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["null"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["null"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"object"'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["null"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["null"]}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"object"'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["null"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["null"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["null"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"object"'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["null"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["boolean"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"object"'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["boolean"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["boolean"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["boolean"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["boolean"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"object"'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["boolean"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["boolean"]}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"object"'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["boolean"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["boolean"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["boolean"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"object"'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["boolean"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["number"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"object"'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["number"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["number"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"object"'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["number"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["number"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"object"'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["number"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["number"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["number"]}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"object"'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["number"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["number"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["number"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"object"'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["number"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["string"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `"object"'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["string"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["string"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `"object"'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["string"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["string"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `"object"'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["string"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["string"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `"object"'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["string"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["string"]}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["string"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["string"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `"object"'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["string"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["array"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `"array"'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["array"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["array"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `"array"'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["array"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["array"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `"array"'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["array"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["array"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `"array"'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["array"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["array"]}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `"array"'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["array"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["array"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["array"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["type"]}]}' <<< '[null]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["type"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["type"]}]}' <<< '[false]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["type"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["type"]}]}' <<< '[true]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["type"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["type"]}]}' <<< '[123]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["type"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["type"]}]}' <<< '["foo"]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["type"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["type"]}]}' <<< '[{}]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["type"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["type"]}]}' <<< '[[]]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["type"]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["null"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["null"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"array"'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["null"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["null"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"array"'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["null"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["null"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"array"'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["null"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["null"]}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"array"'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["null"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["null"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"array"'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["null"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["null"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["boolean"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"array"'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["boolean"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["boolean"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["boolean"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["boolean"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"array"'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["boolean"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["boolean"]}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"array"'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["boolean"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["boolean"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"array"'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["boolean"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["boolean"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["number"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"array"'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["number"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["number"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"array"'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["number"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["number"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"array"'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["number"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["number"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["number"]}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"array"'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["number"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["number"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"array"'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["number"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["number"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["string"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `"array"'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["string"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["string"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `"array"'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["string"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["string"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `"array"'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["string"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["string"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `"array"'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["string"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["string"]}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["string"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `"array"'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["string"]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["string"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["object"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `"array"'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["object"]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["object"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `"array"'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["object"]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["object"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `"array"'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["object"]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["object"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `"array"'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["object"]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["object"]}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `"array"'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["object"]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["object"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["object"]}]}' <<< '[[]]'
[[]]
$

--[ list-closed-array-basic-closed-array-basic-val-array-basic-basic ]----------

#
# # 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 t2 in type null boolean number string object array; do test "$t" == "$t2" && continue; for v in null false true 123 '"foo"' '{}' '[]'; do T='{"type":"list","args":[{"type":"array","args":["'"$t"'"]},{"type":"array","args":["'"$t2"'"]}]}'; c="json -d '$T' <<< '[$v0,$v]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["null"]}]}' <<< '[[{}],null]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["null"]}]}' <<< '[[{}],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["null"]}]}' <<< '[[{}],false]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["null"]}]}' <<< '[[{}],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["null"]}]}' <<< '[[{}],true]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["null"]}]}' <<< '[[{}],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["null"]}]}' <<< '[[{}],123]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["null"]}]}' <<< '[[{}],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["null"]}]}' <<< '[[{}],"foo"]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["null"]}]}' <<< '[[{}],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["null"]}]}' <<< '[[{}],{}]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["null"]}]}' <<< '[[{}],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["null"]}]}' <<< '[[{}],[]]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["null"]}]}' <<< '[[{}],[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["boolean"]}]}' <<< '[[{}],null]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["boolean"]}]}' <<< '[[{}],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["boolean"]}]}' <<< '[[{}],false]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["boolean"]}]}' <<< '[[{}],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["boolean"]}]}' <<< '[[{}],true]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["boolean"]}]}' <<< '[[{}],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["boolean"]}]}' <<< '[[{}],123]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["boolean"]}]}' <<< '[[{}],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["boolean"]}]}' <<< '[[{}],"foo"]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["boolean"]}]}' <<< '[[{}],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["boolean"]}]}' <<< '[[{}],{}]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["boolean"]}]}' <<< '[[{}],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["boolean"]}]}' <<< '[[{}],[]]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["boolean"]}]}' <<< '[[{}],[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["number"]}]}' <<< '[[{}],null]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["number"]}]}' <<< '[[{}],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["number"]}]}' <<< '[[{}],false]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["number"]}]}' <<< '[[{}],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["number"]}]}' <<< '[[{}],true]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["number"]}]}' <<< '[[{}],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["number"]}]}' <<< '[[{}],123]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["number"]}]}' <<< '[[{}],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["number"]}]}' <<< '[[{}],"foo"]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["number"]}]}' <<< '[[{}],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["number"]}]}' <<< '[[{}],{}]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["number"]}]}' <<< '[[{}],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["number"]}]}' <<< '[[{}],[]]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["number"]}]}' <<< '[[{}],[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["string"]}]}' <<< '[[{}],null]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["string"]}]}' <<< '[[{}],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["string"]}]}' <<< '[[{}],false]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["string"]}]}' <<< '[[{}],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["string"]}]}' <<< '[[{}],true]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["string"]}]}' <<< '[[{}],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["string"]}]}' <<< '[[{}],123]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["string"]}]}' <<< '[[{}],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["string"]}]}' <<< '[[{}],"foo"]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["string"]}]}' <<< '[[{}],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["string"]}]}' <<< '[[{}],{}]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["string"]}]}' <<< '[[{}],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["string"]}]}' <<< '[[{}],[]]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["string"]}]}' <<< '[[{}],[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["object"]}]}' <<< '[[{}],null]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["object"]}]}' <<< '[[{}],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["object"]}]}' <<< '[[{}],false]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["object"]}]}' <<< '[[{}],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["object"]}]}' <<< '[[{}],true]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["object"]}]}' <<< '[[{}],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["object"]}]}' <<< '[[{}],123]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["object"]}]}' <<< '[[{}],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["object"]}]}' <<< '[[{}],"foo"]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["object"]}]}' <<< '[[{}],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["object"]}]}' <<< '[[{}],{}]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["object"]}]}' <<< '[[{}],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["object"]}]}' <<< '[[{}],[]]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["object"]}]}' <<< '[[{}],[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["array"]}]}' <<< '[[{}],null]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["array"]}]}' <<< '[[{}],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["array"]}]}' <<< '[[{}],false]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["array"]}]}' <<< '[[{}],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["array"]}]}' <<< '[[{}],true]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["array"]}]}' <<< '[[{}],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["array"]}]}' <<< '[[{}],123]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["array"]}]}' <<< '[[{}],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["array"]}]}' <<< '[[{}],"foo"]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["array"]}]}' <<< '[[{}],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["array"]}]}' <<< '[[{}],{}]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["array"]}]}' <<< '[[{}],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["array"]}]}' <<< '[[{}],[]]'
json: error: <text>:1:48: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:81)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":["array"]}]}' <<< '[[{}],[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["type"]}]}' <<< '[null,null]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["type"]}]}' <<< '[null,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["type"]}]}' <<< '[null,false]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["type"]}]}' <<< '[null,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["type"]}]}' <<< '[null,true]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["type"]}]}' <<< '[null,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["type"]}]}' <<< '[null,123]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["type"]}]}' <<< '[null,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["type"]}]}' <<< '[null,"foo"]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["type"]}]}' <<< '[null,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["type"]}]}' <<< '[null,{}]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["type"]}]}' <<< '[null,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["type"]}]}' <<< '[null,[]]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["type"]}]}' <<< '[null,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["boolean"]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["boolean"]}]}' <<< '[null,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["boolean"]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["boolean"]}]}' <<< '[null,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["boolean"]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["boolean"]}]}' <<< '[null,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["boolean"]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["boolean"]}]}' <<< '[null,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["boolean"]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["boolean"]}]}' <<< '[null,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["boolean"]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["boolean"]}]}' <<< '[null,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["boolean"]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["boolean"]}]}' <<< '[null,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["number"]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["number"]}]}' <<< '[null,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["number"]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["number"]}]}' <<< '[null,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["number"]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["number"]}]}' <<< '[null,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["number"]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["number"]}]}' <<< '[null,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["number"]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["number"]}]}' <<< '[null,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["number"]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["number"]}]}' <<< '[null,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["number"]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["number"]}]}' <<< '[null,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["string"]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["string"]}]}' <<< '[null,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["string"]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["string"]}]}' <<< '[null,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["string"]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["string"]}]}' <<< '[null,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["string"]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["string"]}]}' <<< '[null,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["string"]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["string"]}]}' <<< '[null,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["string"]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["string"]}]}' <<< '[null,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["string"]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["string"]}]}' <<< '[null,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["object"]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["object"]}]}' <<< '[null,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["object"]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["object"]}]}' <<< '[null,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["object"]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["object"]}]}' <<< '[null,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["object"]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["object"]}]}' <<< '[null,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["object"]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["object"]}]}' <<< '[null,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["object"]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["object"]}]}' <<< '[null,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["object"]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["object"]}]}' <<< '[null,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["array"]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["array"]}]}' <<< '[null,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["array"]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["array"]}]}' <<< '[null,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["array"]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["array"]}]}' <<< '[null,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["array"]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["array"]}]}' <<< '[null,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["array"]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["array"]}]}' <<< '[null,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["array"]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["array"]}]}' <<< '[null,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["array"]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":["array"]}]}' <<< '[null,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["type"]}]}' <<< '[false,null]'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["type"]}]}' <<< '[false,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["type"]}]}' <<< '[false,false]'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["type"]}]}' <<< '[false,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["type"]}]}' <<< '[false,true]'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["type"]}]}' <<< '[false,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["type"]}]}' <<< '[false,123]'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["type"]}]}' <<< '[false,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["type"]}]}' <<< '[false,"foo"]'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["type"]}]}' <<< '[false,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["type"]}]}' <<< '[false,{}]'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["type"]}]}' <<< '[false,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["type"]}]}' <<< '[false,[]]'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["type"]}]}' <<< '[false,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["null"]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["null"]}]}' <<< '[false,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["null"]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["null"]}]}' <<< '[false,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["null"]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["null"]}]}' <<< '[false,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["null"]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["null"]}]}' <<< '[false,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["null"]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["null"]}]}' <<< '[false,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["null"]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["null"]}]}' <<< '[false,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["null"]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["null"]}]}' <<< '[false,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["number"]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["number"]}]}' <<< '[false,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["number"]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["number"]}]}' <<< '[false,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["number"]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["number"]}]}' <<< '[false,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["number"]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["number"]}]}' <<< '[false,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["number"]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["number"]}]}' <<< '[false,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["number"]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["number"]}]}' <<< '[false,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["number"]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["number"]}]}' <<< '[false,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["string"]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["string"]}]}' <<< '[false,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["string"]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["string"]}]}' <<< '[false,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["string"]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["string"]}]}' <<< '[false,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["string"]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["string"]}]}' <<< '[false,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["string"]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["string"]}]}' <<< '[false,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["string"]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["string"]}]}' <<< '[false,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["string"]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["string"]}]}' <<< '[false,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["object"]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["object"]}]}' <<< '[false,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["object"]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["object"]}]}' <<< '[false,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["object"]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["object"]}]}' <<< '[false,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["object"]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["object"]}]}' <<< '[false,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["object"]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["object"]}]}' <<< '[false,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["object"]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["object"]}]}' <<< '[false,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["object"]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["object"]}]}' <<< '[false,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["array"]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["array"]}]}' <<< '[false,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["array"]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["array"]}]}' <<< '[false,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["array"]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["array"]}]}' <<< '[false,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["array"]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["array"]}]}' <<< '[false,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["array"]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["array"]}]}' <<< '[false,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["array"]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["array"]}]}' <<< '[false,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["array"]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["array"]}]}' <<< '[false,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["type"]}]}' <<< '[456,null]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["type"]}]}' <<< '[456,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["type"]}]}' <<< '[456,false]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["type"]}]}' <<< '[456,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["type"]}]}' <<< '[456,true]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["type"]}]}' <<< '[456,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["type"]}]}' <<< '[456,123]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["type"]}]}' <<< '[456,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["type"]}]}' <<< '[456,"foo"]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["type"]}]}' <<< '[456,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["type"]}]}' <<< '[456,{}]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["type"]}]}' <<< '[456,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["type"]}]}' <<< '[456,[]]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["type"]}]}' <<< '[456,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["null"]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["null"]}]}' <<< '[456,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["null"]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["null"]}]}' <<< '[456,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["null"]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["null"]}]}' <<< '[456,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["null"]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["null"]}]}' <<< '[456,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["null"]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["null"]}]}' <<< '[456,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["null"]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["null"]}]}' <<< '[456,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["null"]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["null"]}]}' <<< '[456,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["boolean"]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["boolean"]}]}' <<< '[456,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["boolean"]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["boolean"]}]}' <<< '[456,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["boolean"]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["boolean"]}]}' <<< '[456,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["boolean"]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["boolean"]}]}' <<< '[456,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["boolean"]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["boolean"]}]}' <<< '[456,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["boolean"]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["boolean"]}]}' <<< '[456,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["boolean"]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["boolean"]}]}' <<< '[456,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["string"]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["string"]}]}' <<< '[456,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["string"]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["string"]}]}' <<< '[456,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["string"]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["string"]}]}' <<< '[456,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["string"]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["string"]}]}' <<< '[456,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["string"]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["string"]}]}' <<< '[456,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["string"]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["string"]}]}' <<< '[456,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["string"]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["string"]}]}' <<< '[456,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["object"]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["object"]}]}' <<< '[456,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["object"]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["object"]}]}' <<< '[456,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["object"]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["object"]}]}' <<< '[456,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["object"]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["object"]}]}' <<< '[456,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["object"]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["object"]}]}' <<< '[456,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["object"]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["object"]}]}' <<< '[456,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["object"]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["object"]}]}' <<< '[456,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["array"]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["array"]}]}' <<< '[456,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["array"]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["array"]}]}' <<< '[456,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["array"]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["array"]}]}' <<< '[456,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["array"]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["array"]}]}' <<< '[456,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["array"]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["array"]}]}' <<< '[456,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["array"]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["array"]}]}' <<< '[456,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["array"]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":["array"]}]}' <<< '[456,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["type"]}]}' <<< '["bar",null]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["type"]}]}' <<< '["bar",null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["type"]}]}' <<< '["bar",false]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["type"]}]}' <<< '["bar",false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["type"]}]}' <<< '["bar",true]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["type"]}]}' <<< '["bar",true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["type"]}]}' <<< '["bar",123]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["type"]}]}' <<< '["bar",123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["type"]}]}' <<< '["bar","foo"]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["type"]}]}' <<< '["bar","foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["type"]}]}' <<< '["bar",{}]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["type"]}]}' <<< '["bar",{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["type"]}]}' <<< '["bar",[]]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["type"]}]}' <<< '["bar",[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["null"]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["null"]}]}' <<< '["bar",null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["null"]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["null"]}]}' <<< '["bar",false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["null"]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["null"]}]}' <<< '["bar",true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["null"]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["null"]}]}' <<< '["bar",123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["null"]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["null"]}]}' <<< '["bar","foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["null"]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["null"]}]}' <<< '["bar",{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["null"]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["null"]}]}' <<< '["bar",[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["boolean"]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["boolean"]}]}' <<< '["bar",null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["boolean"]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["boolean"]}]}' <<< '["bar",false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["boolean"]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["boolean"]}]}' <<< '["bar",true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["boolean"]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["boolean"]}]}' <<< '["bar",123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["boolean"]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["boolean"]}]}' <<< '["bar","foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["boolean"]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["boolean"]}]}' <<< '["bar",{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["boolean"]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["boolean"]}]}' <<< '["bar",[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["number"]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["number"]}]}' <<< '["bar",null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["number"]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["number"]}]}' <<< '["bar",false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["number"]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["number"]}]}' <<< '["bar",true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["number"]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["number"]}]}' <<< '["bar",123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["number"]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["number"]}]}' <<< '["bar","foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["number"]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["number"]}]}' <<< '["bar",{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["number"]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["number"]}]}' <<< '["bar",[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["object"]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["object"]}]}' <<< '["bar",null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["object"]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["object"]}]}' <<< '["bar",false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["object"]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["object"]}]}' <<< '["bar",true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["object"]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["object"]}]}' <<< '["bar",123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["object"]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["object"]}]}' <<< '["bar","foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["object"]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["object"]}]}' <<< '["bar",{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["object"]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["object"]}]}' <<< '["bar",[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["array"]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["array"]}]}' <<< '["bar",null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["array"]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["array"]}]}' <<< '["bar",false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["array"]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["array"]}]}' <<< '["bar",true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["array"]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["array"]}]}' <<< '["bar",123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["array"]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["array"]}]}' <<< '["bar","foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["array"]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["array"]}]}' <<< '["bar",{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["array"]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":["array"]}]}' <<< '["bar",[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["type"]}]}' <<< '[{},null]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["type"]}]}' <<< '[{},null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["type"]}]}' <<< '[{},false]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["type"]}]}' <<< '[{},false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["type"]}]}' <<< '[{},true]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["type"]}]}' <<< '[{},true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["type"]}]}' <<< '[{},123]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["type"]}]}' <<< '[{},123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["type"]}]}' <<< '[{},"foo"]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["type"]}]}' <<< '[{},"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["type"]}]}' <<< '[{},{}]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["type"]}]}' <<< '[{},{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["type"]}]}' <<< '[{},[]]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["type"]}]}' <<< '[{},[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["null"]}]}' <<< '[{},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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["null"]}]}' <<< '[{},null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["null"]}]}' <<< '[{},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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["null"]}]}' <<< '[{},false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["null"]}]}' <<< '[{},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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["null"]}]}' <<< '[{},true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["null"]}]}' <<< '[{},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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["null"]}]}' <<< '[{},123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["null"]}]}' <<< '[{},"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["null"]}]}' <<< '[{},"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["null"]}]}' <<< '[{},{}]'
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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["null"]}]}' <<< '[{},{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["null"]}]}' <<< '[{},[]]'
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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["null"]}]}' <<< '[{},[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["boolean"]}]}' <<< '[{},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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["boolean"]}]}' <<< '[{},null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["boolean"]}]}' <<< '[{},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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["boolean"]}]}' <<< '[{},false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["boolean"]}]}' <<< '[{},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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["boolean"]}]}' <<< '[{},true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["boolean"]}]}' <<< '[{},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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["boolean"]}]}' <<< '[{},123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["boolean"]}]}' <<< '[{},"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["boolean"]}]}' <<< '[{},"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["boolean"]}]}' <<< '[{},{}]'
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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["boolean"]}]}' <<< '[{},{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["boolean"]}]}' <<< '[{},[]]'
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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["boolean"]}]}' <<< '[{},[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["number"]}]}' <<< '[{},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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["number"]}]}' <<< '[{},null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["number"]}]}' <<< '[{},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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["number"]}]}' <<< '[{},false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["number"]}]}' <<< '[{},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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["number"]}]}' <<< '[{},true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["number"]}]}' <<< '[{},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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["number"]}]}' <<< '[{},123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["number"]}]}' <<< '[{},"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["number"]}]}' <<< '[{},"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["number"]}]}' <<< '[{},{}]'
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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["number"]}]}' <<< '[{},{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["number"]}]}' <<< '[{},[]]'
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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["number"]}]}' <<< '[{},[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["string"]}]}' <<< '[{},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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["string"]}]}' <<< '[{},null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["string"]}]}' <<< '[{},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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["string"]}]}' <<< '[{},false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["string"]}]}' <<< '[{},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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["string"]}]}' <<< '[{},true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["string"]}]}' <<< '[{},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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["string"]}]}' <<< '[{},123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["string"]}]}' <<< '[{},"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["string"]}]}' <<< '[{},"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["string"]}]}' <<< '[{},{}]'
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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["string"]}]}' <<< '[{},{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["string"]}]}' <<< '[{},[]]'
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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["string"]}]}' <<< '[{},[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["array"]}]}' <<< '[{},null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["array"]}]}' <<< '[{},false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["array"]}]}' <<< '[{},true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["array"]}]}' <<< '[{},123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["array"]}]}' <<< '[{},"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["array"]}]}' <<< '[{},{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":["array"]}]}' <<< '[{},[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["type"]}]}' <<< '[[],null]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["type"]}]}' <<< '[[],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["type"]}]}' <<< '[[],false]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["type"]}]}' <<< '[[],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["type"]}]}' <<< '[[],true]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["type"]}]}' <<< '[[],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["type"]}]}' <<< '[[],123]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["type"]}]}' <<< '[[],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["type"]}]}' <<< '[[],"foo"]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["type"]}]}' <<< '[[],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["type"]}]}' <<< '[[],{}]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["type"]}]}' <<< '[[],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["type"]}]}' <<< '[[],[]]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["type"]}]}' <<< '[[],[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["null"]}]}' <<< '[[],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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["null"]}]}' <<< '[[],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["null"]}]}' <<< '[[],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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["null"]}]}' <<< '[[],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["null"]}]}' <<< '[[],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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["null"]}]}' <<< '[[],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["null"]}]}' <<< '[[],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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["null"]}]}' <<< '[[],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["null"]}]}' <<< '[[],"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["null"]}]}' <<< '[[],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["null"]}]}' <<< '[[],{}]'
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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["null"]}]}' <<< '[[],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["null"]}]}' <<< '[[],[]]'
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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["null"]}]}' <<< '[[],[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["boolean"]}]}' <<< '[[],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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["boolean"]}]}' <<< '[[],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["boolean"]}]}' <<< '[[],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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["boolean"]}]}' <<< '[[],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["boolean"]}]}' <<< '[[],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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["boolean"]}]}' <<< '[[],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["boolean"]}]}' <<< '[[],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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["boolean"]}]}' <<< '[[],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["boolean"]}]}' <<< '[[],"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["boolean"]}]}' <<< '[[],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["boolean"]}]}' <<< '[[],{}]'
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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["boolean"]}]}' <<< '[[],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["boolean"]}]}' <<< '[[],[]]'
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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["boolean"]}]}' <<< '[[],[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["number"]}]}' <<< '[[],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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["number"]}]}' <<< '[[],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["number"]}]}' <<< '[[],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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["number"]}]}' <<< '[[],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["number"]}]}' <<< '[[],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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["number"]}]}' <<< '[[],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["number"]}]}' <<< '[[],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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["number"]}]}' <<< '[[],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["number"]}]}' <<< '[[],"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["number"]}]}' <<< '[[],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["number"]}]}' <<< '[[],{}]'
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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["number"]}]}' <<< '[[],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["number"]}]}' <<< '[[],[]]'
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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["number"]}]}' <<< '[[],[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["string"]}]}' <<< '[[],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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["string"]}]}' <<< '[[],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["string"]}]}' <<< '[[],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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["string"]}]}' <<< '[[],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["string"]}]}' <<< '[[],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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["string"]}]}' <<< '[[],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["string"]}]}' <<< '[[],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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["string"]}]}' <<< '[[],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["string"]}]}' <<< '[[],"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["string"]}]}' <<< '[[],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["string"]}]}' <<< '[[],{}]'
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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["string"]}]}' <<< '[[],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["string"]}]}' <<< '[[],[]]'
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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["string"]}]}' <<< '[[],[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["object"]}]}' <<< '[[],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["object"]}]}' <<< '[[],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["object"]}]}' <<< '[[],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["object"]}]}' <<< '[[],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["object"]}]}' <<< '[[],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["object"]}]}' <<< '[[],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":["object"]}]}' <<< '[[],[]]'
$

--[ list-closed-array-basic-closed-array-plain-val-basic ]----------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for p in null false true 123 '"foo"'; do for v in null false true 123 456 '"foo"' '"bar"' '{}' '[]'; do T='{"type":"list","args":[{"type":"array","args":["'"$t"'"]},{"type":"array","args":[{"plain":'"$p"'}]}]}'; c="json -d '$T' <<< '$v'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":null}]}]}' <<< 'null'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":null}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":null}]}]}' <<< 'false'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":null}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":null}]}]}' <<< 'true'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":null}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":null}]}]}' <<< '123'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":null}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":null}]}]}' <<< '456'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":null}]}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":null}]}]}' <<< '"foo"'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":null}]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":null}]}]}' <<< '"bar"'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":null}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":null}]}]}' <<< '{}'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":null}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":false}]}]}' <<< 'null'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":false}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":false}]}]}' <<< 'false'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":false}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":false}]}]}' <<< 'true'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":false}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":false}]}]}' <<< '123'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":false}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":false}]}]}' <<< '456'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":false}]}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":false}]}]}' <<< '"foo"'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":false}]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":false}]}]}' <<< '"bar"'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":false}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":false}]}]}' <<< '{}'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":false}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":true}]}]}' <<< 'null'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":true}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":true}]}]}' <<< 'false'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":true}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":true}]}]}' <<< 'true'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":true}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":true}]}]}' <<< '123'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":true}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":true}]}]}' <<< '456'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":true}]}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":true}]}]}' <<< '"foo"'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":true}]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":true}]}]}' <<< '"bar"'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":true}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":true}]}]}' <<< '{}'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":true}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":123}]}]}' <<< 'null'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":123}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":123}]}]}' <<< 'false'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":123}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":123}]}]}' <<< 'true'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":123}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":123}]}]}' <<< '123'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":123}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":123}]}]}' <<< '456'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":123}]}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":123}]}]}' <<< '"foo"'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":123}]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":123}]}]}' <<< '"bar"'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":123}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":123}]}]}' <<< '{}'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":123}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< 'null'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< 'false'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< 'true'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '123'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '456'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '"foo"'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '"bar"'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '{}'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":null}]}]}' <<< 'null'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":null}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":null}]}]}' <<< 'false'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":null}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":null}]}]}' <<< 'true'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":null}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":null}]}]}' <<< '123'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":null}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":null}]}]}' <<< '456'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":null}]}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":null}]}]}' <<< '"foo"'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":null}]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":null}]}]}' <<< '"bar"'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":null}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":null}]}]}' <<< '{}'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":null}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":false}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":false}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":false}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":false}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":false}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":false}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":false}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":false}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":false}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":false}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":false}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":false}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":false}]}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":false}]}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":false}]}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":false}]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":false}]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":false}]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":false}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":false}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":false}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":false}]}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":false}]}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":false}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":true}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":true}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":true}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":true}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":true}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":true}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":true}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":true}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":true}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":true}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":true}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":true}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":true}]}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":true}]}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":true}]}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":true}]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":true}]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":true}]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":true}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":true}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":true}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":true}]}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":true}]}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":true}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":123}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":123}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":123}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":123}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":123}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":123}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":123}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":123}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":123}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":123}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":123}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":123}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":123}]}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":123}]}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":123}]}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":123}]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":123}]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":123}]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":123}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":123}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":123}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":123}]}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":123}]}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":123}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":"foo"}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":"foo"}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":"foo"}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":"foo"}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":"foo"}]}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":"foo"}]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":"foo"}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":"foo"}]}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":null}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":null}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":null}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":null}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":null}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":null}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":null}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":null}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":null}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":null}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":null}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":null}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":null}]}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":null}]}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":null}]}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":null}]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":null}]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":null}]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":null}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":null}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":null}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":null}]}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":null}]}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":null}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":false}]}]}' <<< 'null'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":false}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":false}]}]}' <<< 'false'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":false}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":false}]}]}' <<< 'true'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":false}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":false}]}]}' <<< '123'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":false}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":false}]}]}' <<< '456'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":false}]}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":false}]}]}' <<< '"foo"'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":false}]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":false}]}]}' <<< '"bar"'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":false}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":false}]}]}' <<< '{}'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":false}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":true}]}]}' <<< 'null'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":true}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":true}]}]}' <<< 'false'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":true}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":true}]}]}' <<< 'true'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":true}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":true}]}]}' <<< '123'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":true}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":true}]}]}' <<< '456'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":true}]}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":true}]}]}' <<< '"foo"'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":true}]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":true}]}]}' <<< '"bar"'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":true}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":true}]}]}' <<< '{}'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":true}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":123}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":123}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":123}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":123}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":123}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":123}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":123}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":123}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":123}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":123}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":123}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":123}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":123}]}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":123}]}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":123}]}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":123}]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":123}]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":123}]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":123}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":123}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":123}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":123}]}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":123}]}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":123}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":"foo"}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":"foo"}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":"foo"}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":"foo"}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":"foo"}]}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":"foo"}]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":"foo"}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":"foo"}]}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":null}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":null}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":null}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":null}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":null}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":null}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":null}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":null}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":null}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":null}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":null}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":null}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":null}]}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":null}]}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":null}]}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":null}]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":null}]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":null}]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":null}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":null}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":null}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":null}]}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":null}]}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":null}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":false}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":false}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":false}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":false}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":false}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":false}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":false}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":false}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":false}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":false}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":false}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":false}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":false}]}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":false}]}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":false}]}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":false}]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":false}]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":false}]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":false}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":false}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":false}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":false}]}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":false}]}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":false}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":true}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":true}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":true}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":true}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":true}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":true}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":true}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":true}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":true}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":true}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":true}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":true}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":true}]}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":true}]}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":true}]}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":true}]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":true}]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":true}]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":true}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":true}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":true}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":true}]}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":true}]}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":true}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":123}]}]}' <<< 'null'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":123}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":123}]}]}' <<< 'false'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":123}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":123}]}]}' <<< 'true'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":123}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":123}]}]}' <<< '123'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":123}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":123}]}]}' <<< '456'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":123}]}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":123}]}]}' <<< '"foo"'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":123}]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":123}]}]}' <<< '"bar"'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":123}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":123}]}]}' <<< '{}'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":123}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":"foo"}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":"foo"}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":"foo"}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":"foo"}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":"foo"}]}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":"foo"}]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":"foo"}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":"foo"}]}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":null}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":null}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":null}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":null}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":null}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":null}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":null}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":null}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":null}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":null}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":null}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":null}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":null}]}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":null}]}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":null}]}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":null}]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":null}]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":null}]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":null}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":null}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":null}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":null}]}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":null}]}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":null}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":false}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":false}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":false}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":false}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":false}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":false}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":false}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":false}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":false}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":false}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":false}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":false}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":false}]}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":false}]}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":false}]}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":false}]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":false}]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":false}]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":false}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":false}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":false}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":false}]}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":false}]}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":false}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":true}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":true}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":true}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":true}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":true}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":true}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":true}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":true}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":true}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":true}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":true}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":true}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":true}]}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":true}]}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":true}]}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":true}]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":true}]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":true}]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":true}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":true}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":true}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":true}]}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":true}]}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":true}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":123}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":123}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":123}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":123}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":123}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":123}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":123}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":123}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":123}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":123}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":123}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":123}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":123}]}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":123}]}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":123}]}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":123}]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":123}]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":123}]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":123}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":123}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":123}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":123}]}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":123}]}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":123}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< 'null'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< 'false'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< 'true'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '123'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '456'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '"foo"'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '"bar"'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '{}'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":null}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":null}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":null}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":null}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":null}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":null}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":null}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":null}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":null}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":null}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":null}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":null}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":null}]}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":null}]}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":null}]}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":null}]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":null}]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":null}]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":null}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":null}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":null}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":null}]}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":null}]}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":null}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":false}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":false}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":false}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":false}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":false}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":false}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":false}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":false}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":false}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":false}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":false}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":false}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":false}]}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":false}]}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":false}]}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":false}]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":false}]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":false}]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":false}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":false}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":false}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":false}]}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":false}]}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":false}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":true}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":true}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":true}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":true}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":true}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":true}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":true}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":true}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":true}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":true}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":true}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":true}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":true}]}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":true}]}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":true}]}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":true}]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":true}]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":true}]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":true}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":true}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":true}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":true}]}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":true}]}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":true}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":123}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":123}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":123}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":123}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":123}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":123}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":123}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":123}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":123}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":123}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":123}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":123}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":123}]}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":123}]}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":123}]}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":123}]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":123}]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":123}]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":123}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":123}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":123}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":123}]}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":123}]}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":123}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":"foo"}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":"foo"}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":"foo"}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":"foo"}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":"foo"}]}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":"foo"}]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":"foo"}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":"foo"}]}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":null}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":null}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":null}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":null}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":null}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":null}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":null}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":null}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":null}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":null}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":null}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":null}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":null}]}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":null}]}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":null}]}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":null}]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":null}]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":null}]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":null}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":null}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":null}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":null}]}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":null}]}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":null}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":false}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":false}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":false}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":false}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":false}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":false}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":false}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":false}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":false}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":false}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":false}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":false}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":false}]}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":false}]}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":false}]}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":false}]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":false}]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":false}]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":false}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":false}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":false}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":false}]}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":false}]}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":false}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":true}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":true}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":true}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":true}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":true}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":true}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":true}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":true}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":true}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":true}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":true}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":true}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":true}]}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":true}]}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":true}]}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":true}]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":true}]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":true}]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":true}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":true}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":true}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":true}]}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":true}]}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":true}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":123}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":123}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":123}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":123}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":123}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":123}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":123}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":123}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":123}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":123}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":123}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":123}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":123}]}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":123}]}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":123}]}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":123}]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":123}]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":123}]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":123}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":123}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":123}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":123}]}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":123}]}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":123}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":"foo"}]}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":"foo"}]}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":"foo"}]}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":"foo"}]}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":"foo"}]}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '456'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":"foo"}]}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":"foo"}]}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":"foo"}]}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[]'
$

--[ list-closed-array-basic-closed-array-plain-val-array-empty ]----------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for p in null false true 123 '"foo"'; do T='{"type":"list","args":[{"type":"array","args":["'"$t"'"]},{"type":"array","args":[{"plain":'"$p"'}]}]}'; c="json -d '$T' <<< '[]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[]'
$

--[ list-closed-array-basic-closed-array-plain-val-array-basic ]----------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for p in null false true 123 '"foo"'; do for v in null false true 123 '"foo"' '{}' '[]'; do T='{"type":"list","args":[{"type":"array","args":["'"$t"'"]},{"type":"array","args":[{"plain":'"$p"'}]}]}'; c="json -d '$T' <<< '[$v]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[null]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[false]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[true]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[123]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":null}]}]}' <<< '["foo"]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":null}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[{}]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[[]]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[null]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[false]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[true]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[123]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":false}]}]}' <<< '["foo"]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":false}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[{}]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[[]]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[null]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[false]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[true]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[123]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":true}]}]}' <<< '["foo"]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":true}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[{}]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[[]]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[null]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[false]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[true]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[123]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":123}]}]}' <<< '["foo"]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":123}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[{}]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[[]]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[null]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[false]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[true]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[123]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo"]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[{}]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[[]]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[null]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[false]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[true]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[123]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":null}]}]}' <<< '["foo"]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":null}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[{}]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[[]]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `{"plain":false}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `{"plain":false}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":false}]}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `{"plain":false}'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":false}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `{"plain":false}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `{"plain":false}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `{"plain":true}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `{"plain":true}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":true}]}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `{"plain":true}'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":true}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `{"plain":true}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `{"plain":true}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `{"plain":123}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `{"plain":123}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":123}]}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `{"plain":123}'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":123}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `{"plain":123}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `{"plain":123}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `{"plain":"foo"}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `{"plain":"foo"}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `{"plain":"foo"}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `{"plain":"foo"}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `{"plain":"foo"}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `{"plain":null}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":null}]}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `{"plain":null}'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":null}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `{"plain":null}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `{"plain":null}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[null]'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[false]'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[true]'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[123]'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":false}]}]}' <<< '["foo"]'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":false}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[{}]'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[[]]'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[null]'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[false]'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[true]'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[123]'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":true}]}]}' <<< '["foo"]'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":true}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[{}]'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[[]]'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `{"plain":123}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":123}]}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `{"plain":123}'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":123}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `{"plain":123}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `{"plain":123}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `{"plain":"foo"}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `{"plain":"foo"}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `{"plain":"foo"}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `{"plain":"foo"}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `{"plain":null}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `{"plain":null}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":null}]}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `{"plain":null}'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":null}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `{"plain":null}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `{"plain":null}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `{"plain":false}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `{"plain":false}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":false}]}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `{"plain":false}'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":false}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `{"plain":false}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `{"plain":false}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `{"plain":true}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `{"plain":true}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":true}]}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `{"plain":true}'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":true}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `{"plain":true}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `{"plain":true}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[null]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[false]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[true]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[123]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":123}]}]}' <<< '["foo"]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":123}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[{}]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[[]]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `{"plain":"foo"}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `{"plain":"foo"}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `{"plain":"foo"}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `{"plain":"foo"}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `{"plain":"foo"}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `{"plain":null}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `{"plain":null}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `{"plain":null}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":null}]}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `{"plain":null}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `{"plain":null}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `{"plain":false}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `{"plain":false}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `{"plain":false}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":false}]}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `{"plain":false}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `{"plain":false}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `{"plain":true}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `{"plain":true}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `{"plain":true}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":true}]}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `{"plain":true}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `{"plain":true}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `{"plain":123}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `{"plain":123}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `{"plain":123}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":123}]}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `{"plain":123}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `{"plain":123}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[null]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[false]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[true]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[123]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo"]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[{}]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[[]]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `{"plain":null}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `{"plain":null}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `{"plain":null}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":null}]}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `{"plain":null}'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":null}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `{"plain":null}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `{"plain":false}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `{"plain":false}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `{"plain":false}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":false}]}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `{"plain":false}'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":false}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `{"plain":false}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `{"plain":true}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `{"plain":true}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `{"plain":true}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":true}]}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `{"plain":true}'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":true}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `{"plain":true}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `{"plain":123}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `{"plain":123}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `{"plain":123}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":123}]}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `{"plain":123}'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":123}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `{"plain":123}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `{"plain":"foo"}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `{"plain":"foo"}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `{"plain":"foo"}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `{"plain":"foo"}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `{"plain":"foo"}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"' or `{"plain":null}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"' or `{"plain":null}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"' or `{"plain":null}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":null}]}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"' or `{"plain":null}'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":null}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"' or `{"plain":null}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"' or `{"plain":false}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"' or `{"plain":false}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"' or `{"plain":false}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":false}]}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"' or `{"plain":false}'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":false}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"' or `{"plain":false}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"' or `{"plain":true}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"' or `{"plain":true}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"' or `{"plain":true}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":true}]}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"' or `{"plain":true}'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":true}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"' or `{"plain":true}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"' or `{"plain":123}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"' or `{"plain":123}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"' or `{"plain":123}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":123}]}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"' or `{"plain":123}'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":123}]}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"' or `{"plain":123}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"' or `{"plain":"foo"}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"' or `{"plain":"foo"}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"' or `{"plain":"foo"}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"' or `{"plain":"foo"}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"' or `{"plain":"foo"}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[[]]'
[[]]
$

--[ list-closed-array-basic-closed-array-plain-val-array-basic-basic ]----------

#
# # 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 p in null false true 123 '"foo"'; do for v in null false true 123 456 '"foo"' '"bar"' '{}' '[]'; do T='{"type":"list","args":[{"type":"array","args":["'"$t"'"]},{"type":"array","args":[{"plain":'"$p"'}]}]}'; c="json -d '$T' <<< '[$v0,$v]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[[{}],null]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[[{}],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[[{}],false]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[[{}],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[[{}],true]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[[{}],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[[{}],123]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[[{}],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[[{}],456]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[[{}],456]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[[{}],"foo"]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[[{}],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[[{}],"bar"]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[[{}],"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[[{}],{}]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[[{}],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[[{}],[]]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[[{}],[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[[{}],null]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[[{}],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[[{}],false]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[[{}],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[[{}],true]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[[{}],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[[{}],123]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[[{}],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[[{}],456]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[[{}],456]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[[{}],"foo"]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[[{}],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[[{}],"bar"]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[[{}],"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[[{}],{}]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[[{}],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[[{}],[]]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[[{}],[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[[{}],null]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[[{}],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[[{}],false]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[[{}],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[[{}],true]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[[{}],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[[{}],123]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[[{}],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[[{}],456]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[[{}],456]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[[{}],"foo"]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[[{}],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[[{}],"bar"]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[[{}],"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[[{}],{}]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[[{}],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[[{}],[]]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[[{}],[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[[{}],null]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[[{}],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[[{}],false]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[[{}],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[[{}],true]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[[{}],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[[{}],123]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[[{}],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[[{}],456]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[[{}],456]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[[{}],"foo"]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[[{}],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[[{}],"bar"]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[[{}],"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[[{}],{}]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[[{}],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[[{}],[]]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[[{}],[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[[{}],null]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[[{}],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[[{}],false]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[[{}],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[[{}],true]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[[{}],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[[{}],123]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[[{}],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[[{}],456]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[[{}],456]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[[{}],"foo"]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[[{}],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[[{}],"bar"]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[[{}],"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[[{}],{}]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[[{}],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[[{}],[]]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[[{}],[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,null]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,false]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,true]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,123]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,456]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,456]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,"foo"]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,"bar"]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,{}]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,[]]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[null,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[null,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[null,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[null,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[null,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[null,456]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [null,456]
json: error: <stdin>:1:6:      ^
[null
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[null,456]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[null,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[null,"bar"]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [null,"bar"]
json: error: <stdin>:1:6:      ^
[null
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[null,"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[null,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[null,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[null,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[null,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[null,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[null,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[null,456]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [null,456]
json: error: <stdin>:1:6:      ^
[null
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[null,456]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[null,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[null,"bar"]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [null,"bar"]
json: error: <stdin>:1:6:      ^
[null
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[null,"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[null,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[null,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[null,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[null,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[null,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[null,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[null,456]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [null,456]
json: error: <stdin>:1:6:      ^
[null
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[null,456]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[null,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[null,"bar"]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [null,"bar"]
json: error: <stdin>:1:6:      ^
[null
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[null,"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[null,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[null,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[null,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[null,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[null,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[null,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[null,456]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [null,456]
json: error: <stdin>:1:6:      ^
[null
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[null,456]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[null,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[null,"bar"]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [null,"bar"]
json: error: <stdin>:1:6:      ^
[null
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[null,"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[null,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[null,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[false,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[false,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[false,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[false,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[false,456]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: [false,456]
json: error: <stdin>:1:7:       ^
[false
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[false,456]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[false,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[false,"bar"]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: [false,"bar"]
json: error: <stdin>:1:7:       ^
[false
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[false,"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[false,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[false,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,null]'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,false]'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,true]'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,123]'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,456]'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,456]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,"foo"]'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,"bar"]'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,{}]'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,[]]'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[false,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[false,null]'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[false,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[false,false]'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[false,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[false,true]'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[false,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[false,123]'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[false,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[false,456]'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[false,456]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[false,"foo"]'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[false,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[false,"bar"]'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[false,"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[false,{}]'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[false,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[false,[]]'
json: error: <text>:1:84: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[false,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[false,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[false,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[false,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[false,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[false,456]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: [false,456]
json: error: <stdin>:1:7:       ^
[false
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[false,456]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[false,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[false,"bar"]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: [false,"bar"]
json: error: <stdin>:1:7:       ^
[false
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[false,"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[false,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[false,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[false,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[false,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[false,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[false,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[false,456]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: [false,456]
json: error: <stdin>:1:7:       ^
[false
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[false,456]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[false,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[false,"bar"]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: [false,"bar"]
json: error: <stdin>:1:7:       ^
[false
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[false,"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[false,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[false,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[456,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[456,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[456,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[456,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[456,456]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [456,456]
json: error: <stdin>:1:5:     ^
[456
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[456,456]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[456,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[456,"bar"]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [456,"bar"]
json: error: <stdin>:1:5:     ^
[456
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[456,"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[456,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[456,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[456,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[456,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[456,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[456,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[456,456]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [456,456]
json: error: <stdin>:1:5:     ^
[456
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[456,456]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[456,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[456,"bar"]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [456,"bar"]
json: error: <stdin>:1:5:     ^
[456
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[456,"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[456,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[456,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[456,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[456,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[456,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[456,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[456,456]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [456,456]
json: error: <stdin>:1:5:     ^
[456
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[456,456]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[456,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[456,"bar"]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [456,"bar"]
json: error: <stdin>:1:5:     ^
[456
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[456,"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[456,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[456,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[456,null]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[456,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[456,false]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[456,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[456,true]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[456,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[456,123]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[456,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[456,456]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[456,456]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[456,"foo"]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[456,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[456,"bar"]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[456,"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[456,{}]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[456,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[456,[]]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[456,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[456,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[456,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[456,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[456,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[456,456]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [456,456]
json: error: <stdin>:1:5:     ^
[456
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[456,456]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[456,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[456,"bar"]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [456,"bar"]
json: error: <stdin>:1:5:     ^
[456
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[456,"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[456,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[456,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":null}]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":null}]}]}' <<< '["bar",null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":null}]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":null}]}]}' <<< '["bar",false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":null}]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":null}]}]}' <<< '["bar",true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":null}]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":null}]}]}' <<< '["bar",123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":null}]}]}' <<< '["bar",456]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["bar",456]
json: error: <stdin>:1:7:       ^
["bar"
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":null}]}]}' <<< '["bar",456]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":null}]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":null}]}]}' <<< '["bar","foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":null}]}]}' <<< '["bar","bar"]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["bar","bar"]
json: error: <stdin>:1:7:       ^
["bar"
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":null}]}]}' <<< '["bar","bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":null}]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":null}]}]}' <<< '["bar",{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":null}]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":null}]}]}' <<< '["bar",[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":false}]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":false}]}]}' <<< '["bar",null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":false}]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":false}]}]}' <<< '["bar",false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":false}]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":false}]}]}' <<< '["bar",true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":false}]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":false}]}]}' <<< '["bar",123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":false}]}]}' <<< '["bar",456]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["bar",456]
json: error: <stdin>:1:7:       ^
["bar"
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":false}]}]}' <<< '["bar",456]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":false}]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":false}]}]}' <<< '["bar","foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":false}]}]}' <<< '["bar","bar"]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["bar","bar"]
json: error: <stdin>:1:7:       ^
["bar"
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":false}]}]}' <<< '["bar","bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":false}]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":false}]}]}' <<< '["bar",{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":false}]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":false}]}]}' <<< '["bar",[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":true}]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":true}]}]}' <<< '["bar",null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":true}]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":true}]}]}' <<< '["bar",false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":true}]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":true}]}]}' <<< '["bar",true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":true}]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":true}]}]}' <<< '["bar",123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":true}]}]}' <<< '["bar",456]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["bar",456]
json: error: <stdin>:1:7:       ^
["bar"
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":true}]}]}' <<< '["bar",456]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":true}]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":true}]}]}' <<< '["bar","foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":true}]}]}' <<< '["bar","bar"]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["bar","bar"]
json: error: <stdin>:1:7:       ^
["bar"
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":true}]}]}' <<< '["bar","bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":true}]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":true}]}]}' <<< '["bar",{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":true}]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":true}]}]}' <<< '["bar",[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":123}]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":123}]}]}' <<< '["bar",null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":123}]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":123}]}]}' <<< '["bar",false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":123}]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":123}]}]}' <<< '["bar",true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":123}]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":123}]}]}' <<< '["bar",123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":123}]}]}' <<< '["bar",456]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["bar",456]
json: error: <stdin>:1:7:       ^
["bar"
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":123}]}]}' <<< '["bar",456]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":123}]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":123}]}]}' <<< '["bar","foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":123}]}]}' <<< '["bar","bar"]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["bar","bar"]
json: error: <stdin>:1:7:       ^
["bar"
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":123}]}]}' <<< '["bar","bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":123}]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":123}]}]}' <<< '["bar",{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":123}]}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":123}]}]}' <<< '["bar",[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["bar",null]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["bar",null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["bar",false]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["bar",false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["bar",true]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["bar",true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["bar",123]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["bar",123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["bar",456]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["bar",456]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["bar","foo"]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["bar","foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["bar","bar"]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["bar","bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["bar",{}]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["bar",{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["bar",[]]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array argument ambiguity (the other is at 1:48)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '["bar",[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[{},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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[{},null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[{},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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[{},false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[{},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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[{},true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[{},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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[{},123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[{},456]'
json: error: <stdin>:1:4: type check error: too many arguments
json: error: <stdin>:1:4: [{},456]
json: error: <stdin>:1:4:    ^
[{}
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[{},456]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[{},"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[{},"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[{},"bar"]'
json: error: <stdin>:1:4: type check error: too many arguments
json: error: <stdin>:1:4: [{},"bar"]
json: error: <stdin>:1:4:    ^
[{}
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[{},"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[{},{}]'
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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[{},{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[{},[]]'
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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[{},[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[{},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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[{},null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[{},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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[{},false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[{},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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[{},true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[{},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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[{},123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[{},456]'
json: error: <stdin>:1:4: type check error: too many arguments
json: error: <stdin>:1:4: [{},456]
json: error: <stdin>:1:4:    ^
[{}
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[{},456]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[{},"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[{},"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[{},"bar"]'
json: error: <stdin>:1:4: type check error: too many arguments
json: error: <stdin>:1:4: [{},"bar"]
json: error: <stdin>:1:4:    ^
[{}
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[{},"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[{},{}]'
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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[{},{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[{},[]]'
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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[{},[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[{},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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[{},null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[{},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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[{},false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[{},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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[{},true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[{},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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[{},123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[{},456]'
json: error: <stdin>:1:4: type check error: too many arguments
json: error: <stdin>:1:4: [{},456]
json: error: <stdin>:1:4:    ^
[{}
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[{},456]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[{},"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[{},"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[{},"bar"]'
json: error: <stdin>:1:4: type check error: too many arguments
json: error: <stdin>:1:4: [{},"bar"]
json: error: <stdin>:1:4:    ^
[{}
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[{},"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[{},{}]'
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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[{},{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[{},[]]'
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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[{},[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[{},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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[{},null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[{},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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[{},false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[{},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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[{},true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[{},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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[{},123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[{},456]'
json: error: <stdin>:1:4: type check error: too many arguments
json: error: <stdin>:1:4: [{},456]
json: error: <stdin>:1:4:    ^
[{}
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[{},456]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[{},"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[{},"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[{},"bar"]'
json: error: <stdin>:1:4: type check error: too many arguments
json: error: <stdin>:1:4: [{},"bar"]
json: error: <stdin>:1:4:    ^
[{}
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[{},"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[{},{}]'
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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[{},{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[{},[]]'
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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[{},[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[{},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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[{},null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[{},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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[{},false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[{},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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[{},true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[{},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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[{},123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[{},456]'
json: error: <stdin>:1:4: type check error: too many arguments
json: error: <stdin>:1:4: [{},456]
json: error: <stdin>:1:4:    ^
[{}
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[{},456]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[{},"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[{},"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[{},"bar"]'
json: error: <stdin>:1:4: type check error: too many arguments
json: error: <stdin>:1:4: [{},"bar"]
json: error: <stdin>:1:4:    ^
[{}
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[{},"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[{},{}]'
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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[{},{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[{},[]]'
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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[{},[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[[],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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[[],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[[],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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[[],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[[],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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[[],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[[],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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[[],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[[],456]'
json: error: <stdin>:1:4: type check error: too many arguments
json: error: <stdin>:1:4: [[],456]
json: error: <stdin>:1:4:    ^
[[]
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[[],456]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[[],"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[[],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[[],"bar"]'
json: error: <stdin>:1:4: type check error: too many arguments
json: error: <stdin>:1:4: [[],"bar"]
json: error: <stdin>:1:4:    ^
[[]
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[[],"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[[],{}]'
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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[[],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[[],[]]'
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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":null}]}]}' <<< '[[],[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[[],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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[[],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[[],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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[[],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[[],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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[[],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[[],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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[[],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[[],456]'
json: error: <stdin>:1:4: type check error: too many arguments
json: error: <stdin>:1:4: [[],456]
json: error: <stdin>:1:4:    ^
[[]
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[[],456]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[[],"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[[],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[[],"bar"]'
json: error: <stdin>:1:4: type check error: too many arguments
json: error: <stdin>:1:4: [[],"bar"]
json: error: <stdin>:1:4:    ^
[[]
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[[],"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[[],{}]'
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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[[],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[[],[]]'
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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":false}]}]}' <<< '[[],[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[[],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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[[],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[[],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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[[],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[[],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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[[],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[[],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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[[],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[[],456]'
json: error: <stdin>:1:4: type check error: too many arguments
json: error: <stdin>:1:4: [[],456]
json: error: <stdin>:1:4:    ^
[[]
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[[],456]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[[],"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[[],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[[],"bar"]'
json: error: <stdin>:1:4: type check error: too many arguments
json: error: <stdin>:1:4: [[],"bar"]
json: error: <stdin>:1:4:    ^
[[]
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[[],"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[[],{}]'
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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[[],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[[],[]]'
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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":true}]}]}' <<< '[[],[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[[],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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[[],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[[],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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[[],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[[],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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[[],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[[],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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[[],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[[],456]'
json: error: <stdin>:1:4: type check error: too many arguments
json: error: <stdin>:1:4: [[],456]
json: error: <stdin>:1:4:    ^
[[]
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[[],456]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[[],"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[[],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[[],"bar"]'
json: error: <stdin>:1:4: type check error: too many arguments
json: error: <stdin>:1:4: [[],"bar"]
json: error: <stdin>:1:4:    ^
[[]
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[[],"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[[],{}]'
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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[[],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[[],[]]'
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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":123}]}]}' <<< '[[],[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[[],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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[[],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[[],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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[[],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[[],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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[[],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[[],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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[[],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[[],456]'
json: error: <stdin>:1:4: type check error: too many arguments
json: error: <stdin>:1:4: [[],456]
json: error: <stdin>:1:4:    ^
[[]
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[[],456]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[[],"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[[],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[[],"bar"]'
json: error: <stdin>:1:4: type check error: too many arguments
json: error: <stdin>:1:4: [[],"bar"]
json: error: <stdin>:1:4:    ^
[[]
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[[],"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[[],{}]'
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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[[],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[[],[]]'
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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":[{"plain":"foo"}]}]}' <<< '[[],[]]'
$

--[ list-closed-array-plain-closed-array-plain-val-basic ]----------------------

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

--[ list-closed-array-plain-closed-array-plain-val-array-empty ]----------------

#
# # meta command:
# $ for p in null false true 123 '"foo"'; do for p2 in null false true 456 '"bar"'; do test "$p" == "$p2" && continue; T='{"type":"list","args":[{"type":"array","args":[{"plain":'"$p"'}]},{"type":"array","args":[{"plain":'"$p2"'}]}]}'; c="json -d '$T' <<< '[]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":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":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":null}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":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":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":null}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":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":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":null}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":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":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":null}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[]'
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":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[]'
$

--[ list-closed-array-plain-closed-array-plain-val-array-basic ]----------------

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

--[ list-closed-array-plain-closed-array-plain-val-array-basic-basic ]----------

#
# # meta command:
# $ for p in null false true 123 '"foo"'; do for p2 in null false true 456 '"bar"'; do test "$p" == "$p2" && continue; for v in null false true 123 456 '"foo"' '"bar"' '{}' '[]'; do T='{"type":"list","args":[{"type":"array","args":[{"plain":'"$p"'}]},{"type":"array","args":[{"plain":'"$p2"'}]}]}'; c="json -d '$T' <<< '[$p,$v]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[null,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[null,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[null,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[null,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[null,456]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [null,456]
json: error: <stdin>:1:6:      ^
[null
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[null,456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[null,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[null,"bar"]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [null,"bar"]
json: error: <stdin>:1:6:      ^
[null
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[null,"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[null,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[null,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[null,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[null,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[null,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[null,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[null,456]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [null,456]
json: error: <stdin>:1:6:      ^
[null
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[null,456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[null,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[null,"bar"]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [null,"bar"]
json: error: <stdin>:1:6:      ^
[null
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[null,"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[null,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[null,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[null,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[null,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[null,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[null,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[null,456]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [null,456]
json: error: <stdin>:1:6:      ^
[null
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[null,456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[null,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[null,"bar"]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [null,"bar"]
json: error: <stdin>:1:6:      ^
[null
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[null,"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[null,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[null,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[null,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[null,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[null,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[null,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[null,456]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [null,456]
json: error: <stdin>:1:6:      ^
[null
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[null,456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[null,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[null,"bar"]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [null,"bar"]
json: error: <stdin>:1:6:      ^
[null
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[null,"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[null,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":null}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[null,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":null}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":null}]}]}' <<< '[false,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":null}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":null}]}]}' <<< '[false,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":null}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":null}]}]}' <<< '[false,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":null}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":null}]}]}' <<< '[false,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":null}]}]}' <<< '[false,456]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: [false,456]
json: error: <stdin>:1:7:       ^
[false
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":null}]}]}' <<< '[false,456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":null}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":null}]}]}' <<< '[false,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":null}]}]}' <<< '[false,"bar"]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: [false,"bar"]
json: error: <stdin>:1:7:       ^
[false
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":null}]}]}' <<< '[false,"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":null}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":null}]}]}' <<< '[false,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":null}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":null}]}]}' <<< '[false,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[false,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[false,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[false,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[false,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[false,456]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: [false,456]
json: error: <stdin>:1:7:       ^
[false
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[false,456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[false,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[false,"bar"]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: [false,"bar"]
json: error: <stdin>:1:7:       ^
[false
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[false,"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[false,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[false,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[false,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[false,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[false,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[false,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[false,456]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: [false,456]
json: error: <stdin>:1:7:       ^
[false
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[false,456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[false,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[false,"bar"]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: [false,"bar"]
json: error: <stdin>:1:7:       ^
[false
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[false,"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[false,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[false,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[false,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[false,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[false,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[false,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[false,456]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: [false,456]
json: error: <stdin>:1:7:       ^
[false
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[false,456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[false,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[false,"bar"]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: [false,"bar"]
json: error: <stdin>:1:7:       ^
[false
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[false,"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[false,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[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":"list","args":[{"type":"array","args":[{"plain":false}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[false,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":null}]}]}' <<< '[true,null]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,null]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":null}]}]}' <<< '[true,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":null}]}]}' <<< '[true,false]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,false]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":null}]}]}' <<< '[true,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":null}]}]}' <<< '[true,true]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,true]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":null}]}]}' <<< '[true,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":null}]}]}' <<< '[true,123]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,123]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":null}]}]}' <<< '[true,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":null}]}]}' <<< '[true,456]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,456]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":null}]}]}' <<< '[true,456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":null}]}]}' <<< '[true,"foo"]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,"foo"]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":null}]}]}' <<< '[true,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":null}]}]}' <<< '[true,"bar"]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,"bar"]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":null}]}]}' <<< '[true,"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":null}]}]}' <<< '[true,{}]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,{}]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":null}]}]}' <<< '[true,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":null}]}]}' <<< '[true,[]]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,[]]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":null}]}]}' <<< '[true,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[true,null]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,null]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[true,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[true,false]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,false]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[true,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[true,true]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,true]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[true,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[true,123]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,123]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[true,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[true,456]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,456]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[true,456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[true,"foo"]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,"foo"]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[true,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[true,"bar"]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,"bar"]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[true,"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[true,{}]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,{}]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[true,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[true,[]]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,[]]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[true,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[true,null]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,null]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[true,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[true,false]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,false]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[true,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[true,true]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,true]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[true,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[true,123]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,123]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[true,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[true,456]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,456]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[true,456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[true,"foo"]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,"foo"]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[true,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[true,"bar"]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,"bar"]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[true,"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[true,{}]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,{}]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[true,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[true,[]]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,[]]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[true,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[true,null]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,null]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[true,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[true,false]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,false]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[true,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[true,true]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,true]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[true,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[true,123]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,123]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[true,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[true,456]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,456]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[true,456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[true,"foo"]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,"foo"]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[true,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[true,"bar"]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,"bar"]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[true,"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[true,{}]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,{}]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[true,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[true,[]]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [true,[]]
json: error: <stdin>:1:6:      ^
[true
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":true}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[true,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":null}]}]}' <<< '[123,null]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,null]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":null}]}]}' <<< '[123,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":null}]}]}' <<< '[123,false]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,false]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":null}]}]}' <<< '[123,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":null}]}]}' <<< '[123,true]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,true]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":null}]}]}' <<< '[123,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":null}]}]}' <<< '[123,123]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,123]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":null}]}]}' <<< '[123,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":null}]}]}' <<< '[123,456]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,456]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":null}]}]}' <<< '[123,456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":null}]}]}' <<< '[123,"foo"]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,"foo"]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":null}]}]}' <<< '[123,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":null}]}]}' <<< '[123,"bar"]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,"bar"]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":null}]}]}' <<< '[123,"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":null}]}]}' <<< '[123,{}]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,{}]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":null}]}]}' <<< '[123,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":null}]}]}' <<< '[123,[]]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,[]]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":null}]}]}' <<< '[123,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[123,null]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,null]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[123,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[123,false]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,false]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[123,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[123,true]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,true]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[123,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[123,123]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,123]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[123,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[123,456]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,456]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[123,456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[123,"foo"]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,"foo"]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[123,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[123,"bar"]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,"bar"]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[123,"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[123,{}]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,{}]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[123,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[123,[]]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,[]]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":false}]}]}' <<< '[123,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[123,null]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,null]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[123,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[123,false]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,false]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[123,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[123,true]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,true]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[123,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[123,123]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,123]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[123,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[123,456]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,456]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[123,456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[123,"foo"]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,"foo"]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[123,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[123,"bar"]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,"bar"]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[123,"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[123,{}]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,{}]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[123,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[123,[]]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,[]]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":true}]}]}' <<< '[123,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[123,null]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,null]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[123,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[123,false]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,false]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[123,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[123,true]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,true]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[123,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[123,123]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,123]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[123,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[123,456]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,456]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[123,456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[123,"foo"]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,"foo"]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[123,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[123,"bar"]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,"bar"]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[123,"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[123,{}]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,{}]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[123,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[123,[]]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,[]]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":456}]}]}' <<< '[123,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[123,null]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,null]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[123,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[123,false]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,false]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[123,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[123,true]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,true]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[123,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[123,123]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,123]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[123,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[123,456]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,456]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[123,456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[123,"foo"]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,"foo"]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[123,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[123,"bar"]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,"bar"]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[123,"bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[123,{}]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,{}]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[123,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[123,[]]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [123,[]]
json: error: <stdin>:1:5:     ^
[123
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":123}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '[123,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":null}]}]}' <<< '["foo",null]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",null]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":null}]}]}' <<< '["foo",null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":null}]}]}' <<< '["foo",false]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",false]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":null}]}]}' <<< '["foo",false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":null}]}]}' <<< '["foo",true]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",true]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":null}]}]}' <<< '["foo",true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":null}]}]}' <<< '["foo",123]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",123]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":null}]}]}' <<< '["foo",123]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":null}]}]}' <<< '["foo",456]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",456]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":null}]}]}' <<< '["foo",456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":null}]}]}' <<< '["foo","foo"]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo","foo"]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":null}]}]}' <<< '["foo","foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":null}]}]}' <<< '["foo","bar"]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo","bar"]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":null}]}]}' <<< '["foo","bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":null}]}]}' <<< '["foo",{}]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",{}]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":null}]}]}' <<< '["foo",{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":null}]}]}' <<< '["foo",[]]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",[]]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":null}]}]}' <<< '["foo",[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":false}]}]}' <<< '["foo",null]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",null]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":false}]}]}' <<< '["foo",null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":false}]}]}' <<< '["foo",false]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",false]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":false}]}]}' <<< '["foo",false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":false}]}]}' <<< '["foo",true]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",true]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":false}]}]}' <<< '["foo",true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":false}]}]}' <<< '["foo",123]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",123]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":false}]}]}' <<< '["foo",123]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":false}]}]}' <<< '["foo",456]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",456]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":false}]}]}' <<< '["foo",456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":false}]}]}' <<< '["foo","foo"]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo","foo"]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":false}]}]}' <<< '["foo","foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":false}]}]}' <<< '["foo","bar"]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo","bar"]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":false}]}]}' <<< '["foo","bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":false}]}]}' <<< '["foo",{}]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",{}]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":false}]}]}' <<< '["foo",{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":false}]}]}' <<< '["foo",[]]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",[]]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":false}]}]}' <<< '["foo",[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":true}]}]}' <<< '["foo",null]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",null]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":true}]}]}' <<< '["foo",null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":true}]}]}' <<< '["foo",false]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",false]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":true}]}]}' <<< '["foo",false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":true}]}]}' <<< '["foo",true]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",true]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":true}]}]}' <<< '["foo",true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":true}]}]}' <<< '["foo",123]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",123]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":true}]}]}' <<< '["foo",123]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":true}]}]}' <<< '["foo",456]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",456]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":true}]}]}' <<< '["foo",456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":true}]}]}' <<< '["foo","foo"]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo","foo"]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":true}]}]}' <<< '["foo","foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":true}]}]}' <<< '["foo","bar"]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo","bar"]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":true}]}]}' <<< '["foo","bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":true}]}]}' <<< '["foo",{}]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",{}]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":true}]}]}' <<< '["foo",{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":true}]}]}' <<< '["foo",[]]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",[]]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":true}]}]}' <<< '["foo",[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":456}]}]}' <<< '["foo",null]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",null]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":456}]}]}' <<< '["foo",null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":456}]}]}' <<< '["foo",false]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",false]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":456}]}]}' <<< '["foo",false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":456}]}]}' <<< '["foo",true]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",true]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":456}]}]}' <<< '["foo",true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":456}]}]}' <<< '["foo",123]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",123]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":456}]}]}' <<< '["foo",123]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":456}]}]}' <<< '["foo",456]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",456]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":456}]}]}' <<< '["foo",456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":456}]}]}' <<< '["foo","foo"]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo","foo"]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":456}]}]}' <<< '["foo","foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":456}]}]}' <<< '["foo","bar"]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo","bar"]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":456}]}]}' <<< '["foo","bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":456}]}]}' <<< '["foo",{}]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",{}]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":456}]}]}' <<< '["foo",{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":456}]}]}' <<< '["foo",[]]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",[]]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":456}]}]}' <<< '["foo",[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '["foo",null]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",null]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '["foo",null]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '["foo",false]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",false]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '["foo",false]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '["foo",true]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",true]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '["foo",true]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '["foo",123]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",123]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '["foo",123]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '["foo",456]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",456]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '["foo",456]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '["foo","foo"]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo","foo"]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '["foo","foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '["foo","bar"]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo","bar"]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '["foo","bar"]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '["foo",{}]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",{}]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '["foo",{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '["foo",[]]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["foo",[]]
json: error: <stdin>:1:7:       ^
["foo"
command failed: json -d '{"type":"list","args":[{"type":"array","args":[{"plain":"foo"}]},{"type":"array","args":[{"plain":"bar"}]}]}' <<< '["foo",[]]'
$

--[ list-closed-array-basic-open-array-basic-val-basic ]------------------------

#
# # 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 '"foo"' '{}' '[]'; do test "$t" == "$t2" && continue; T='{"type":"list","args":[{"type":"array","args":["'"$t"'"]},{"type":"array","args":"'"$t2"'"}]}'; c="json -d '$T' <<< '$v'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"null"}]}' <<< 'null'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"null"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"null"}]}' <<< 'false'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"null"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"null"}]}' <<< 'true'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"null"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"null"}]}' <<< '123'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"null"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"null"}]}' <<< '"foo"'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"null"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"null"}]}' <<< '{}'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"null"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"null"}]}' <<< '[]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"null"}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"boolean"}]}' <<< 'null'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"boolean"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"boolean"}]}' <<< 'false'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"boolean"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"boolean"}]}' <<< 'true'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"boolean"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"boolean"}]}' <<< '123'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"boolean"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"boolean"}]}' <<< '"foo"'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"boolean"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"boolean"}]}' <<< '{}'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"boolean"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"boolean"}]}' <<< '[]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"boolean"}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"number"}]}' <<< 'null'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"number"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"number"}]}' <<< 'false'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"number"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"number"}]}' <<< 'true'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"number"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"number"}]}' <<< '123'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"number"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"number"}]}' <<< '"foo"'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"number"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"number"}]}' <<< '{}'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"number"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"number"}]}' <<< '[]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"number"}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"string"}]}' <<< 'null'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"string"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"string"}]}' <<< 'false'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"string"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"string"}]}' <<< 'true'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"string"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"string"}]}' <<< '123'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"string"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"string"}]}' <<< '"foo"'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"string"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"string"}]}' <<< '{}'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"string"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"string"}]}' <<< '[]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"string"}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"object"}]}' <<< 'null'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"object"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"object"}]}' <<< 'false'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"object"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"object"}]}' <<< 'true'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"object"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"object"}]}' <<< '123'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"object"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"object"}]}' <<< '"foo"'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"object"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"object"}]}' <<< '{}'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"object"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"object"}]}' <<< '[]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"object"}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"array"}]}' <<< 'null'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"array"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"array"}]}' <<< 'false'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"array"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"array"}]}' <<< 'true'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"array"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"array"}]}' <<< '123'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"array"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"array"}]}' <<< '"foo"'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"array"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"array"}]}' <<< '{}'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"array"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"array"}]}' <<< '[]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"array"}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"type"}]}' <<< 'null'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"type"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"type"}]}' <<< 'false'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"type"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"type"}]}' <<< 'true'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"type"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"type"}]}' <<< '123'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"type"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"type"}]}' <<< '"foo"'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"type"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"type"}]}' <<< '{}'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"type"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"type"}]}' <<< '[]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"type"}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"boolean"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"boolean"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"boolean"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"boolean"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"boolean"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"boolean"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"boolean"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"boolean"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"boolean"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"boolean"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"boolean"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"boolean"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"boolean"}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"boolean"}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"boolean"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"boolean"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"boolean"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"boolean"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"boolean"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"number"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"number"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"number"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"number"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"number"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"number"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"number"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"number"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"number"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"number"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"number"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"number"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"number"}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"number"}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"number"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"number"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"number"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"number"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"number"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"string"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"string"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"string"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"string"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"string"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"string"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"string"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"string"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"string"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"string"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"string"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"string"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"string"}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"string"}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"string"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"string"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"string"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"string"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"string"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"object"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"object"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"object"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"object"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"object"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"object"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"object"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"object"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"object"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"object"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"object"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"object"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"object"}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"object"}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"object"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"object"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"object"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"object"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"object"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"array"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"array"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"array"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"array"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"array"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"array"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"array"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"array"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"array"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"array"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"array"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"array"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"array"}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"array"}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"array"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"array"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"array"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"array"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"array"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"type"}]}' <<< 'null'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"type"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"type"}]}' <<< 'false'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"type"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"type"}]}' <<< 'true'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"type"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"type"}]}' <<< '123'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"type"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"type"}]}' <<< '"foo"'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"type"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"type"}]}' <<< '{}'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"type"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"type"}]}' <<< '[]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"type"}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"null"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"null"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"null"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"null"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"null"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"null"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"null"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"null"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"null"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"null"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"null"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"null"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"null"}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"null"}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"null"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"null"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"null"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"null"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"null"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"number"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"number"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"number"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"number"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"number"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"number"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"number"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"number"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"number"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"number"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"number"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"number"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"number"}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"number"}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"number"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"number"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"number"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"number"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"number"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"string"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"string"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"string"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"string"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"string"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"string"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"string"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"string"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"string"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"string"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"string"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"string"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"string"}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"string"}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"string"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"string"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"string"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"string"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"string"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"object"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"object"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"object"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"object"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"object"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"object"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"object"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"object"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"object"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"object"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"object"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"object"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"object"}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"object"}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"object"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"object"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"object"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"object"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"object"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"array"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"array"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"array"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"array"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"array"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"array"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"array"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"array"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"array"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"array"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"array"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"array"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"array"}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"array"}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"array"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"array"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"array"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"array"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"array"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"type"}]}' <<< 'null'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"type"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"type"}]}' <<< 'false'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"type"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"type"}]}' <<< 'true'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"type"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"type"}]}' <<< '123'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"type"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"type"}]}' <<< '"foo"'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"type"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"type"}]}' <<< '{}'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"type"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"type"}]}' <<< '[]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"type"}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"null"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"null"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"null"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"null"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"null"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"null"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"null"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"null"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"null"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"null"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"null"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"null"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"null"}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"null"}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"null"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"null"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"null"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"null"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"null"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"boolean"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"boolean"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"boolean"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"boolean"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"boolean"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"boolean"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"boolean"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"boolean"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"boolean"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"boolean"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"boolean"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"boolean"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"boolean"}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"boolean"}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"boolean"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"boolean"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"boolean"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"boolean"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"boolean"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"string"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"string"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"string"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"string"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"string"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"string"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"string"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"string"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"string"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"string"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"string"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"string"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"string"}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"string"}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"string"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"string"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"string"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"string"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"string"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"object"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"object"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"object"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"object"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"object"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"object"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"object"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"object"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"object"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"object"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"object"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"object"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"object"}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"object"}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"object"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"object"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"object"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"object"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"object"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"array"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"array"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"array"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"array"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"array"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"array"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"array"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"array"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"array"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"array"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"array"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"array"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"array"}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"array"}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"array"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"array"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"array"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"array"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"array"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"type"}]}' <<< 'null'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"type"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"type"}]}' <<< 'false'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"type"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"type"}]}' <<< 'true'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"type"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"type"}]}' <<< '123'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"type"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"type"}]}' <<< '"foo"'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"type"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"type"}]}' <<< '{}'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"type"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"type"}]}' <<< '[]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"type"}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"null"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"null"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"null"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"null"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"null"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"null"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"null"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"null"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"null"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"null"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"null"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"null"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"null"}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"null"}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"null"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"null"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"null"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"null"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"null"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"boolean"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"boolean"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"boolean"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"boolean"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"boolean"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"boolean"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"boolean"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"boolean"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"boolean"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"boolean"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"boolean"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"boolean"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"boolean"}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"boolean"}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"boolean"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"boolean"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"boolean"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"boolean"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"boolean"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"number"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"number"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"number"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"number"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"number"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"number"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"number"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"number"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"number"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"number"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"number"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"number"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"number"}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"number"}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"number"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"number"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"number"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"number"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"number"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"object"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"object"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"object"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"object"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"object"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"object"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"object"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"object"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"object"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"object"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"object"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"object"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"object"}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"object"}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"object"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"object"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"object"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"object"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"object"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"array"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"array"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"array"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"array"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"array"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"array"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"array"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"array"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"array"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"array"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"array"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"array"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"array"}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"array"}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"array"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"array"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"array"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"array"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"array"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"type"}]}' <<< 'null'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"type"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"type"}]}' <<< 'false'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"type"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"type"}]}' <<< 'true'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"type"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"type"}]}' <<< '123'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"type"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"type"}]}' <<< '"foo"'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"type"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"type"}]}' <<< '{}'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"type"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"type"}]}' <<< '[]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"type"}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"null"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"null"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"null"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"null"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"null"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"null"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"null"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"null"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"null"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"null"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"null"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"null"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"null"}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"null"}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"null"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"null"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"null"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"null"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"null"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"boolean"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"boolean"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"boolean"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"boolean"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"boolean"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"boolean"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"boolean"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"boolean"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"boolean"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"boolean"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"boolean"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"boolean"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"boolean"}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"boolean"}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"boolean"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"boolean"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"boolean"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"boolean"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"boolean"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"number"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"number"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"number"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"number"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"number"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"number"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"number"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"number"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"number"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"number"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"number"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"number"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"number"}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"number"}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"number"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"number"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"number"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"number"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"number"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"string"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"string"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"string"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"string"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"string"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"string"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"string"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"string"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"string"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"string"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"string"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"string"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"string"}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"string"}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"string"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"string"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"string"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"string"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"string"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"array"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"array"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"array"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"array"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"array"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"array"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"array"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"array"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"array"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"array"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"array"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"array"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"array"}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"array"}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"array"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"array"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"array"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"array"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"array"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"type"}]}' <<< 'null'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"type"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"type"}]}' <<< 'false'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"type"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"type"}]}' <<< 'true'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"type"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"type"}]}' <<< '123'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"type"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"type"}]}' <<< '"foo"'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"type"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"type"}]}' <<< '{}'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"type"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"type"}]}' <<< '[]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"type"}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"null"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"null"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"null"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"null"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"null"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"null"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"null"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"null"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"null"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"null"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"null"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"null"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"null"}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"null"}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"null"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"null"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"null"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"null"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"null"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"boolean"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"boolean"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"boolean"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"boolean"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"boolean"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"boolean"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"boolean"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"boolean"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"boolean"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"boolean"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"boolean"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"boolean"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"boolean"}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"boolean"}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"boolean"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"boolean"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"boolean"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"boolean"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"boolean"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"number"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"number"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"number"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"number"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"number"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"number"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"number"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"number"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"number"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"number"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"number"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"number"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"number"}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"number"}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"number"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"number"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"number"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"number"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"number"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"string"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"string"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"string"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"string"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"string"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"string"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"string"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"string"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"string"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"string"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"string"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"string"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"string"}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"string"}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"string"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"string"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"string"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"string"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"string"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"object"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"object"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"object"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"object"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"object"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"object"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"object"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"object"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"object"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"object"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"object"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"object"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"object"}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"object"}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"object"}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"object"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"object"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"object"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"object"}]}' <<< '[]'
[]
$

--[ list-closed-array-basic-open-array-basic-val-array-empty ]------------------

#
# # 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; T='{"type":"list","args":[{"type":"array","args":["'"$t"'"]},{"type":"array","args":"'"$t2"'"}]}'; c="json -d '$T' <<< '[]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"null"}]}' <<< '[]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"null"}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"boolean"}]}' <<< '[]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"boolean"}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"number"}]}' <<< '[]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"number"}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"string"}]}' <<< '[]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"string"}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"object"}]}' <<< '[]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"object"}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"array"}]}' <<< '[]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"array"}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"type"}]}' <<< '[]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"type"}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"boolean"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"number"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"string"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"object"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"array"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"type"}]}' <<< '[]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"type"}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"null"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"number"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"string"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"object"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"array"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"type"}]}' <<< '[]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"type"}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"null"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"boolean"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"string"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"object"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"array"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"type"}]}' <<< '[]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"type"}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"null"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"boolean"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"number"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"object"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"array"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"type"}]}' <<< '[]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"type"}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"null"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"boolean"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"number"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"string"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"array"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"type"}]}' <<< '[]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"type"}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"null"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"boolean"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"number"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"string"}]}' <<< '[]'
[]
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"object"}]}' <<< '[]'
[]
$

--[ list-closed-array-basic-open-array-basic-val-array-basic ]------------------

#
# # 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 T='{"type":"list","args":[{"type":"array","args":["'"$t"'"]},{"type":"array","args":"'"$t2"'"}]}'; c="json -d '$T' <<< '[$v]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"null"}]}' <<< '[null]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"null"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"null"}]}' <<< '[false]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"null"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"null"}]}' <<< '[true]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"null"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"null"}]}' <<< '[123]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"null"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"null"}]}' <<< '["foo"]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"null"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"null"}]}' <<< '[{}]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"null"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"null"}]}' <<< '[[]]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"null"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"boolean"}]}' <<< '[null]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"boolean"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"boolean"}]}' <<< '[false]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"boolean"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"boolean"}]}' <<< '[true]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"boolean"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"boolean"}]}' <<< '[123]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"boolean"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"boolean"}]}' <<< '["foo"]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"boolean"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"boolean"}]}' <<< '[{}]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"boolean"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"boolean"}]}' <<< '[[]]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"boolean"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"number"}]}' <<< '[null]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"number"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"number"}]}' <<< '[false]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"number"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"number"}]}' <<< '[true]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"number"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"number"}]}' <<< '[123]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"number"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"number"}]}' <<< '["foo"]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"number"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"number"}]}' <<< '[{}]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"number"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"number"}]}' <<< '[[]]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"number"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"string"}]}' <<< '[null]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"string"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"string"}]}' <<< '[false]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"string"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"string"}]}' <<< '[true]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"string"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"string"}]}' <<< '[123]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"string"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"string"}]}' <<< '["foo"]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"string"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"string"}]}' <<< '[{}]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"string"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"string"}]}' <<< '[[]]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"string"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"object"}]}' <<< '[null]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"object"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"object"}]}' <<< '[false]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"object"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"object"}]}' <<< '[true]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"object"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"object"}]}' <<< '[123]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"object"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"object"}]}' <<< '["foo"]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"object"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"object"}]}' <<< '[{}]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"object"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"object"}]}' <<< '[[]]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"object"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"array"}]}' <<< '[null]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"array"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"array"}]}' <<< '[false]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"array"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"array"}]}' <<< '[true]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"array"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"array"}]}' <<< '[123]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"array"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"array"}]}' <<< '["foo"]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"array"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"array"}]}' <<< '[{}]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"array"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"array"}]}' <<< '[[]]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"array"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"type"}]}' <<< '[null]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"type"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"type"}]}' <<< '[false]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"type"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"type"}]}' <<< '[true]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"type"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"type"}]}' <<< '[123]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"type"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"type"}]}' <<< '["foo"]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"type"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"type"}]}' <<< '[{}]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"type"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"type"}]}' <<< '[[]]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"type"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"boolean"}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"boolean"}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"boolean"}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"boolean"}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"boolean"' or, otherwise, no value at all
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"boolean"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"boolean"}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"boolean"' or, otherwise, no value at all
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"boolean"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"boolean"}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"boolean"' or, otherwise, no value at all
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"boolean"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"boolean"}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"boolean"' or, otherwise, no value at all
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"boolean"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"number"}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"number"}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"number"' or, otherwise, no value at all
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"number"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"number"}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"number"' or, otherwise, no value at all
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"number"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"number"}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"number"}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"number"' or, otherwise, no value at all
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"number"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"number"}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"number"' or, otherwise, no value at all
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"number"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"number"}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"number"' or, otherwise, no value at all
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"number"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"string"}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"string"}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"string"' or, otherwise, no value at all
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"string"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"string"}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"string"' or, otherwise, no value at all
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"string"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"string"}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"string"' or, otherwise, no value at all
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"string"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"string"}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"string"}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"string"' or, otherwise, no value at all
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"string"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"string"}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"string"' or, otherwise, no value at all
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"string"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"object"}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"object"}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"object"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"object"}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"object"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"object"}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"object"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"object"}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"object"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"object"}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"object"}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"object"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"array"}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"array"}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"array"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"array"}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"array"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"array"}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"array"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"array"}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"array"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"array"}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"array"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"array"}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"type"}]}' <<< '[null]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"type"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"type"}]}' <<< '[false]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"type"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"type"}]}' <<< '[true]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"type"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"type"}]}' <<< '[123]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"type"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"type"}]}' <<< '["foo"]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"type"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"type"}]}' <<< '[{}]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"type"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"type"}]}' <<< '[[]]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"type"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"null"}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"null"}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"null"}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"null"}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"boolean"' or, otherwise, no value at all
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"null"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"null"}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"boolean"' or, otherwise, no value at all
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"null"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"null"}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"boolean"' or, otherwise, no value at all
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"null"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"null"}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"boolean"' or, otherwise, no value at all
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"null"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"number"}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"number"' or, otherwise, no value at all
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"number"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"number"}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"number"}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"number"}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"number"}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"number"' or, otherwise, no value at all
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"number"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"number"}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"number"' or, otherwise, no value at all
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"number"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"number"}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"number"' or, otherwise, no value at all
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"number"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"string"}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"string"' or, otherwise, no value at all
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"string"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"string"}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"string"}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"string"}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"string"' or, otherwise, no value at all
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"string"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"string"}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"string"}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"string"' or, otherwise, no value at all
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"string"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"string"}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"string"' or, otherwise, no value at all
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"string"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"object"}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"object"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"object"}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"object"}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"object"}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"object"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"object"}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"object"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"object"}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"object"}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"object"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"array"}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"array"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"array"}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"array"}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"array"}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"array"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"array"}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"array"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"array"}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"array"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"array"}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"type"}]}' <<< '[null]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"type"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"type"}]}' <<< '[false]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"type"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"type"}]}' <<< '[true]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"type"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"type"}]}' <<< '[123]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"type"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"type"}]}' <<< '["foo"]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"type"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"type"}]}' <<< '[{}]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"type"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"type"}]}' <<< '[[]]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"type"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"null"}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"null"}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"number"' or, otherwise, no value at all
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"null"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"null"}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"number"' or, otherwise, no value at all
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"null"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"null"}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"null"}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"number"' or, otherwise, no value at all
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"null"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"null"}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"number"' or, otherwise, no value at all
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"null"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"null"}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"number"' or, otherwise, no value at all
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"null"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"boolean"}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"number"' or, otherwise, no value at all
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"boolean"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"boolean"}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"boolean"}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"boolean"}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"boolean"}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"number"' or, otherwise, no value at all
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"boolean"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"boolean"}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"number"' or, otherwise, no value at all
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"boolean"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"boolean"}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"number"' or, otherwise, no value at all
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"boolean"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"string"}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"string"' or, otherwise, no value at all
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"string"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"string"}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"string"' or, otherwise, no value at all
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"string"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"string"}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"string"' or, otherwise, no value at all
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"string"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"string"}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"string"}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"string"}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"string"' or, otherwise, no value at all
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"string"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"string"}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"string"' or, otherwise, no value at all
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"string"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"object"}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"object"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"object"}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"object"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"object"}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"object"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"object"}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"object"}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"object"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"object"}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"object"}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"object"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"array"}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"array"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"array"}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"array"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"array"}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"array"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"array"}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"array"}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"array"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"array"}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"array"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"array"}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"type"}]}' <<< '[null]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"type"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"type"}]}' <<< '[false]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"type"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"type"}]}' <<< '[true]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"type"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"type"}]}' <<< '[123]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"type"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"type"}]}' <<< '["foo"]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"type"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"type"}]}' <<< '[{}]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"type"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"type"}]}' <<< '[[]]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"type"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"null"}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"null"}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"string"' or, otherwise, no value at all
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"null"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"null"}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"string"' or, otherwise, no value at all
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"null"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"null"}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"string"' or, otherwise, no value at all
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"null"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"null"}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"null"}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"string"' or, otherwise, no value at all
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"null"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"null"}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"string"' or, otherwise, no value at all
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"null"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"boolean"}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"string"' or, otherwise, no value at all
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"boolean"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"boolean"}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"boolean"}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"boolean"}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"string"' or, otherwise, no value at all
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"boolean"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"boolean"}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"boolean"}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"string"' or, otherwise, no value at all
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"boolean"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"boolean"}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"string"' or, otherwise, no value at all
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"boolean"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"number"}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"string"' or, otherwise, no value at all
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"number"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"number"}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"string"' or, otherwise, no value at all
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"number"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"number"}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"string"' or, otherwise, no value at all
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"number"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"number"}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"number"}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"number"}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"string"' or, otherwise, no value at all
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"number"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"number"}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"string"' or, otherwise, no value at all
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"number"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"object"}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"object"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"object"}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"object"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"object"}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"object"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"object"}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"object"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"object"}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"object"}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"object"}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"object"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"array"}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"array"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"array"}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"array"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"array"}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"array"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"array"}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"array"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"array"}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"array"}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"array"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"array"}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"type"}]}' <<< '[null]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"type"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"type"}]}' <<< '[false]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"type"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"type"}]}' <<< '[true]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"type"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"type"}]}' <<< '[123]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"type"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"type"}]}' <<< '["foo"]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"type"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"type"}]}' <<< '[{}]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"type"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"type"}]}' <<< '[[]]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"type"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"null"}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"null"}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"null"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"null"}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"null"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"null"}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"null"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"null"}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"null"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"null"}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"null"}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"null"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"boolean"}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"boolean"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"boolean"}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"boolean"}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"boolean"}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"boolean"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"boolean"}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"boolean"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"boolean"}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"boolean"}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"boolean"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"number"}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"number"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"number"}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"number"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"number"}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"number"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"number"}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"number"}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"number"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"number"}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"number"}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"number"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"string"}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"string"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"string"}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"string"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"string"}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"string"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"string"}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"string"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"string"}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"string"}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"string"}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `"object"' or, otherwise, no value at all
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"string"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"array"}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"array"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"array"}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"array"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"array"}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"array"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"array"}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"array"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"array"}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"array"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"array"}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"array"}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"type"}]}' <<< '[null]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"type"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"type"}]}' <<< '[false]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"type"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"type"}]}' <<< '[true]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"type"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"type"}]}' <<< '[123]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"type"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"type"}]}' <<< '["foo"]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"type"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"type"}]}' <<< '[{}]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"type"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"type"}]}' <<< '[[]]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"type"}]}' <<< '[[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"null"}]}' <<< '[null]'
[null]
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"null"}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"null"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"null"}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"null"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"null"}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"null"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"null"}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"null"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"null"}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"null"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"null"}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"boolean"}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"boolean"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"boolean"}]}' <<< '[false]'
[false]
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"boolean"}]}' <<< '[true]'
[true]
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"boolean"}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"boolean"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"boolean"}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"boolean"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"boolean"}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"boolean"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"boolean"}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"number"}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"number"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"number"}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"number"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"number"}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"number"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"number"}]}' <<< '[123]'
[123]
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"number"}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"number"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"number"}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"number"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"number"}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"string"}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"string"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"string"}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"string"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"string"}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"string"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"string"}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"string"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"string"}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"string"}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"string"}]}' <<< '[{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"string"}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"object"}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"object"}]}' <<< '[null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"object"}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"object"}]}' <<< '[false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"object"}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"object"}]}' <<< '[true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"object"}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"object"}]}' <<< '[123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"object"}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"' or `"array"' or, otherwise, no value at all
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"object"}]}' <<< '["foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"object"}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"object"}]}' <<< '[[]]'
[[]]
$

--[ list-closed-array-basic-open-array-basic-val-array-basic-basic ]------------

#
# # 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 t2 in type null boolean number string object array; do test "$t" == "$t2" && continue; for v in null false true 123 '"foo"' '{}' '[]'; do T='{"type":"list","args":[{"type":"array","args":["'"$t"'"]},{"type":"array","args":"'"$t2"'"}]}'; c="json -d '$T' <<< '[$v0,$v]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"null"}]}' <<< '[[{}],null]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"null"}]}' <<< '[[{}],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"null"}]}' <<< '[[{}],false]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"null"}]}' <<< '[[{}],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"null"}]}' <<< '[[{}],true]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"null"}]}' <<< '[[{}],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"null"}]}' <<< '[[{}],123]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"null"}]}' <<< '[[{}],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"null"}]}' <<< '[[{}],"foo"]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"null"}]}' <<< '[[{}],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"null"}]}' <<< '[[{}],{}]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"null"}]}' <<< '[[{}],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"null"}]}' <<< '[[{}],[]]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"null"}]}' <<< '[[{}],[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"boolean"}]}' <<< '[[{}],null]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"boolean"}]}' <<< '[[{}],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"boolean"}]}' <<< '[[{}],false]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"boolean"}]}' <<< '[[{}],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"boolean"}]}' <<< '[[{}],true]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"boolean"}]}' <<< '[[{}],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"boolean"}]}' <<< '[[{}],123]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"boolean"}]}' <<< '[[{}],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"boolean"}]}' <<< '[[{}],"foo"]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"boolean"}]}' <<< '[[{}],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"boolean"}]}' <<< '[[{}],{}]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"boolean"}]}' <<< '[[{}],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"boolean"}]}' <<< '[[{}],[]]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"boolean"}]}' <<< '[[{}],[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"number"}]}' <<< '[[{}],null]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"number"}]}' <<< '[[{}],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"number"}]}' <<< '[[{}],false]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"number"}]}' <<< '[[{}],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"number"}]}' <<< '[[{}],true]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"number"}]}' <<< '[[{}],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"number"}]}' <<< '[[{}],123]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"number"}]}' <<< '[[{}],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"number"}]}' <<< '[[{}],"foo"]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"number"}]}' <<< '[[{}],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"number"}]}' <<< '[[{}],{}]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"number"}]}' <<< '[[{}],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"number"}]}' <<< '[[{}],[]]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"number"}]}' <<< '[[{}],[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"string"}]}' <<< '[[{}],null]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"string"}]}' <<< '[[{}],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"string"}]}' <<< '[[{}],false]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"string"}]}' <<< '[[{}],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"string"}]}' <<< '[[{}],true]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"string"}]}' <<< '[[{}],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"string"}]}' <<< '[[{}],123]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"string"}]}' <<< '[[{}],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"string"}]}' <<< '[[{}],"foo"]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"string"}]}' <<< '[[{}],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"string"}]}' <<< '[[{}],{}]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"string"}]}' <<< '[[{}],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"string"}]}' <<< '[[{}],[]]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"string"}]}' <<< '[[{}],[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"object"}]}' <<< '[[{}],null]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"object"}]}' <<< '[[{}],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"object"}]}' <<< '[[{}],false]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"object"}]}' <<< '[[{}],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"object"}]}' <<< '[[{}],true]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"object"}]}' <<< '[[{}],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"object"}]}' <<< '[[{}],123]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"object"}]}' <<< '[[{}],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"object"}]}' <<< '[[{}],"foo"]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"object"}]}' <<< '[[{}],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"object"}]}' <<< '[[{}],{}]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"object"}]}' <<< '[[{}],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"object"}]}' <<< '[[{}],[]]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"object"}]}' <<< '[[{}],[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"array"}]}' <<< '[[{}],null]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"array"}]}' <<< '[[{}],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"array"}]}' <<< '[[{}],false]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"array"}]}' <<< '[[{}],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"array"}]}' <<< '[[{}],true]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"array"}]}' <<< '[[{}],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"array"}]}' <<< '[[{}],123]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"array"}]}' <<< '[[{}],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"array"}]}' <<< '[[{}],"foo"]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"array"}]}' <<< '[[{}],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"array"}]}' <<< '[[{}],{}]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"array"}]}' <<< '[[{}],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"array"}]}' <<< '[[{}],[]]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"array"}]}' <<< '[[{}],[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"type"}]}' <<< '[null,null]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"type"}]}' <<< '[null,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"type"}]}' <<< '[null,false]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"type"}]}' <<< '[null,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"type"}]}' <<< '[null,true]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"type"}]}' <<< '[null,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"type"}]}' <<< '[null,123]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"type"}]}' <<< '[null,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"type"}]}' <<< '[null,"foo"]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"type"}]}' <<< '[null,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"type"}]}' <<< '[null,{}]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"type"}]}' <<< '[null,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"type"}]}' <<< '[null,[]]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"type"}]}' <<< '[null,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"boolean"}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"boolean"}]}' <<< '[null,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"boolean"}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"boolean"}]}' <<< '[null,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"boolean"}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"boolean"}]}' <<< '[null,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"boolean"}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"boolean"}]}' <<< '[null,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"boolean"}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"boolean"}]}' <<< '[null,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"boolean"}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"boolean"}]}' <<< '[null,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"boolean"}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"boolean"}]}' <<< '[null,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"number"}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"number"}]}' <<< '[null,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"number"}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"number"}]}' <<< '[null,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"number"}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"number"}]}' <<< '[null,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"number"}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"number"}]}' <<< '[null,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"number"}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"number"}]}' <<< '[null,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"number"}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"number"}]}' <<< '[null,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"number"}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"number"}]}' <<< '[null,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"string"}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"string"}]}' <<< '[null,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"string"}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"string"}]}' <<< '[null,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"string"}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"string"}]}' <<< '[null,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"string"}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"string"}]}' <<< '[null,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"string"}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"string"}]}' <<< '[null,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"string"}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"string"}]}' <<< '[null,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"string"}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"string"}]}' <<< '[null,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"object"}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"object"}]}' <<< '[null,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"object"}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"object"}]}' <<< '[null,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"object"}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"object"}]}' <<< '[null,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"object"}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"object"}]}' <<< '[null,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"object"}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"object"}]}' <<< '[null,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"object"}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"object"}]}' <<< '[null,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"object"}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"object"}]}' <<< '[null,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"array"}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"array"}]}' <<< '[null,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"array"}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"array"}]}' <<< '[null,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"array"}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"array"}]}' <<< '[null,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"array"}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"array"}]}' <<< '[null,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"array"}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"array"}]}' <<< '[null,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"array"}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"array"}]}' <<< '[null,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"array"}]}' <<< '[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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"array"}]}' <<< '[null,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"type"}]}' <<< '[false,null]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"type"}]}' <<< '[false,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"type"}]}' <<< '[false,false]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"type"}]}' <<< '[false,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"type"}]}' <<< '[false,true]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"type"}]}' <<< '[false,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"type"}]}' <<< '[false,123]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"type"}]}' <<< '[false,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"type"}]}' <<< '[false,"foo"]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"type"}]}' <<< '[false,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"type"}]}' <<< '[false,{}]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"type"}]}' <<< '[false,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"type"}]}' <<< '[false,[]]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"type"}]}' <<< '[false,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"null"}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"null"}]}' <<< '[false,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"null"}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"null"}]}' <<< '[false,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"null"}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"null"}]}' <<< '[false,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"null"}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"null"}]}' <<< '[false,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"null"}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"null"}]}' <<< '[false,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"null"}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"null"}]}' <<< '[false,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"null"}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"null"}]}' <<< '[false,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"number"}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"number"}]}' <<< '[false,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"number"}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"number"}]}' <<< '[false,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"number"}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"number"}]}' <<< '[false,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"number"}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"number"}]}' <<< '[false,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"number"}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"number"}]}' <<< '[false,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"number"}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"number"}]}' <<< '[false,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"number"}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"number"}]}' <<< '[false,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"string"}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"string"}]}' <<< '[false,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"string"}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"string"}]}' <<< '[false,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"string"}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"string"}]}' <<< '[false,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"string"}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"string"}]}' <<< '[false,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"string"}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"string"}]}' <<< '[false,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"string"}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"string"}]}' <<< '[false,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"string"}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"string"}]}' <<< '[false,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"object"}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"object"}]}' <<< '[false,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"object"}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"object"}]}' <<< '[false,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"object"}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"object"}]}' <<< '[false,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"object"}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"object"}]}' <<< '[false,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"object"}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"object"}]}' <<< '[false,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"object"}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"object"}]}' <<< '[false,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"object"}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"object"}]}' <<< '[false,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"array"}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"array"}]}' <<< '[false,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"array"}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"array"}]}' <<< '[false,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"array"}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"array"}]}' <<< '[false,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"array"}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"array"}]}' <<< '[false,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"array"}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"array"}]}' <<< '[false,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"array"}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"array"}]}' <<< '[false,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"array"}]}' <<< '[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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"array"}]}' <<< '[false,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"type"}]}' <<< '[456,null]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"type"}]}' <<< '[456,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"type"}]}' <<< '[456,false]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"type"}]}' <<< '[456,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"type"}]}' <<< '[456,true]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"type"}]}' <<< '[456,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"type"}]}' <<< '[456,123]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"type"}]}' <<< '[456,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"type"}]}' <<< '[456,"foo"]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"type"}]}' <<< '[456,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"type"}]}' <<< '[456,{}]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"type"}]}' <<< '[456,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"type"}]}' <<< '[456,[]]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"type"}]}' <<< '[456,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"null"}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"null"}]}' <<< '[456,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"null"}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"null"}]}' <<< '[456,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"null"}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"null"}]}' <<< '[456,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"null"}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"null"}]}' <<< '[456,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"null"}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"null"}]}' <<< '[456,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"null"}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"null"}]}' <<< '[456,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"null"}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"null"}]}' <<< '[456,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"boolean"}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"boolean"}]}' <<< '[456,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"boolean"}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"boolean"}]}' <<< '[456,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"boolean"}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"boolean"}]}' <<< '[456,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"boolean"}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"boolean"}]}' <<< '[456,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"boolean"}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"boolean"}]}' <<< '[456,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"boolean"}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"boolean"}]}' <<< '[456,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"boolean"}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"boolean"}]}' <<< '[456,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"string"}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"string"}]}' <<< '[456,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"string"}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"string"}]}' <<< '[456,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"string"}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"string"}]}' <<< '[456,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"string"}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"string"}]}' <<< '[456,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"string"}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"string"}]}' <<< '[456,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"string"}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"string"}]}' <<< '[456,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"string"}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"string"}]}' <<< '[456,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"object"}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"object"}]}' <<< '[456,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"object"}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"object"}]}' <<< '[456,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"object"}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"object"}]}' <<< '[456,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"object"}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"object"}]}' <<< '[456,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"object"}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"object"}]}' <<< '[456,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"object"}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"object"}]}' <<< '[456,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"object"}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"object"}]}' <<< '[456,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"array"}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"array"}]}' <<< '[456,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"array"}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"array"}]}' <<< '[456,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"array"}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"array"}]}' <<< '[456,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"array"}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"array"}]}' <<< '[456,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"array"}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"array"}]}' <<< '[456,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"array"}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"array"}]}' <<< '[456,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"array"}]}' <<< '[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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"array"}]}' <<< '[456,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"type"}]}' <<< '["bar",null]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"type"}]}' <<< '["bar",null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"type"}]}' <<< '["bar",false]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"type"}]}' <<< '["bar",false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"type"}]}' <<< '["bar",true]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"type"}]}' <<< '["bar",true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"type"}]}' <<< '["bar",123]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"type"}]}' <<< '["bar",123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"type"}]}' <<< '["bar","foo"]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"type"}]}' <<< '["bar","foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"type"}]}' <<< '["bar",{}]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"type"}]}' <<< '["bar",{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"type"}]}' <<< '["bar",[]]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"type"}]}' <<< '["bar",[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"null"}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"null"}]}' <<< '["bar",null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"null"}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"null"}]}' <<< '["bar",false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"null"}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"null"}]}' <<< '["bar",true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"null"}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"null"}]}' <<< '["bar",123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"null"}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"null"}]}' <<< '["bar","foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"null"}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"null"}]}' <<< '["bar",{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"null"}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"null"}]}' <<< '["bar",[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"boolean"}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"boolean"}]}' <<< '["bar",null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"boolean"}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"boolean"}]}' <<< '["bar",false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"boolean"}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"boolean"}]}' <<< '["bar",true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"boolean"}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"boolean"}]}' <<< '["bar",123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"boolean"}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"boolean"}]}' <<< '["bar","foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"boolean"}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"boolean"}]}' <<< '["bar",{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"boolean"}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"boolean"}]}' <<< '["bar",[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"number"}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"number"}]}' <<< '["bar",null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"number"}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"number"}]}' <<< '["bar",false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"number"}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"number"}]}' <<< '["bar",true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"number"}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"number"}]}' <<< '["bar",123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"number"}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"number"}]}' <<< '["bar","foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"number"}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"number"}]}' <<< '["bar",{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"number"}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"number"}]}' <<< '["bar",[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"object"}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"object"}]}' <<< '["bar",null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"object"}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"object"}]}' <<< '["bar",false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"object"}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"object"}]}' <<< '["bar",true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"object"}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"object"}]}' <<< '["bar",123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"object"}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"object"}]}' <<< '["bar","foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"object"}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"object"}]}' <<< '["bar",{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"object"}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"object"}]}' <<< '["bar",[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"array"}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"array"}]}' <<< '["bar",null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"array"}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"array"}]}' <<< '["bar",false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"array"}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"array"}]}' <<< '["bar",true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"array"}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"array"}]}' <<< '["bar",123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"array"}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"array"}]}' <<< '["bar","foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"array"}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"array"}]}' <<< '["bar",{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"array"}]}' <<< '["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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"array"}]}' <<< '["bar",[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"type"}]}' <<< '[{},null]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"type"}]}' <<< '[{},null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"type"}]}' <<< '[{},false]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"type"}]}' <<< '[{},false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"type"}]}' <<< '[{},true]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"type"}]}' <<< '[{},true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"type"}]}' <<< '[{},123]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"type"}]}' <<< '[{},123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"type"}]}' <<< '[{},"foo"]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"type"}]}' <<< '[{},"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"type"}]}' <<< '[{},{}]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"type"}]}' <<< '[{},{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"type"}]}' <<< '[{},[]]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"type"}]}' <<< '[{},[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"null"}]}' <<< '[{},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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"null"}]}' <<< '[{},null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"null"}]}' <<< '[{},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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"null"}]}' <<< '[{},false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"null"}]}' <<< '[{},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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"null"}]}' <<< '[{},true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"null"}]}' <<< '[{},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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"null"}]}' <<< '[{},123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"null"}]}' <<< '[{},"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"null"}]}' <<< '[{},"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"null"}]}' <<< '[{},{}]'
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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"null"}]}' <<< '[{},{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"null"}]}' <<< '[{},[]]'
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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"null"}]}' <<< '[{},[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"boolean"}]}' <<< '[{},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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"boolean"}]}' <<< '[{},null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"boolean"}]}' <<< '[{},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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"boolean"}]}' <<< '[{},false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"boolean"}]}' <<< '[{},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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"boolean"}]}' <<< '[{},true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"boolean"}]}' <<< '[{},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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"boolean"}]}' <<< '[{},123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"boolean"}]}' <<< '[{},"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"boolean"}]}' <<< '[{},"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"boolean"}]}' <<< '[{},{}]'
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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"boolean"}]}' <<< '[{},{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"boolean"}]}' <<< '[{},[]]'
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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"boolean"}]}' <<< '[{},[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"number"}]}' <<< '[{},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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"number"}]}' <<< '[{},null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"number"}]}' <<< '[{},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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"number"}]}' <<< '[{},false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"number"}]}' <<< '[{},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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"number"}]}' <<< '[{},true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"number"}]}' <<< '[{},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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"number"}]}' <<< '[{},123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"number"}]}' <<< '[{},"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"number"}]}' <<< '[{},"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"number"}]}' <<< '[{},{}]'
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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"number"}]}' <<< '[{},{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"number"}]}' <<< '[{},[]]'
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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"number"}]}' <<< '[{},[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"string"}]}' <<< '[{},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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"string"}]}' <<< '[{},null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"string"}]}' <<< '[{},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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"string"}]}' <<< '[{},false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"string"}]}' <<< '[{},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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"string"}]}' <<< '[{},true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"string"}]}' <<< '[{},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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"string"}]}' <<< '[{},123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"string"}]}' <<< '[{},"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"string"}]}' <<< '[{},"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"string"}]}' <<< '[{},{}]'
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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"string"}]}' <<< '[{},{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"string"}]}' <<< '[{},[]]'
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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"string"}]}' <<< '[{},[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"array"}]}' <<< '[{},null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"array"}]}' <<< '[{},false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"array"}]}' <<< '[{},true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"array"}]}' <<< '[{},123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"array"}]}' <<< '[{},"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"array"}]}' <<< '[{},{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"array"}]}' <<< '[{},[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"type"}]}' <<< '[[],null]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"type"}]}' <<< '[[],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"type"}]}' <<< '[[],false]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"type"}]}' <<< '[[],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"type"}]}' <<< '[[],true]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"type"}]}' <<< '[[],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"type"}]}' <<< '[[],123]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"type"}]}' <<< '[[],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"type"}]}' <<< '[[],"foo"]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"type"}]}' <<< '[[],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"type"}]}' <<< '[[],{}]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"type"}]}' <<< '[[],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"type"}]}' <<< '[[],[]]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"type"}]}' <<< '[[],[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"null"}]}' <<< '[[],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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"null"}]}' <<< '[[],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"null"}]}' <<< '[[],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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"null"}]}' <<< '[[],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"null"}]}' <<< '[[],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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"null"}]}' <<< '[[],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"null"}]}' <<< '[[],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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"null"}]}' <<< '[[],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"null"}]}' <<< '[[],"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"null"}]}' <<< '[[],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"null"}]}' <<< '[[],{}]'
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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"null"}]}' <<< '[[],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"null"}]}' <<< '[[],[]]'
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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"null"}]}' <<< '[[],[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"boolean"}]}' <<< '[[],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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"boolean"}]}' <<< '[[],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"boolean"}]}' <<< '[[],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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"boolean"}]}' <<< '[[],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"boolean"}]}' <<< '[[],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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"boolean"}]}' <<< '[[],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"boolean"}]}' <<< '[[],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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"boolean"}]}' <<< '[[],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"boolean"}]}' <<< '[[],"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"boolean"}]}' <<< '[[],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"boolean"}]}' <<< '[[],{}]'
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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"boolean"}]}' <<< '[[],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"boolean"}]}' <<< '[[],[]]'
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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"boolean"}]}' <<< '[[],[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"number"}]}' <<< '[[],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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"number"}]}' <<< '[[],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"number"}]}' <<< '[[],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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"number"}]}' <<< '[[],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"number"}]}' <<< '[[],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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"number"}]}' <<< '[[],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"number"}]}' <<< '[[],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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"number"}]}' <<< '[[],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"number"}]}' <<< '[[],"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"number"}]}' <<< '[[],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"number"}]}' <<< '[[],{}]'
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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"number"}]}' <<< '[[],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"number"}]}' <<< '[[],[]]'
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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"number"}]}' <<< '[[],[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"string"}]}' <<< '[[],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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"string"}]}' <<< '[[],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"string"}]}' <<< '[[],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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"string"}]}' <<< '[[],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"string"}]}' <<< '[[],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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"string"}]}' <<< '[[],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"string"}]}' <<< '[[],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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"string"}]}' <<< '[[],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"string"}]}' <<< '[[],"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"string"}]}' <<< '[[],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"string"}]}' <<< '[[],{}]'
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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"string"}]}' <<< '[[],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"string"}]}' <<< '[[],[]]'
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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"string"}]}' <<< '[[],[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"object"}]}' <<< '[[],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"object"}]}' <<< '[[],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"object"}]}' <<< '[[],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"object"}]}' <<< '[[],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"object"}]}' <<< '[[],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"object"}]}' <<< '[[],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"object"}]}' <<< '[[],[]]'
$

--[ list-closed-array-basic-open-array-basic-val-array-basic-basic2 ]-----------

#
# # 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; case "$t2" 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 T='{"type":"list","args":[{"type":"array","args":["'"$t"'"]},{"type":"array","args":"'"$t2"'"}]}'; c="json -d '$T' <<< '[$v0,$v]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"null"}]}' <<< '[null,null]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"null"}]}' <<< '[null,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"null"}]}' <<< '[null,false]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"null"}]}' <<< '[null,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"null"}]}' <<< '[null,true]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"null"}]}' <<< '[null,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"null"}]}' <<< '[null,123]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"null"}]}' <<< '[null,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"null"}]}' <<< '[null,"foo"]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"null"}]}' <<< '[null,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"null"}]}' <<< '[null,{}]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"null"}]}' <<< '[null,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"null"}]}' <<< '[null,[]]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"null"}]}' <<< '[null,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"boolean"}]}' <<< '[false,null]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"boolean"}]}' <<< '[false,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"boolean"}]}' <<< '[false,false]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"boolean"}]}' <<< '[false,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"boolean"}]}' <<< '[false,true]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"boolean"}]}' <<< '[false,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"boolean"}]}' <<< '[false,123]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"boolean"}]}' <<< '[false,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"boolean"}]}' <<< '[false,"foo"]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"boolean"}]}' <<< '[false,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"boolean"}]}' <<< '[false,{}]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"boolean"}]}' <<< '[false,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"boolean"}]}' <<< '[false,[]]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"boolean"}]}' <<< '[false,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"number"}]}' <<< '[456,null]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"number"}]}' <<< '[456,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"number"}]}' <<< '[456,false]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"number"}]}' <<< '[456,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"number"}]}' <<< '[456,true]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"number"}]}' <<< '[456,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"number"}]}' <<< '[456,123]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"number"}]}' <<< '[456,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"number"}]}' <<< '[456,"foo"]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"number"}]}' <<< '[456,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"number"}]}' <<< '[456,{}]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"number"}]}' <<< '[456,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"number"}]}' <<< '[456,[]]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"number"}]}' <<< '[456,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"string"}]}' <<< '["bar",null]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"string"}]}' <<< '["bar",null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"string"}]}' <<< '["bar",false]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"string"}]}' <<< '["bar",false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"string"}]}' <<< '["bar",true]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"string"}]}' <<< '["bar",true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"string"}]}' <<< '["bar",123]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"string"}]}' <<< '["bar",123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"string"}]}' <<< '["bar","foo"]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"string"}]}' <<< '["bar","foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"string"}]}' <<< '["bar",{}]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"string"}]}' <<< '["bar",{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"string"}]}' <<< '["bar",[]]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"string"}]}' <<< '["bar",[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"object"}]}' <<< '[{},null]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"object"}]}' <<< '[{},null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"object"}]}' <<< '[{},false]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"object"}]}' <<< '[{},false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"object"}]}' <<< '[{},true]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"object"}]}' <<< '[{},true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"object"}]}' <<< '[{},123]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"object"}]}' <<< '[{},123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"object"}]}' <<< '[{},"foo"]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"object"}]}' <<< '[{},"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"object"}]}' <<< '[{},{}]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"object"}]}' <<< '[{},{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"object"}]}' <<< '[{},[]]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"object"}]}' <<< '[{},[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"array"}]}' <<< '[[],null]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"array"}]}' <<< '[[],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"array"}]}' <<< '[[],false]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"array"}]}' <<< '[[],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"array"}]}' <<< '[[],true]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"array"}]}' <<< '[[],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"array"}]}' <<< '[[],123]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"array"}]}' <<< '[[],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"array"}]}' <<< '[[],"foo"]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"array"}]}' <<< '[[],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"array"}]}' <<< '[[],{}]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"array"}]}' <<< '[[],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"array"}]}' <<< '[[],[]]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["type"]},{"type":"array","args":"array"}]}' <<< '[[],[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"type"}]}' <<< '[[{}],null]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"type"}]}' <<< '[[{}],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"type"}]}' <<< '[[{}],false]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"type"}]}' <<< '[[{}],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"type"}]}' <<< '[[{}],true]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"type"}]}' <<< '[[{}],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"type"}]}' <<< '[[{}],123]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"type"}]}' <<< '[[{}],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"type"}]}' <<< '[[{}],"foo"]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"type"}]}' <<< '[[{}],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"type"}]}' <<< '[[{}],{}]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"type"}]}' <<< '[[{}],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"type"}]}' <<< '[[{}],[]]'
json: error: <text>:1:80: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"type"}]}' <<< '[[{}],[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"boolean"}]}' <<< '[false,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"boolean"}]}' <<< '[false,false]'
[false,false]
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"boolean"}]}' <<< '[false,true]'
[false,true]
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"boolean"}]}' <<< '[false,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"boolean"}]}' <<< '[false,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"boolean"}]}' <<< '[false,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"boolean"}]}' <<< '[false,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"number"}]}' <<< '[456,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"number"}]}' <<< '[456,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"number"}]}' <<< '[456,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"number"}]}' <<< '[456,123]'
[456,123]
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"number"}]}' <<< '[456,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"number"}]}' <<< '[456,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"number"}]}' <<< '[456,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"string"}]}' <<< '["bar",null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"string"}]}' <<< '["bar",false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"string"}]}' <<< '["bar",true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"string"}]}' <<< '["bar",123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"string"}]}' <<< '["bar","foo"]'
["bar","foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"string"}]}' <<< '["bar",{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"string"}]}' <<< '["bar",[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"object"}]}' <<< '[{},null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"object"}]}' <<< '[{},false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"object"}]}' <<< '[{},true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"object"}]}' <<< '[{},123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"object"}]}' <<< '[{},"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"object"}]}' <<< '[{},{}]'
[{},{}]
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"object"}]}' <<< '[{},[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"array"}]}' <<< '[[],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"array"}]}' <<< '[[],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"array"}]}' <<< '[[],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"array"}]}' <<< '[[],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"array"}]}' <<< '[[],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"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":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"array"}]}' <<< '[[],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["null"]},{"type":"array","args":"array"}]}' <<< '[[],[]]'
[[],[]]
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"type"}]}' <<< '[[{}],null]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"type"}]}' <<< '[[{}],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"type"}]}' <<< '[[{}],false]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"type"}]}' <<< '[[{}],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"type"}]}' <<< '[[{}],true]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"type"}]}' <<< '[[{}],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"type"}]}' <<< '[[{}],123]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"type"}]}' <<< '[[{}],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"type"}]}' <<< '[[{}],"foo"]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"type"}]}' <<< '[[{}],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"type"}]}' <<< '[[{}],{}]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"type"}]}' <<< '[[{}],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"type"}]}' <<< '[[{}],[]]'
json: error: <text>:1:83: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"type"}]}' <<< '[[{}],[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"null"}]}' <<< '[null,null]'
[null,null]
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"null"}]}' <<< '[null,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"null"}]}' <<< '[null,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"null"}]}' <<< '[null,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"null"}]}' <<< '[null,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"null"}]}' <<< '[null,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"null"}]}' <<< '[null,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"number"}]}' <<< '[456,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"number"}]}' <<< '[456,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"number"}]}' <<< '[456,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"number"}]}' <<< '[456,123]'
[456,123]
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"number"}]}' <<< '[456,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"number"}]}' <<< '[456,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"number"}]}' <<< '[456,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"string"}]}' <<< '["bar",null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"string"}]}' <<< '["bar",false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"string"}]}' <<< '["bar",true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"string"}]}' <<< '["bar",123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"string"}]}' <<< '["bar","foo"]'
["bar","foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"string"}]}' <<< '["bar",{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"string"}]}' <<< '["bar",[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"object"}]}' <<< '[{},null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"object"}]}' <<< '[{},false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"object"}]}' <<< '[{},true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"object"}]}' <<< '[{},123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"object"}]}' <<< '[{},"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"object"}]}' <<< '[{},{}]'
[{},{}]
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"object"}]}' <<< '[{},[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"array"}]}' <<< '[[],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"array"}]}' <<< '[[],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"array"}]}' <<< '[[],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"array"}]}' <<< '[[],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"array"}]}' <<< '[[],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"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":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"array"}]}' <<< '[[],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["boolean"]},{"type":"array","args":"array"}]}' <<< '[[],[]]'
[[],[]]
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"type"}]}' <<< '[[{}],null]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"type"}]}' <<< '[[{}],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"type"}]}' <<< '[[{}],false]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"type"}]}' <<< '[[{}],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"type"}]}' <<< '[[{}],true]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"type"}]}' <<< '[[{}],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"type"}]}' <<< '[[{}],123]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"type"}]}' <<< '[[{}],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"type"}]}' <<< '[[{}],"foo"]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"type"}]}' <<< '[[{}],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"type"}]}' <<< '[[{}],{}]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"type"}]}' <<< '[[{}],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"type"}]}' <<< '[[{}],[]]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"type"}]}' <<< '[[{}],[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"null"}]}' <<< '[null,null]'
[null,null]
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"null"}]}' <<< '[null,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"null"}]}' <<< '[null,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"null"}]}' <<< '[null,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"null"}]}' <<< '[null,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"null"}]}' <<< '[null,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"null"}]}' <<< '[null,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"boolean"}]}' <<< '[false,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"boolean"}]}' <<< '[false,false]'
[false,false]
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"boolean"}]}' <<< '[false,true]'
[false,true]
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"boolean"}]}' <<< '[false,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"boolean"}]}' <<< '[false,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"boolean"}]}' <<< '[false,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"boolean"}]}' <<< '[false,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"string"}]}' <<< '["bar",null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"string"}]}' <<< '["bar",false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"string"}]}' <<< '["bar",true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"string"}]}' <<< '["bar",123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"string"}]}' <<< '["bar","foo"]'
["bar","foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"string"}]}' <<< '["bar",{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"string"}]}' <<< '["bar",[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"object"}]}' <<< '[{},null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"object"}]}' <<< '[{},false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"object"}]}' <<< '[{},true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"object"}]}' <<< '[{},123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"object"}]}' <<< '[{},"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"object"}]}' <<< '[{},{}]'
[{},{}]
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"object"}]}' <<< '[{},[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"array"}]}' <<< '[[],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"array"}]}' <<< '[[],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"array"}]}' <<< '[[],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"array"}]}' <<< '[[],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"array"}]}' <<< '[[],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"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":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"array"}]}' <<< '[[],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["number"]},{"type":"array","args":"array"}]}' <<< '[[],[]]'
[[],[]]
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"type"}]}' <<< '[[{}],null]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"type"}]}' <<< '[[{}],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"type"}]}' <<< '[[{}],false]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"type"}]}' <<< '[[{}],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"type"}]}' <<< '[[{}],true]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"type"}]}' <<< '[[{}],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"type"}]}' <<< '[[{}],123]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"type"}]}' <<< '[[{}],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"type"}]}' <<< '[[{}],"foo"]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"type"}]}' <<< '[[{}],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"type"}]}' <<< '[[{}],{}]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"type"}]}' <<< '[[{}],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"type"}]}' <<< '[[{}],[]]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"type"}]}' <<< '[[{}],[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"null"}]}' <<< '[null,null]'
[null,null]
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"null"}]}' <<< '[null,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"null"}]}' <<< '[null,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"null"}]}' <<< '[null,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"null"}]}' <<< '[null,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"null"}]}' <<< '[null,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"null"}]}' <<< '[null,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"boolean"}]}' <<< '[false,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"boolean"}]}' <<< '[false,false]'
[false,false]
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"boolean"}]}' <<< '[false,true]'
[false,true]
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"boolean"}]}' <<< '[false,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"boolean"}]}' <<< '[false,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"boolean"}]}' <<< '[false,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"boolean"}]}' <<< '[false,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"number"}]}' <<< '[456,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"number"}]}' <<< '[456,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"number"}]}' <<< '[456,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"number"}]}' <<< '[456,123]'
[456,123]
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"number"}]}' <<< '[456,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"number"}]}' <<< '[456,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"number"}]}' <<< '[456,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"object"}]}' <<< '[{},null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"object"}]}' <<< '[{},false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"object"}]}' <<< '[{},true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"object"}]}' <<< '[{},123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"object"}]}' <<< '[{},"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"object"}]}' <<< '[{},{}]'
[{},{}]
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"object"}]}' <<< '[{},[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"array"}]}' <<< '[[],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"array"}]}' <<< '[[],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"array"}]}' <<< '[[],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"array"}]}' <<< '[[],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"array"}]}' <<< '[[],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"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":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"array"}]}' <<< '[[],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["string"]},{"type":"array","args":"array"}]}' <<< '[[],[]]'
[[],[]]
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"type"}]}' <<< '[[{}],null]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"type"}]}' <<< '[[{}],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"type"}]}' <<< '[[{}],false]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"type"}]}' <<< '[[{}],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"type"}]}' <<< '[[{}],true]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"type"}]}' <<< '[[{}],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"type"}]}' <<< '[[{}],123]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"type"}]}' <<< '[[{}],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"type"}]}' <<< '[[{}],"foo"]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"type"}]}' <<< '[[{}],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"type"}]}' <<< '[[{}],{}]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"type"}]}' <<< '[[{}],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"type"}]}' <<< '[[{}],[]]'
json: error: <text>:1:82: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"type"}]}' <<< '[[{}],[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"null"}]}' <<< '[null,null]'
[null,null]
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"null"}]}' <<< '[null,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"null"}]}' <<< '[null,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"null"}]}' <<< '[null,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"null"}]}' <<< '[null,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"null"}]}' <<< '[null,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"null"}]}' <<< '[null,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"boolean"}]}' <<< '[false,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"boolean"}]}' <<< '[false,false]'
[false,false]
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"boolean"}]}' <<< '[false,true]'
[false,true]
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"boolean"}]}' <<< '[false,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"boolean"}]}' <<< '[false,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"boolean"}]}' <<< '[false,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"boolean"}]}' <<< '[false,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"number"}]}' <<< '[456,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"number"}]}' <<< '[456,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"number"}]}' <<< '[456,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"number"}]}' <<< '[456,123]'
[456,123]
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"number"}]}' <<< '[456,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"number"}]}' <<< '[456,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"number"}]}' <<< '[456,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"string"}]}' <<< '["bar",null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"string"}]}' <<< '["bar",false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"string"}]}' <<< '["bar",true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"string"}]}' <<< '["bar",123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"string"}]}' <<< '["bar","foo"]'
["bar","foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"string"}]}' <<< '["bar",{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"string"}]}' <<< '["bar",[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"array"}]}' <<< '[[],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"array"}]}' <<< '[[],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"array"}]}' <<< '[[],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"array"}]}' <<< '[[],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"array"}]}' <<< '[[],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"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":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"array"}]}' <<< '[[],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["object"]},{"type":"array","args":"array"}]}' <<< '[[],[]]'
[[],[]]
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"type"}]}' <<< '[[{}],null]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"type"}]}' <<< '[[{}],null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"type"}]}' <<< '[[{}],false]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"type"}]}' <<< '[[{}],false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"type"}]}' <<< '[[{}],true]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"type"}]}' <<< '[[{}],true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"type"}]}' <<< '[[{}],123]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"type"}]}' <<< '[[{}],123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"type"}]}' <<< '[[{}],"foo"]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"type"}]}' <<< '[[{}],"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"type"}]}' <<< '[[{}],{}]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"type"}]}' <<< '[[{}],{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"type"}]}' <<< '[[{}],[]]'
json: error: <text>:1:81: type lib error: attribute error: invalid "list" type object: array ambiguity (the other defined at 1:24)
command failed: json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"type"}]}' <<< '[[{}],[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"null"}]}' <<< '[null,null]'
[null,null]
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"null"}]}' <<< '[null,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"null"}]}' <<< '[null,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"null"}]}' <<< '[null,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"null"}]}' <<< '[null,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"null"}]}' <<< '[null,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"null"}]}' <<< '[null,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"boolean"}]}' <<< '[false,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"boolean"}]}' <<< '[false,false]'
[false,false]
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"boolean"}]}' <<< '[false,true]'
[false,true]
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"boolean"}]}' <<< '[false,123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"boolean"}]}' <<< '[false,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"boolean"}]}' <<< '[false,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"boolean"}]}' <<< '[false,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"number"}]}' <<< '[456,null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"number"}]}' <<< '[456,false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"number"}]}' <<< '[456,true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"number"}]}' <<< '[456,123]'
[456,123]
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"number"}]}' <<< '[456,"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"number"}]}' <<< '[456,{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"number"}]}' <<< '[456,[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"string"}]}' <<< '["bar",null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"string"}]}' <<< '["bar",false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"string"}]}' <<< '["bar",true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"string"}]}' <<< '["bar",123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"string"}]}' <<< '["bar","foo"]'
["bar","foo"]
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"string"}]}' <<< '["bar",{}]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"string"}]}' <<< '["bar",[]]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"object"}]}' <<< '[{},null]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"object"}]}' <<< '[{},false]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"object"}]}' <<< '[{},true]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"object"}]}' <<< '[{},123]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"object"}]}' <<< '[{},"foo"]'
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"object"}]}' <<< '[{},{}]'
[{},{}]
$ json -d '{"type":"list","args":[{"type":"array","args":["array"]},{"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":"list","args":[{"type":"array","args":["array"]},{"type":"array","args":"object"}]}' <<< '[{},[]]'
$

--[ list-closed-array-basic-open-array-plain-val-basic ]------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for p in null false true 123 '"foo"'; do for v in null false true 123 456 '"foo"' '"bar"' '{}' '[]'; do T='{"type":"list","args":[{"type":"array","args":["'"$t"'"]},{"type":"array","args":{"plain":'"$p"'}}]}'; c="json -d '$T' <<< '$v'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
# ...
$


