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

#
# json parser test suite:
#

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

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

# run all tests:
$ json-parser-regtest -A

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

$ json0() { LD_LIBRARY_PATH=../lib ../src/json --pretty --verbose "$@"; }
$

--[ empty ]---------------------------------------------------------------------

$ json() { json0 --literal-value "$@"; }
$ echo|json
json: error: <stdin>:2:1: parse error: unexpected token
json: error: <stdin>:2:1: 
json: error: <stdin>:2:1: ^
command failed: echo|json
$ echo -n|json
json: error: <stdin>:1:1: parse error: unexpected token
json: error: <stdin>:1:1: 
json: error: <stdin>:1:1: ^
command failed: echo -n|json
$ echo -ne '\n\n\n\n'|json
json: error: <stdin>:5:1: parse error: unexpected token
json: error: <stdin>:5:1: \n\n\n
json: error: <stdin>:5:1:       ^
command failed: echo -ne '\n\n\n\n'|json
$ echo -ne ' \t\n\r'|json
json: error: <stdin>:2:2: parse error: unexpected token
json: error: <stdin>:2:2:  \t\n\r
json: error: <stdin>:2:2:        ^
command failed: echo -ne ' \t\n\r'|json
$

--[ char ]----------------------------------------------------------------------

$ json() { json0 --literal-value "$@"; }
$ echo 'a'|json
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: a
json: error: <stdin>:1:1: ^
command failed: echo 'a'|json
$ echo -n 'a'|json
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: a
json: error: <stdin>:1:1: ^
command failed: echo -n 'a'|json
$ echo -e 'a\n'|json
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: a\n
json: error: <stdin>:1:1: ^
command failed: echo -e 'a\n'|json
$ echo -e '\na'|json
json: error: <stdin>:2:1: lex error: invalid char
json: error: <stdin>:2:1: \na
json: error: <stdin>:2:1:   ^
command failed: echo -e '\na'|json
$ echo 'a '|json
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: a 
json: error: <stdin>:1:1: ^
command failed: echo 'a '|json
$ echo ' a'|json
json: error: <stdin>:1:2: lex error: invalid char
json: error: <stdin>:1:2:  a
json: error: <stdin>:1:2:  ^
command failed: echo ' a'|json
$ echo -e 'a\t'|json
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: a\t
json: error: <stdin>:1:1: ^
command failed: echo -e 'a\t'|json
$ echo -e '\ta'|json
json: error: <stdin>:1:2: lex error: invalid char
json: error: <stdin>:1:2: \ta
json: error: <stdin>:1:2:   ^
command failed: echo -e '\ta'|json
$ echo -e 'a\r'|json
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: a\r
json: error: <stdin>:1:1: ^
command failed: echo -e 'a\r'|json
$ echo -e '\ra'|json
json: error: <stdin>:1:2: lex error: invalid char
json: error: <stdin>:1:2: \ra
json: error: <stdin>:1:2:   ^
command failed: echo -e '\ra'|json
$

--[ literal ]-------------------------------------------------------------------

$ json() { json0 --literal-value "$@"; }
#
# # meta command:
# $ for v in null false true; do for((b=1;b<=32;b++));do c="echo -n $v|json -b $b"; echo "$ $c"; eval "$c"; done; done
#
$ echo -n null|json -b 1
null
$ echo -n null|json -b 2
null
$ echo -n null|json -b 3
null
$ echo -n null|json -b 4
null
$ echo -n null|json -b 5
null
$ echo -n null|json -b 6
null
$ echo -n null|json -b 7
null
$ echo -n null|json -b 8
null
$ echo -n null|json -b 9
null
$ echo -n null|json -b 10
null
$ echo -n null|json -b 11
null
$ echo -n null|json -b 12
null
$ echo -n null|json -b 13
null
$ echo -n null|json -b 14
null
$ echo -n null|json -b 15
null
$ echo -n null|json -b 16
null
$ echo -n null|json -b 17
null
$ echo -n null|json -b 18
null
$ echo -n null|json -b 19
null
$ echo -n null|json -b 20
null
$ echo -n null|json -b 21
null
$ echo -n null|json -b 22
null
$ echo -n null|json -b 23
null
$ echo -n null|json -b 24
null
$ echo -n null|json -b 25
null
$ echo -n null|json -b 26
null
$ echo -n null|json -b 27
null
$ echo -n null|json -b 28
null
$ echo -n null|json -b 29
null
$ echo -n null|json -b 30
null
$ echo -n null|json -b 31
null
$ echo -n null|json -b 32
null
$ echo -n false|json -b 1
false
$ echo -n false|json -b 2
false
$ echo -n false|json -b 3
false
$ echo -n false|json -b 4
false
$ echo -n false|json -b 5
false
$ echo -n false|json -b 6
false
$ echo -n false|json -b 7
false
$ echo -n false|json -b 8
false
$ echo -n false|json -b 9
false
$ echo -n false|json -b 10
false
$ echo -n false|json -b 11
false
$ echo -n false|json -b 12
false
$ echo -n false|json -b 13
false
$ echo -n false|json -b 14
false
$ echo -n false|json -b 15
false
$ echo -n false|json -b 16
false
$ echo -n false|json -b 17
false
$ echo -n false|json -b 18
false
$ echo -n false|json -b 19
false
$ echo -n false|json -b 20
false
$ echo -n false|json -b 21
false
$ echo -n false|json -b 22
false
$ echo -n false|json -b 23
false
$ echo -n false|json -b 24
false
$ echo -n false|json -b 25
false
$ echo -n false|json -b 26
false
$ echo -n false|json -b 27
false
$ echo -n false|json -b 28
false
$ echo -n false|json -b 29
false
$ echo -n false|json -b 30
false
$ echo -n false|json -b 31
false
$ echo -n false|json -b 32
false
$ echo -n true|json -b 1
true
$ echo -n true|json -b 2
true
$ echo -n true|json -b 3
true
$ echo -n true|json -b 4
true
$ echo -n true|json -b 5
true
$ echo -n true|json -b 6
true
$ echo -n true|json -b 7
true
$ echo -n true|json -b 8
true
$ echo -n true|json -b 9
true
$ echo -n true|json -b 10
true
$ echo -n true|json -b 11
true
$ echo -n true|json -b 12
true
$ echo -n true|json -b 13
true
$ echo -n true|json -b 14
true
$ echo -n true|json -b 15
true
$ echo -n true|json -b 16
true
$ echo -n true|json -b 17
true
$ echo -n true|json -b 18
true
$ echo -n true|json -b 19
true
$ echo -n true|json -b 20
true
$ echo -n true|json -b 21
true
$ echo -n true|json -b 22
true
$ echo -n true|json -b 23
true
$ echo -n true|json -b 24
true
$ echo -n true|json -b 25
true
$ echo -n true|json -b 26
true
$ echo -n true|json -b 27
true
$ echo -n true|json -b 28
true
$ echo -n true|json -b 29
true
$ echo -n true|json -b 30
true
$ echo -n true|json -b 31
true
$ echo -n true|json -b 32
true
$

--[ literal2 ]-------------------------------------------------------------------

$ json() { json0 --no-literal-value "$@"; }
#
# # meta command:
# $ for v in null false true; do for((b=1;b<=32;b++));do c="echo -n $v|json -b $b"; echo "$ $c"; eval "$c"; done; done
#
$ echo -n null|json -b 1
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: echo -n null|json -b 1
$ echo -n null|json -b 2
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: echo -n null|json -b 2
$ echo -n null|json -b 3
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: echo -n null|json -b 3
$ echo -n null|json -b 4
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: echo -n null|json -b 4
$ echo -n null|json -b 5
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: echo -n null|json -b 5
$ echo -n null|json -b 6
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: echo -n null|json -b 6
$ echo -n null|json -b 7
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: echo -n null|json -b 7
$ echo -n null|json -b 8
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: echo -n null|json -b 8
$ echo -n null|json -b 9
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: echo -n null|json -b 9
$ echo -n null|json -b 10
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: echo -n null|json -b 10
$ echo -n null|json -b 11
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: echo -n null|json -b 11
$ echo -n null|json -b 12
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: echo -n null|json -b 12
$ echo -n null|json -b 13
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: echo -n null|json -b 13
$ echo -n null|json -b 14
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: echo -n null|json -b 14
$ echo -n null|json -b 15
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: echo -n null|json -b 15
$ echo -n null|json -b 16
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: echo -n null|json -b 16
$ echo -n null|json -b 17
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: echo -n null|json -b 17
$ echo -n null|json -b 18
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: echo -n null|json -b 18
$ echo -n null|json -b 19
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: echo -n null|json -b 19
$ echo -n null|json -b 20
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: echo -n null|json -b 20
$ echo -n null|json -b 21
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: echo -n null|json -b 21
$ echo -n null|json -b 22
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: echo -n null|json -b 22
$ echo -n null|json -b 23
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: echo -n null|json -b 23
$ echo -n null|json -b 24
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: echo -n null|json -b 24
$ echo -n null|json -b 25
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: echo -n null|json -b 25
$ echo -n null|json -b 26
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: echo -n null|json -b 26
$ echo -n null|json -b 27
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: echo -n null|json -b 27
$ echo -n null|json -b 28
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: echo -n null|json -b 28
$ echo -n null|json -b 29
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: echo -n null|json -b 29
$ echo -n null|json -b 30
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: echo -n null|json -b 30
$ echo -n null|json -b 31
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: echo -n null|json -b 31
$ echo -n null|json -b 32
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: echo -n null|json -b 32
$ echo -n false|json -b 1
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: echo -n false|json -b 1
$ echo -n false|json -b 2
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: echo -n false|json -b 2
$ echo -n false|json -b 3
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: echo -n false|json -b 3
$ echo -n false|json -b 4
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: echo -n false|json -b 4
$ echo -n false|json -b 5
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: echo -n false|json -b 5
$ echo -n false|json -b 6
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: echo -n false|json -b 6
$ echo -n false|json -b 7
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: echo -n false|json -b 7
$ echo -n false|json -b 8
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: echo -n false|json -b 8
$ echo -n false|json -b 9
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: echo -n false|json -b 9
$ echo -n false|json -b 10
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: echo -n false|json -b 10
$ echo -n false|json -b 11
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: echo -n false|json -b 11
$ echo -n false|json -b 12
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: echo -n false|json -b 12
$ echo -n false|json -b 13
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: echo -n false|json -b 13
$ echo -n false|json -b 14
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: echo -n false|json -b 14
$ echo -n false|json -b 15
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: echo -n false|json -b 15
$ echo -n false|json -b 16
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: echo -n false|json -b 16
$ echo -n false|json -b 17
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: echo -n false|json -b 17
$ echo -n false|json -b 18
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: echo -n false|json -b 18
$ echo -n false|json -b 19
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: echo -n false|json -b 19
$ echo -n false|json -b 20
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: echo -n false|json -b 20
$ echo -n false|json -b 21
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: echo -n false|json -b 21
$ echo -n false|json -b 22
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: echo -n false|json -b 22
$ echo -n false|json -b 23
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: echo -n false|json -b 23
$ echo -n false|json -b 24
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: echo -n false|json -b 24
$ echo -n false|json -b 25
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: echo -n false|json -b 25
$ echo -n false|json -b 26
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: echo -n false|json -b 26
$ echo -n false|json -b 27
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: echo -n false|json -b 27
$ echo -n false|json -b 28
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: echo -n false|json -b 28
$ echo -n false|json -b 29
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: echo -n false|json -b 29
$ echo -n false|json -b 30
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: echo -n false|json -b 30
$ echo -n false|json -b 31
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: echo -n false|json -b 31
$ echo -n false|json -b 32
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: echo -n false|json -b 32
$ echo -n true|json -b 1
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: echo -n true|json -b 1
$ echo -n true|json -b 2
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: echo -n true|json -b 2
$ echo -n true|json -b 3
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: echo -n true|json -b 3
$ echo -n true|json -b 4
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: echo -n true|json -b 4
$ echo -n true|json -b 5
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: echo -n true|json -b 5
$ echo -n true|json -b 6
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: echo -n true|json -b 6
$ echo -n true|json -b 7
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: echo -n true|json -b 7
$ echo -n true|json -b 8
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: echo -n true|json -b 8
$ echo -n true|json -b 9
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: echo -n true|json -b 9
$ echo -n true|json -b 10
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: echo -n true|json -b 10
$ echo -n true|json -b 11
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: echo -n true|json -b 11
$ echo -n true|json -b 12
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: echo -n true|json -b 12
$ echo -n true|json -b 13
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: echo -n true|json -b 13
$ echo -n true|json -b 14
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: echo -n true|json -b 14
$ echo -n true|json -b 15
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: echo -n true|json -b 15
$ echo -n true|json -b 16
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: echo -n true|json -b 16
$ echo -n true|json -b 17
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: echo -n true|json -b 17
$ echo -n true|json -b 18
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: echo -n true|json -b 18
$ echo -n true|json -b 19
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: echo -n true|json -b 19
$ echo -n true|json -b 20
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: echo -n true|json -b 20
$ echo -n true|json -b 21
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: echo -n true|json -b 21
$ echo -n true|json -b 22
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: echo -n true|json -b 22
$ echo -n true|json -b 23
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: echo -n true|json -b 23
$ echo -n true|json -b 24
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: echo -n true|json -b 24
$ echo -n true|json -b 25
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: echo -n true|json -b 25
$ echo -n true|json -b 26
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: echo -n true|json -b 26
$ echo -n true|json -b 27
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: echo -n true|json -b 27
$ echo -n true|json -b 28
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: echo -n true|json -b 28
$ echo -n true|json -b 29
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: echo -n true|json -b 29
$ echo -n true|json -b 30
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: echo -n true|json -b 30
$ echo -n true|json -b 31
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: echo -n true|json -b 31
$ echo -n true|json -b 32
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: echo -n true|json -b 32
$

--[ literal3 ]-------------------------------------------------------------------

$ json() { json0 --literal-value "$@"; }
#
# # meta command:
# $ for v in n nu nul f fa fal fals t tr tru; do for((b=1;b<=8;b++));do c="echo -e '$v\r'|json -b $b"; echo "$ $c"; eval "$c"; done; done
#
$ echo -e 'n\r'|json -b 1
json: error: <stdin>:1:2: lex error: invalid literal
json: error: <stdin>:1:2: n\r
json: error: <stdin>:1:2:  ^
command failed: echo -e 'n\r'|json -b 1
$ echo -e 'n\r'|json -b 2
json: error: <stdin>:1:2: lex error: invalid literal
json: error: <stdin>:1:2: n\r
json: error: <stdin>:1:2:  ^
command failed: echo -e 'n\r'|json -b 2
$ echo -e 'n\r'|json -b 3
json: error: <stdin>:1:2: lex error: invalid literal
json: error: <stdin>:1:2: n\r
json: error: <stdin>:1:2:  ^
command failed: echo -e 'n\r'|json -b 3
$ echo -e 'n\r'|json -b 4
json: error: <stdin>:1:2: lex error: invalid literal
json: error: <stdin>:1:2: n\r
json: error: <stdin>:1:2:  ^
command failed: echo -e 'n\r'|json -b 4
$ echo -e 'n\r'|json -b 5
json: error: <stdin>:1:2: lex error: invalid literal
json: error: <stdin>:1:2: n\r
json: error: <stdin>:1:2:  ^
command failed: echo -e 'n\r'|json -b 5
$ echo -e 'n\r'|json -b 6
json: error: <stdin>:1:2: lex error: invalid literal
json: error: <stdin>:1:2: n\r
json: error: <stdin>:1:2:  ^
command failed: echo -e 'n\r'|json -b 6
$ echo -e 'n\r'|json -b 7
json: error: <stdin>:1:2: lex error: invalid literal
json: error: <stdin>:1:2: n\r
json: error: <stdin>:1:2:  ^
command failed: echo -e 'n\r'|json -b 7
$ echo -e 'n\r'|json -b 8
json: error: <stdin>:1:2: lex error: invalid literal
json: error: <stdin>:1:2: n\r
json: error: <stdin>:1:2:  ^
command failed: echo -e 'n\r'|json -b 8
$ echo -e 'nu\r'|json -b 1
json: error: <stdin>:1:3: lex error: invalid literal
json: error: <stdin>:1:3: nu\r
json: error: <stdin>:1:3:   ^
command failed: echo -e 'nu\r'|json -b 1
$ echo -e 'nu\r'|json -b 2
json: error: <stdin>:1:3: lex error: invalid literal
json: error: <stdin>:1:3: nu\r
json: error: <stdin>:1:3:   ^
command failed: echo -e 'nu\r'|json -b 2
$ echo -e 'nu\r'|json -b 3
json: error: <stdin>:1:3: lex error: invalid literal
json: error: <stdin>:1:3: nu\r
json: error: <stdin>:1:3:   ^
command failed: echo -e 'nu\r'|json -b 3
$ echo -e 'nu\r'|json -b 4
json: error: <stdin>:1:3: lex error: invalid literal
json: error: <stdin>:1:3: nu\r
json: error: <stdin>:1:3:   ^
command failed: echo -e 'nu\r'|json -b 4
$ echo -e 'nu\r'|json -b 5
json: error: <stdin>:1:3: lex error: invalid literal
json: error: <stdin>:1:3: nu\r
json: error: <stdin>:1:3:   ^
command failed: echo -e 'nu\r'|json -b 5
$ echo -e 'nu\r'|json -b 6
json: error: <stdin>:1:3: lex error: invalid literal
json: error: <stdin>:1:3: nu\r
json: error: <stdin>:1:3:   ^
command failed: echo -e 'nu\r'|json -b 6
$ echo -e 'nu\r'|json -b 7
json: error: <stdin>:1:3: lex error: invalid literal
json: error: <stdin>:1:3: nu\r
json: error: <stdin>:1:3:   ^
command failed: echo -e 'nu\r'|json -b 7
$ echo -e 'nu\r'|json -b 8
json: error: <stdin>:1:3: lex error: invalid literal
json: error: <stdin>:1:3: nu\r
json: error: <stdin>:1:3:   ^
command failed: echo -e 'nu\r'|json -b 8
$ echo -e 'nul\r'|json -b 1
json: error: <stdin>:1:4: lex error: invalid literal
json: error: <stdin>:1:4: nul\r
json: error: <stdin>:1:4:    ^
command failed: echo -e 'nul\r'|json -b 1
$ echo -e 'nul\r'|json -b 2
json: error: <stdin>:1:4: lex error: invalid literal
json: error: <stdin>:1:4: nul\r
json: error: <stdin>:1:4:    ^
command failed: echo -e 'nul\r'|json -b 2
$ echo -e 'nul\r'|json -b 3
json: error: <stdin>:1:4: lex error: invalid literal
json: error: <stdin>:1:4: nul\r
json: error: <stdin>:1:4:    ^
command failed: echo -e 'nul\r'|json -b 3
$ echo -e 'nul\r'|json -b 4
json: error: <stdin>:1:4: lex error: invalid literal
json: error: <stdin>:1:4: nul\r
json: error: <stdin>:1:4:    ^
command failed: echo -e 'nul\r'|json -b 4
$ echo -e 'nul\r'|json -b 5
json: error: <stdin>:1:4: lex error: invalid literal
json: error: <stdin>:1:4: nul\r
json: error: <stdin>:1:4:    ^
command failed: echo -e 'nul\r'|json -b 5
$ echo -e 'nul\r'|json -b 6
json: error: <stdin>:1:4: lex error: invalid literal
json: error: <stdin>:1:4: nul\r
json: error: <stdin>:1:4:    ^
command failed: echo -e 'nul\r'|json -b 6
$ echo -e 'nul\r'|json -b 7
json: error: <stdin>:1:4: lex error: invalid literal
json: error: <stdin>:1:4: nul\r
json: error: <stdin>:1:4:    ^
command failed: echo -e 'nul\r'|json -b 7
$ echo -e 'nul\r'|json -b 8
json: error: <stdin>:1:4: lex error: invalid literal
json: error: <stdin>:1:4: nul\r
json: error: <stdin>:1:4:    ^
command failed: echo -e 'nul\r'|json -b 8
$ echo -e 'f\r'|json -b 1
json: error: <stdin>:1:2: lex error: invalid literal
json: error: <stdin>:1:2: f\r
json: error: <stdin>:1:2:  ^
command failed: echo -e 'f\r'|json -b 1
$ echo -e 'f\r'|json -b 2
json: error: <stdin>:1:2: lex error: invalid literal
json: error: <stdin>:1:2: f\r
json: error: <stdin>:1:2:  ^
command failed: echo -e 'f\r'|json -b 2
$ echo -e 'f\r'|json -b 3
json: error: <stdin>:1:2: lex error: invalid literal
json: error: <stdin>:1:2: f\r
json: error: <stdin>:1:2:  ^
command failed: echo -e 'f\r'|json -b 3
$ echo -e 'f\r'|json -b 4
json: error: <stdin>:1:2: lex error: invalid literal
json: error: <stdin>:1:2: f\r
json: error: <stdin>:1:2:  ^
command failed: echo -e 'f\r'|json -b 4
$ echo -e 'f\r'|json -b 5
json: error: <stdin>:1:2: lex error: invalid literal
json: error: <stdin>:1:2: f\r
json: error: <stdin>:1:2:  ^
command failed: echo -e 'f\r'|json -b 5
$ echo -e 'f\r'|json -b 6
json: error: <stdin>:1:2: lex error: invalid literal
json: error: <stdin>:1:2: f\r
json: error: <stdin>:1:2:  ^
command failed: echo -e 'f\r'|json -b 6
$ echo -e 'f\r'|json -b 7
json: error: <stdin>:1:2: lex error: invalid literal
json: error: <stdin>:1:2: f\r
json: error: <stdin>:1:2:  ^
command failed: echo -e 'f\r'|json -b 7
$ echo -e 'f\r'|json -b 8
json: error: <stdin>:1:2: lex error: invalid literal
json: error: <stdin>:1:2: f\r
json: error: <stdin>:1:2:  ^
command failed: echo -e 'f\r'|json -b 8
$ echo -e 'fa\r'|json -b 1
json: error: <stdin>:1:3: lex error: invalid literal
json: error: <stdin>:1:3: fa\r
json: error: <stdin>:1:3:   ^
command failed: echo -e 'fa\r'|json -b 1
$ echo -e 'fa\r'|json -b 2
json: error: <stdin>:1:3: lex error: invalid literal
json: error: <stdin>:1:3: fa\r
json: error: <stdin>:1:3:   ^
command failed: echo -e 'fa\r'|json -b 2
$ echo -e 'fa\r'|json -b 3
json: error: <stdin>:1:3: lex error: invalid literal
json: error: <stdin>:1:3: fa\r
json: error: <stdin>:1:3:   ^
command failed: echo -e 'fa\r'|json -b 3
$ echo -e 'fa\r'|json -b 4
json: error: <stdin>:1:3: lex error: invalid literal
json: error: <stdin>:1:3: fa\r
json: error: <stdin>:1:3:   ^
command failed: echo -e 'fa\r'|json -b 4
$ echo -e 'fa\r'|json -b 5
json: error: <stdin>:1:3: lex error: invalid literal
json: error: <stdin>:1:3: fa\r
json: error: <stdin>:1:3:   ^
command failed: echo -e 'fa\r'|json -b 5
$ echo -e 'fa\r'|json -b 6
json: error: <stdin>:1:3: lex error: invalid literal
json: error: <stdin>:1:3: fa\r
json: error: <stdin>:1:3:   ^
command failed: echo -e 'fa\r'|json -b 6
$ echo -e 'fa\r'|json -b 7
json: error: <stdin>:1:3: lex error: invalid literal
json: error: <stdin>:1:3: fa\r
json: error: <stdin>:1:3:   ^
command failed: echo -e 'fa\r'|json -b 7
$ echo -e 'fa\r'|json -b 8
json: error: <stdin>:1:3: lex error: invalid literal
json: error: <stdin>:1:3: fa\r
json: error: <stdin>:1:3:   ^
command failed: echo -e 'fa\r'|json -b 8
$ echo -e 'fal\r'|json -b 1
json: error: <stdin>:1:4: lex error: invalid literal
json: error: <stdin>:1:4: fal\r
json: error: <stdin>:1:4:    ^
command failed: echo -e 'fal\r'|json -b 1
$ echo -e 'fal\r'|json -b 2
json: error: <stdin>:1:4: lex error: invalid literal
json: error: <stdin>:1:4: fal\r
json: error: <stdin>:1:4:    ^
command failed: echo -e 'fal\r'|json -b 2
$ echo -e 'fal\r'|json -b 3
json: error: <stdin>:1:4: lex error: invalid literal
json: error: <stdin>:1:4: fal\r
json: error: <stdin>:1:4:    ^
command failed: echo -e 'fal\r'|json -b 3
$ echo -e 'fal\r'|json -b 4
json: error: <stdin>:1:4: lex error: invalid literal
json: error: <stdin>:1:4: fal\r
json: error: <stdin>:1:4:    ^
command failed: echo -e 'fal\r'|json -b 4
$ echo -e 'fal\r'|json -b 5
json: error: <stdin>:1:4: lex error: invalid literal
json: error: <stdin>:1:4: fal\r
json: error: <stdin>:1:4:    ^
command failed: echo -e 'fal\r'|json -b 5
$ echo -e 'fal\r'|json -b 6
json: error: <stdin>:1:4: lex error: invalid literal
json: error: <stdin>:1:4: fal\r
json: error: <stdin>:1:4:    ^
command failed: echo -e 'fal\r'|json -b 6
$ echo -e 'fal\r'|json -b 7
json: error: <stdin>:1:4: lex error: invalid literal
json: error: <stdin>:1:4: fal\r
json: error: <stdin>:1:4:    ^
command failed: echo -e 'fal\r'|json -b 7
$ echo -e 'fal\r'|json -b 8
json: error: <stdin>:1:4: lex error: invalid literal
json: error: <stdin>:1:4: fal\r
json: error: <stdin>:1:4:    ^
command failed: echo -e 'fal\r'|json -b 8
$ echo -e 'fals\r'|json -b 1
json: error: <stdin>:1:5: lex error: invalid literal
json: error: <stdin>:1:5: fals\r
json: error: <stdin>:1:5:     ^
command failed: echo -e 'fals\r'|json -b 1
$ echo -e 'fals\r'|json -b 2
json: error: <stdin>:1:5: lex error: invalid literal
json: error: <stdin>:1:5: fals\r
json: error: <stdin>:1:5:     ^
command failed: echo -e 'fals\r'|json -b 2
$ echo -e 'fals\r'|json -b 3
json: error: <stdin>:1:5: lex error: invalid literal
json: error: <stdin>:1:5: fals\r
json: error: <stdin>:1:5:     ^
command failed: echo -e 'fals\r'|json -b 3
$ echo -e 'fals\r'|json -b 4
json: error: <stdin>:1:5: lex error: invalid literal
json: error: <stdin>:1:5: fals\r
json: error: <stdin>:1:5:     ^
command failed: echo -e 'fals\r'|json -b 4
$ echo -e 'fals\r'|json -b 5
json: error: <stdin>:1:5: lex error: invalid literal
json: error: <stdin>:1:5: fals\r
json: error: <stdin>:1:5:     ^
command failed: echo -e 'fals\r'|json -b 5
$ echo -e 'fals\r'|json -b 6
json: error: <stdin>:1:5: lex error: invalid literal
json: error: <stdin>:1:5: fals\r
json: error: <stdin>:1:5:     ^
command failed: echo -e 'fals\r'|json -b 6
$ echo -e 'fals\r'|json -b 7
json: error: <stdin>:1:5: lex error: invalid literal
json: error: <stdin>:1:5: fals\r
json: error: <stdin>:1:5:     ^
command failed: echo -e 'fals\r'|json -b 7
$ echo -e 'fals\r'|json -b 8
json: error: <stdin>:1:5: lex error: invalid literal
json: error: <stdin>:1:5: fals\r
json: error: <stdin>:1:5:     ^
command failed: echo -e 'fals\r'|json -b 8
$ echo -e 't\r'|json -b 1
json: error: <stdin>:1:2: lex error: invalid literal
json: error: <stdin>:1:2: t\r
json: error: <stdin>:1:2:  ^
command failed: echo -e 't\r'|json -b 1
$ echo -e 't\r'|json -b 2
json: error: <stdin>:1:2: lex error: invalid literal
json: error: <stdin>:1:2: t\r
json: error: <stdin>:1:2:  ^
command failed: echo -e 't\r'|json -b 2
$ echo -e 't\r'|json -b 3
json: error: <stdin>:1:2: lex error: invalid literal
json: error: <stdin>:1:2: t\r
json: error: <stdin>:1:2:  ^
command failed: echo -e 't\r'|json -b 3
$ echo -e 't\r'|json -b 4
json: error: <stdin>:1:2: lex error: invalid literal
json: error: <stdin>:1:2: t\r
json: error: <stdin>:1:2:  ^
command failed: echo -e 't\r'|json -b 4
$ echo -e 't\r'|json -b 5
json: error: <stdin>:1:2: lex error: invalid literal
json: error: <stdin>:1:2: t\r
json: error: <stdin>:1:2:  ^
command failed: echo -e 't\r'|json -b 5
$ echo -e 't\r'|json -b 6
json: error: <stdin>:1:2: lex error: invalid literal
json: error: <stdin>:1:2: t\r
json: error: <stdin>:1:2:  ^
command failed: echo -e 't\r'|json -b 6
$ echo -e 't\r'|json -b 7
json: error: <stdin>:1:2: lex error: invalid literal
json: error: <stdin>:1:2: t\r
json: error: <stdin>:1:2:  ^
command failed: echo -e 't\r'|json -b 7
$ echo -e 't\r'|json -b 8
json: error: <stdin>:1:2: lex error: invalid literal
json: error: <stdin>:1:2: t\r
json: error: <stdin>:1:2:  ^
command failed: echo -e 't\r'|json -b 8
$ echo -e 'tr\r'|json -b 1
json: error: <stdin>:1:3: lex error: invalid literal
json: error: <stdin>:1:3: tr\r
json: error: <stdin>:1:3:   ^
command failed: echo -e 'tr\r'|json -b 1
$ echo -e 'tr\r'|json -b 2
json: error: <stdin>:1:3: lex error: invalid literal
json: error: <stdin>:1:3: tr\r
json: error: <stdin>:1:3:   ^
command failed: echo -e 'tr\r'|json -b 2
$ echo -e 'tr\r'|json -b 3
json: error: <stdin>:1:3: lex error: invalid literal
json: error: <stdin>:1:3: tr\r
json: error: <stdin>:1:3:   ^
command failed: echo -e 'tr\r'|json -b 3
$ echo -e 'tr\r'|json -b 4
json: error: <stdin>:1:3: lex error: invalid literal
json: error: <stdin>:1:3: tr\r
json: error: <stdin>:1:3:   ^
command failed: echo -e 'tr\r'|json -b 4
$ echo -e 'tr\r'|json -b 5
json: error: <stdin>:1:3: lex error: invalid literal
json: error: <stdin>:1:3: tr\r
json: error: <stdin>:1:3:   ^
command failed: echo -e 'tr\r'|json -b 5
$ echo -e 'tr\r'|json -b 6
json: error: <stdin>:1:3: lex error: invalid literal
json: error: <stdin>:1:3: tr\r
json: error: <stdin>:1:3:   ^
command failed: echo -e 'tr\r'|json -b 6
$ echo -e 'tr\r'|json -b 7
json: error: <stdin>:1:3: lex error: invalid literal
json: error: <stdin>:1:3: tr\r
json: error: <stdin>:1:3:   ^
command failed: echo -e 'tr\r'|json -b 7
$ echo -e 'tr\r'|json -b 8
json: error: <stdin>:1:3: lex error: invalid literal
json: error: <stdin>:1:3: tr\r
json: error: <stdin>:1:3:   ^
command failed: echo -e 'tr\r'|json -b 8
$ echo -e 'tru\r'|json -b 1
json: error: <stdin>:1:4: lex error: invalid literal
json: error: <stdin>:1:4: tru\r
json: error: <stdin>:1:4:    ^
command failed: echo -e 'tru\r'|json -b 1
$ echo -e 'tru\r'|json -b 2
json: error: <stdin>:1:4: lex error: invalid literal
json: error: <stdin>:1:4: tru\r
json: error: <stdin>:1:4:    ^
command failed: echo -e 'tru\r'|json -b 2
$ echo -e 'tru\r'|json -b 3
json: error: <stdin>:1:4: lex error: invalid literal
json: error: <stdin>:1:4: tru\r
json: error: <stdin>:1:4:    ^
command failed: echo -e 'tru\r'|json -b 3
$ echo -e 'tru\r'|json -b 4
json: error: <stdin>:1:4: lex error: invalid literal
json: error: <stdin>:1:4: tru\r
json: error: <stdin>:1:4:    ^
command failed: echo -e 'tru\r'|json -b 4
$ echo -e 'tru\r'|json -b 5
json: error: <stdin>:1:4: lex error: invalid literal
json: error: <stdin>:1:4: tru\r
json: error: <stdin>:1:4:    ^
command failed: echo -e 'tru\r'|json -b 5
$ echo -e 'tru\r'|json -b 6
json: error: <stdin>:1:4: lex error: invalid literal
json: error: <stdin>:1:4: tru\r
json: error: <stdin>:1:4:    ^
command failed: echo -e 'tru\r'|json -b 6
$ echo -e 'tru\r'|json -b 7
json: error: <stdin>:1:4: lex error: invalid literal
json: error: <stdin>:1:4: tru\r
json: error: <stdin>:1:4:    ^
command failed: echo -e 'tru\r'|json -b 7
$ echo -e 'tru\r'|json -b 8
json: error: <stdin>:1:4: lex error: invalid literal
json: error: <stdin>:1:4: tru\r
json: error: <stdin>:1:4:    ^
command failed: echo -e 'tru\r'|json -b 8
$

--[ literal4 ]-------------------------------------------------------------------

$ json() { json0 --literal-value --multi-obj "$@"; }
#
# # meta command:
# $ for x in null false true; do for y in null false true; do for b in 1 4 8;do c="echo -e '$x$y'|json -b $b"; echo "$ $c"; eval "$c"; done; done; done
#
$ echo -e 'nullnull'|json -b 1
null
null
$ echo -e 'nullnull'|json -b 4
null
null
$ echo -e 'nullnull'|json -b 8
null
null
$ echo -e 'nullfalse'|json -b 1
null
false
$ echo -e 'nullfalse'|json -b 4
null
false
$ echo -e 'nullfalse'|json -b 8
null
false
$ echo -e 'nulltrue'|json -b 1
null
true
$ echo -e 'nulltrue'|json -b 4
null
true
$ echo -e 'nulltrue'|json -b 8
null
true
$ echo -e 'falsenull'|json -b 1
false
null
$ echo -e 'falsenull'|json -b 4
false
null
$ echo -e 'falsenull'|json -b 8
false
null
$ echo -e 'falsefalse'|json -b 1
false
false
$ echo -e 'falsefalse'|json -b 4
false
false
$ echo -e 'falsefalse'|json -b 8
false
false
$ echo -e 'falsetrue'|json -b 1
false
true
$ echo -e 'falsetrue'|json -b 4
false
true
$ echo -e 'falsetrue'|json -b 8
false
true
$ echo -e 'truenull'|json -b 1
true
null
$ echo -e 'truenull'|json -b 4
true
null
$ echo -e 'truenull'|json -b 8
true
null
$ echo -e 'truefalse'|json -b 1
true
false
$ echo -e 'truefalse'|json -b 4
true
false
$ echo -e 'truefalse'|json -b 8
true
false
$ echo -e 'truetrue'|json -b 1
true
true
$ echo -e 'truetrue'|json -b 4
true
true
$ echo -e 'truetrue'|json -b 8
true
true
$

--[ literal5 ]-------------------------------------------------------------------

$ json() { json0 --literal-value --no-multi-obj --parse "$@"; }
#
# # meta command:
# $ for x in null false true; do for y in null false true; do for b in 1 4 8;do c="echo -e '$x$y'|json -b $b"; echo "$ $c"; eval "$c"; done; done; done
#
$ echo -e 'nullnull'|json -b 1
json: error: <stdin>:1:5: parse error: multiple objects are not allowed
json: error: <stdin>:1:5: nullnull
json: error: <stdin>:1:5:     ^
command failed: echo -e 'nullnull'|json -b 1
$ echo -e 'nullnull'|json -b 4
json: error: <stdin>:1:5: parse error: multiple objects are not allowed
json: error: <stdin>:1:5: nullnull
json: error: <stdin>:1:5:     ^
command failed: echo -e 'nullnull'|json -b 4
$ echo -e 'nullnull'|json -b 8
json: error: <stdin>:1:5: parse error: multiple objects are not allowed
json: error: <stdin>:1:5: nullnull
json: error: <stdin>:1:5:     ^
command failed: echo -e 'nullnull'|json -b 8
$ echo -e 'nullfalse'|json -b 1
json: error: <stdin>:1:5: parse error: multiple objects are not allowed
json: error: <stdin>:1:5: nullfalse
json: error: <stdin>:1:5:     ^
command failed: echo -e 'nullfalse'|json -b 1
$ echo -e 'nullfalse'|json -b 4
json: error: <stdin>:1:5: parse error: multiple objects are not allowed
json: error: <stdin>:1:5: nullfalse
json: error: <stdin>:1:5:     ^
command failed: echo -e 'nullfalse'|json -b 4
$ echo -e 'nullfalse'|json -b 8
json: error: <stdin>:1:5: parse error: multiple objects are not allowed
json: error: <stdin>:1:5: nullfalse
json: error: <stdin>:1:5:     ^
command failed: echo -e 'nullfalse'|json -b 8
$ echo -e 'nulltrue'|json -b 1
json: error: <stdin>:1:5: parse error: multiple objects are not allowed
json: error: <stdin>:1:5: nulltrue
json: error: <stdin>:1:5:     ^
command failed: echo -e 'nulltrue'|json -b 1
$ echo -e 'nulltrue'|json -b 4
json: error: <stdin>:1:5: parse error: multiple objects are not allowed
json: error: <stdin>:1:5: nulltrue
json: error: <stdin>:1:5:     ^
command failed: echo -e 'nulltrue'|json -b 4
$ echo -e 'nulltrue'|json -b 8
json: error: <stdin>:1:5: parse error: multiple objects are not allowed
json: error: <stdin>:1:5: nulltrue
json: error: <stdin>:1:5:     ^
command failed: echo -e 'nulltrue'|json -b 8
$ echo -e 'falsenull'|json -b 1
json: error: <stdin>:1:6: parse error: multiple objects are not allowed
json: error: <stdin>:1:6: falsenull
json: error: <stdin>:1:6:      ^
command failed: echo -e 'falsenull'|json -b 1
$ echo -e 'falsenull'|json -b 4
json: error: <stdin>:1:6: parse error: multiple objects are not allowed
json: error: <stdin>:1:6: falsenull
json: error: <stdin>:1:6:      ^
command failed: echo -e 'falsenull'|json -b 4
$ echo -e 'falsenull'|json -b 8
json: error: <stdin>:1:6: parse error: multiple objects are not allowed
json: error: <stdin>:1:6: falsenull
json: error: <stdin>:1:6:      ^
command failed: echo -e 'falsenull'|json -b 8
$ echo -e 'falsefalse'|json -b 1
json: error: <stdin>:1:6: parse error: multiple objects are not allowed
json: error: <stdin>:1:6: falsefalse
json: error: <stdin>:1:6:      ^
command failed: echo -e 'falsefalse'|json -b 1
$ echo -e 'falsefalse'|json -b 4
json: error: <stdin>:1:6: parse error: multiple objects are not allowed
json: error: <stdin>:1:6: falsefalse
json: error: <stdin>:1:6:      ^
command failed: echo -e 'falsefalse'|json -b 4
$ echo -e 'falsefalse'|json -b 8
json: error: <stdin>:1:6: parse error: multiple objects are not allowed
json: error: <stdin>:1:6: falsefalse
json: error: <stdin>:1:6:      ^
command failed: echo -e 'falsefalse'|json -b 8
$ echo -e 'falsetrue'|json -b 1
json: error: <stdin>:1:6: parse error: multiple objects are not allowed
json: error: <stdin>:1:6: falsetrue
json: error: <stdin>:1:6:      ^
command failed: echo -e 'falsetrue'|json -b 1
$ echo -e 'falsetrue'|json -b 4
json: error: <stdin>:1:6: parse error: multiple objects are not allowed
json: error: <stdin>:1:6: falsetrue
json: error: <stdin>:1:6:      ^
command failed: echo -e 'falsetrue'|json -b 4
$ echo -e 'falsetrue'|json -b 8
json: error: <stdin>:1:6: parse error: multiple objects are not allowed
json: error: <stdin>:1:6: falsetrue
json: error: <stdin>:1:6:      ^
command failed: echo -e 'falsetrue'|json -b 8
$ echo -e 'truenull'|json -b 1
json: error: <stdin>:1:5: parse error: multiple objects are not allowed
json: error: <stdin>:1:5: truenull
json: error: <stdin>:1:5:     ^
command failed: echo -e 'truenull'|json -b 1
$ echo -e 'truenull'|json -b 4
json: error: <stdin>:1:5: parse error: multiple objects are not allowed
json: error: <stdin>:1:5: truenull
json: error: <stdin>:1:5:     ^
command failed: echo -e 'truenull'|json -b 4
$ echo -e 'truenull'|json -b 8
json: error: <stdin>:1:5: parse error: multiple objects are not allowed
json: error: <stdin>:1:5: truenull
json: error: <stdin>:1:5:     ^
command failed: echo -e 'truenull'|json -b 8
$ echo -e 'truefalse'|json -b 1
json: error: <stdin>:1:5: parse error: multiple objects are not allowed
json: error: <stdin>:1:5: truefalse
json: error: <stdin>:1:5:     ^
command failed: echo -e 'truefalse'|json -b 1
$ echo -e 'truefalse'|json -b 4
json: error: <stdin>:1:5: parse error: multiple objects are not allowed
json: error: <stdin>:1:5: truefalse
json: error: <stdin>:1:5:     ^
command failed: echo -e 'truefalse'|json -b 4
$ echo -e 'truefalse'|json -b 8
json: error: <stdin>:1:5: parse error: multiple objects are not allowed
json: error: <stdin>:1:5: truefalse
json: error: <stdin>:1:5:     ^
command failed: echo -e 'truefalse'|json -b 8
$ echo -e 'truetrue'|json -b 1
json: error: <stdin>:1:5: parse error: multiple objects are not allowed
json: error: <stdin>:1:5: truetrue
json: error: <stdin>:1:5:     ^
command failed: echo -e 'truetrue'|json -b 1
$ echo -e 'truetrue'|json -b 4
json: error: <stdin>:1:5: parse error: multiple objects are not allowed
json: error: <stdin>:1:5: truetrue
json: error: <stdin>:1:5:     ^
command failed: echo -e 'truetrue'|json -b 4
$ echo -e 'truetrue'|json -b 8
json: error: <stdin>:1:5: parse error: multiple objects are not allowed
json: error: <stdin>:1:5: truetrue
json: error: <stdin>:1:5:     ^
command failed: echo -e 'truetrue'|json -b 8
$

--[ literal6 ]-------------------------------------------------------------------

$ json() { json0 --literal-value "$@"; }
#
# # meta command:
# $ for v in null false true; do n=`echo -n $v|wc -c`; for((k=1;k<=n;k++)); do for((b=1;b<=k+1;b++));do c="echo -n ${v:0:$k}|json -b $b"; echo "$ $c"; eval "$c"; done; done; done
#
$ echo -n n|json -b 1
json: error: <stdin>:1:2: lex error: invalid literal
json: error: <stdin>:1:2: n
json: error: <stdin>:1:2:  ^
command failed: echo -n n|json -b 1
$ echo -n n|json -b 2
json: error: <stdin>:1:2: lex error: invalid literal
json: error: <stdin>:1:2: n
json: error: <stdin>:1:2:  ^
command failed: echo -n n|json -b 2
$ echo -n nu|json -b 1
json: error: <stdin>:1:3: lex error: invalid literal
json: error: <stdin>:1:3: nu
json: error: <stdin>:1:3:   ^
command failed: echo -n nu|json -b 1
$ echo -n nu|json -b 2
json: error: <stdin>:1:3: lex error: invalid literal
json: error: <stdin>:1:3: nu
json: error: <stdin>:1:3:   ^
command failed: echo -n nu|json -b 2
$ echo -n nu|json -b 3
json: error: <stdin>:1:3: lex error: invalid literal
json: error: <stdin>:1:3: nu
json: error: <stdin>:1:3:   ^
command failed: echo -n nu|json -b 3
$ echo -n nul|json -b 1
json: error: <stdin>:1:4: lex error: invalid literal
json: error: <stdin>:1:4: nul
json: error: <stdin>:1:4:    ^
command failed: echo -n nul|json -b 1
$ echo -n nul|json -b 2
json: error: <stdin>:1:4: lex error: invalid literal
json: error: <stdin>:1:4: nul
json: error: <stdin>:1:4:    ^
command failed: echo -n nul|json -b 2
$ echo -n nul|json -b 3
json: error: <stdin>:1:4: lex error: invalid literal
json: error: <stdin>:1:4: nul
json: error: <stdin>:1:4:    ^
command failed: echo -n nul|json -b 3
$ echo -n nul|json -b 4
json: error: <stdin>:1:4: lex error: invalid literal
json: error: <stdin>:1:4: nul
json: error: <stdin>:1:4:    ^
command failed: echo -n nul|json -b 4
$ echo -n null|json -b 1
null
$ echo -n null|json -b 2
null
$ echo -n null|json -b 3
null
$ echo -n null|json -b 4
null
$ echo -n null|json -b 5
null
$ echo -n f|json -b 1
json: error: <stdin>:1:2: lex error: invalid literal
json: error: <stdin>:1:2: f
json: error: <stdin>:1:2:  ^
command failed: echo -n f|json -b 1
$ echo -n f|json -b 2
json: error: <stdin>:1:2: lex error: invalid literal
json: error: <stdin>:1:2: f
json: error: <stdin>:1:2:  ^
command failed: echo -n f|json -b 2
$ echo -n fa|json -b 1
json: error: <stdin>:1:3: lex error: invalid literal
json: error: <stdin>:1:3: fa
json: error: <stdin>:1:3:   ^
command failed: echo -n fa|json -b 1
$ echo -n fa|json -b 2
json: error: <stdin>:1:3: lex error: invalid literal
json: error: <stdin>:1:3: fa
json: error: <stdin>:1:3:   ^
command failed: echo -n fa|json -b 2
$ echo -n fa|json -b 3
json: error: <stdin>:1:3: lex error: invalid literal
json: error: <stdin>:1:3: fa
json: error: <stdin>:1:3:   ^
command failed: echo -n fa|json -b 3
$ echo -n fal|json -b 1
json: error: <stdin>:1:4: lex error: invalid literal
json: error: <stdin>:1:4: fal
json: error: <stdin>:1:4:    ^
command failed: echo -n fal|json -b 1
$ echo -n fal|json -b 2
json: error: <stdin>:1:4: lex error: invalid literal
json: error: <stdin>:1:4: fal
json: error: <stdin>:1:4:    ^
command failed: echo -n fal|json -b 2
$ echo -n fal|json -b 3
json: error: <stdin>:1:4: lex error: invalid literal
json: error: <stdin>:1:4: fal
json: error: <stdin>:1:4:    ^
command failed: echo -n fal|json -b 3
$ echo -n fal|json -b 4
json: error: <stdin>:1:4: lex error: invalid literal
json: error: <stdin>:1:4: fal
json: error: <stdin>:1:4:    ^
command failed: echo -n fal|json -b 4
$ echo -n fals|json -b 1
json: error: <stdin>:1:5: lex error: invalid literal
json: error: <stdin>:1:5: fals
json: error: <stdin>:1:5:     ^
command failed: echo -n fals|json -b 1
$ echo -n fals|json -b 2
json: error: <stdin>:1:5: lex error: invalid literal
json: error: <stdin>:1:5: fals
json: error: <stdin>:1:5:     ^
command failed: echo -n fals|json -b 2
$ echo -n fals|json -b 3
json: error: <stdin>:1:5: lex error: invalid literal
json: error: <stdin>:1:5: fals
json: error: <stdin>:1:5:     ^
command failed: echo -n fals|json -b 3
$ echo -n fals|json -b 4
json: error: <stdin>:1:5: lex error: invalid literal
json: error: <stdin>:1:5: fals
json: error: <stdin>:1:5:     ^
command failed: echo -n fals|json -b 4
$ echo -n fals|json -b 5
json: error: <stdin>:1:5: lex error: invalid literal
json: error: <stdin>:1:5: fals
json: error: <stdin>:1:5:     ^
command failed: echo -n fals|json -b 5
$ echo -n false|json -b 1
false
$ echo -n false|json -b 2
false
$ echo -n false|json -b 3
false
$ echo -n false|json -b 4
false
$ echo -n false|json -b 5
false
$ echo -n false|json -b 6
false
$ echo -n t|json -b 1
json: error: <stdin>:1:2: lex error: invalid literal
json: error: <stdin>:1:2: t
json: error: <stdin>:1:2:  ^
command failed: echo -n t|json -b 1
$ echo -n t|json -b 2
json: error: <stdin>:1:2: lex error: invalid literal
json: error: <stdin>:1:2: t
json: error: <stdin>:1:2:  ^
command failed: echo -n t|json -b 2
$ echo -n tr|json -b 1
json: error: <stdin>:1:3: lex error: invalid literal
json: error: <stdin>:1:3: tr
json: error: <stdin>:1:3:   ^
command failed: echo -n tr|json -b 1
$ echo -n tr|json -b 2
json: error: <stdin>:1:3: lex error: invalid literal
json: error: <stdin>:1:3: tr
json: error: <stdin>:1:3:   ^
command failed: echo -n tr|json -b 2
$ echo -n tr|json -b 3
json: error: <stdin>:1:3: lex error: invalid literal
json: error: <stdin>:1:3: tr
json: error: <stdin>:1:3:   ^
command failed: echo -n tr|json -b 3
$ echo -n tru|json -b 1
json: error: <stdin>:1:4: lex error: invalid literal
json: error: <stdin>:1:4: tru
json: error: <stdin>:1:4:    ^
command failed: echo -n tru|json -b 1
$ echo -n tru|json -b 2
json: error: <stdin>:1:4: lex error: invalid literal
json: error: <stdin>:1:4: tru
json: error: <stdin>:1:4:    ^
command failed: echo -n tru|json -b 2
$ echo -n tru|json -b 3
json: error: <stdin>:1:4: lex error: invalid literal
json: error: <stdin>:1:4: tru
json: error: <stdin>:1:4:    ^
command failed: echo -n tru|json -b 3
$ echo -n tru|json -b 4
json: error: <stdin>:1:4: lex error: invalid literal
json: error: <stdin>:1:4: tru
json: error: <stdin>:1:4:    ^
command failed: echo -n tru|json -b 4
$ echo -n true|json -b 1
true
$ echo -n true|json -b 2
true
$ echo -n true|json -b 3
true
$ echo -n true|json -b 4
true
$ echo -n true|json -b 5
true
$

--[ string ]--------------------------------------------------------------------

$ json() { json0 --literal-value "$@"; }
#
# # meta command:
# $ for v in '' abcdefghijklmnopqrstuvwxyz ; do for((b=1;b<=32;b++));do c="echo -n '\"$v\"'|json -b $b"; echo "$ $c"; eval "$c"; done; done
#
$ echo -n '""'|json -b 1
""
$ echo -n '""'|json -b 2
""
$ echo -n '""'|json -b 3
""
$ echo -n '""'|json -b 4
""
$ echo -n '""'|json -b 5
""
$ echo -n '""'|json -b 6
""
$ echo -n '""'|json -b 7
""
$ echo -n '""'|json -b 8
""
$ echo -n '""'|json -b 9
""
$ echo -n '""'|json -b 10
""
$ echo -n '""'|json -b 11
""
$ echo -n '""'|json -b 12
""
$ echo -n '""'|json -b 13
""
$ echo -n '""'|json -b 14
""
$ echo -n '""'|json -b 15
""
$ echo -n '""'|json -b 16
""
$ echo -n '""'|json -b 17
""
$ echo -n '""'|json -b 18
""
$ echo -n '""'|json -b 19
""
$ echo -n '""'|json -b 20
""
$ echo -n '""'|json -b 21
""
$ echo -n '""'|json -b 22
""
$ echo -n '""'|json -b 23
""
$ echo -n '""'|json -b 24
""
$ echo -n '""'|json -b 25
""
$ echo -n '""'|json -b 26
""
$ echo -n '""'|json -b 27
""
$ echo -n '""'|json -b 28
""
$ echo -n '""'|json -b 29
""
$ echo -n '""'|json -b 30
""
$ echo -n '""'|json -b 31
""
$ echo -n '""'|json -b 32
""
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 1
"abcdefghijklmnopqrstuvwxyz"
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 2
"abcdefghijklmnopqrstuvwxyz"
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 3
"abcdefghijklmnopqrstuvwxyz"
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 4
"abcdefghijklmnopqrstuvwxyz"
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 5
"abcdefghijklmnopqrstuvwxyz"
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 6
"abcdefghijklmnopqrstuvwxyz"
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 7
"abcdefghijklmnopqrstuvwxyz"
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 8
"abcdefghijklmnopqrstuvwxyz"
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 9
"abcdefghijklmnopqrstuvwxyz"
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 10
"abcdefghijklmnopqrstuvwxyz"
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 11
"abcdefghijklmnopqrstuvwxyz"
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 12
"abcdefghijklmnopqrstuvwxyz"
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 13
"abcdefghijklmnopqrstuvwxyz"
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 14
"abcdefghijklmnopqrstuvwxyz"
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 15
"abcdefghijklmnopqrstuvwxyz"
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 16
"abcdefghijklmnopqrstuvwxyz"
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 17
"abcdefghijklmnopqrstuvwxyz"
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 18
"abcdefghijklmnopqrstuvwxyz"
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 19
"abcdefghijklmnopqrstuvwxyz"
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 20
"abcdefghijklmnopqrstuvwxyz"
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 21
"abcdefghijklmnopqrstuvwxyz"
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 22
"abcdefghijklmnopqrstuvwxyz"
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 23
"abcdefghijklmnopqrstuvwxyz"
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 24
"abcdefghijklmnopqrstuvwxyz"
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 25
"abcdefghijklmnopqrstuvwxyz"
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 26
"abcdefghijklmnopqrstuvwxyz"
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 27
"abcdefghijklmnopqrstuvwxyz"
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 28
"abcdefghijklmnopqrstuvwxyz"
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 29
"abcdefghijklmnopqrstuvwxyz"
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 30
"abcdefghijklmnopqrstuvwxyz"
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 31
"abcdefghijklmnopqrstuvwxyz"
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 32
"abcdefghijklmnopqrstuvwxyz"
$

--[ string2 ]-------------------------------------------------------------------

$ json() { json0 --no-literal-value "$@"; }
#
# # meta command:
# $ for v in '' abcdefghijklmnopqrstuvwxyz ; do for((b=1;b<=32;b++));do c="echo -n '\"$v\"'|json -b $b"; echo "$ $c"; eval "$c"; done; done
#
$ echo -n '""'|json -b 1
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: ""
json: error: <stdin>:1:1: ^
command failed: echo -n '""'|json -b 1
$ echo -n '""'|json -b 2
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: ""
json: error: <stdin>:1:1: ^
command failed: echo -n '""'|json -b 2
$ echo -n '""'|json -b 3
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: ""
json: error: <stdin>:1:1: ^
command failed: echo -n '""'|json -b 3
$ echo -n '""'|json -b 4
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: ""
json: error: <stdin>:1:1: ^
command failed: echo -n '""'|json -b 4
$ echo -n '""'|json -b 5
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: ""
json: error: <stdin>:1:1: ^
command failed: echo -n '""'|json -b 5
$ echo -n '""'|json -b 6
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: ""
json: error: <stdin>:1:1: ^
command failed: echo -n '""'|json -b 6
$ echo -n '""'|json -b 7
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: ""
json: error: <stdin>:1:1: ^
command failed: echo -n '""'|json -b 7
$ echo -n '""'|json -b 8
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: ""
json: error: <stdin>:1:1: ^
command failed: echo -n '""'|json -b 8
$ echo -n '""'|json -b 9
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: ""
json: error: <stdin>:1:1: ^
command failed: echo -n '""'|json -b 9
$ echo -n '""'|json -b 10
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: ""
json: error: <stdin>:1:1: ^
command failed: echo -n '""'|json -b 10
$ echo -n '""'|json -b 11
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: ""
json: error: <stdin>:1:1: ^
command failed: echo -n '""'|json -b 11
$ echo -n '""'|json -b 12
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: ""
json: error: <stdin>:1:1: ^
command failed: echo -n '""'|json -b 12
$ echo -n '""'|json -b 13
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: ""
json: error: <stdin>:1:1: ^
command failed: echo -n '""'|json -b 13
$ echo -n '""'|json -b 14
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: ""
json: error: <stdin>:1:1: ^
command failed: echo -n '""'|json -b 14
$ echo -n '""'|json -b 15
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: ""
json: error: <stdin>:1:1: ^
command failed: echo -n '""'|json -b 15
$ echo -n '""'|json -b 16
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: ""
json: error: <stdin>:1:1: ^
command failed: echo -n '""'|json -b 16
$ echo -n '""'|json -b 17
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: ""
json: error: <stdin>:1:1: ^
command failed: echo -n '""'|json -b 17
$ echo -n '""'|json -b 18
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: ""
json: error: <stdin>:1:1: ^
command failed: echo -n '""'|json -b 18
$ echo -n '""'|json -b 19
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: ""
json: error: <stdin>:1:1: ^
command failed: echo -n '""'|json -b 19
$ echo -n '""'|json -b 20
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: ""
json: error: <stdin>:1:1: ^
command failed: echo -n '""'|json -b 20
$ echo -n '""'|json -b 21
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: ""
json: error: <stdin>:1:1: ^
command failed: echo -n '""'|json -b 21
$ echo -n '""'|json -b 22
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: ""
json: error: <stdin>:1:1: ^
command failed: echo -n '""'|json -b 22
$ echo -n '""'|json -b 23
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: ""
json: error: <stdin>:1:1: ^
command failed: echo -n '""'|json -b 23
$ echo -n '""'|json -b 24
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: ""
json: error: <stdin>:1:1: ^
command failed: echo -n '""'|json -b 24
$ echo -n '""'|json -b 25
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: ""
json: error: <stdin>:1:1: ^
command failed: echo -n '""'|json -b 25
$ echo -n '""'|json -b 26
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: ""
json: error: <stdin>:1:1: ^
command failed: echo -n '""'|json -b 26
$ echo -n '""'|json -b 27
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: ""
json: error: <stdin>:1:1: ^
command failed: echo -n '""'|json -b 27
$ echo -n '""'|json -b 28
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: ""
json: error: <stdin>:1:1: ^
command failed: echo -n '""'|json -b 28
$ echo -n '""'|json -b 29
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: ""
json: error: <stdin>:1:1: ^
command failed: echo -n '""'|json -b 29
$ echo -n '""'|json -b 30
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: ""
json: error: <stdin>:1:1: ^
command failed: echo -n '""'|json -b 30
$ echo -n '""'|json -b 31
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: ""
json: error: <stdin>:1:1: ^
command failed: echo -n '""'|json -b 31
$ echo -n '""'|json -b 32
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: ""
json: error: <stdin>:1:1: ^
command failed: echo -n '""'|json -b 32
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 1
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: "abcdefghijklmnopqrstuvwxyz"
json: error: <stdin>:1:1: ^
command failed: echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 1
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 2
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: "abcdefghijklmnopqrstuvwxyz"
json: error: <stdin>:1:1: ^
command failed: echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 2
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 3
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: "abcdefghijklmnopqrstuvwxyz"
json: error: <stdin>:1:1: ^
command failed: echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 3
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 4
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: "abcdefghijklmnopqrstuvwxyz"
json: error: <stdin>:1:1: ^
command failed: echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 4
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 5
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: "abcdefghijklmnopqrstuvwxyz"
json: error: <stdin>:1:1: ^
command failed: echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 5
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 6
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: "abcdefghijklmnopqrstuvwxyz"
json: error: <stdin>:1:1: ^
command failed: echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 6
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 7
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: "abcdefghijklmnopqrstuvwxyz"
json: error: <stdin>:1:1: ^
command failed: echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 7
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 8
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: "abcdefghijklmnopqrstuvwxyz"
json: error: <stdin>:1:1: ^
command failed: echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 8
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 9
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: "abcdefghijklmnopqrstuvwxyz"
json: error: <stdin>:1:1: ^
command failed: echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 9
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 10
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: "abcdefghijklmnopqrstuvwxyz"
json: error: <stdin>:1:1: ^
command failed: echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 10
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 11
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: "abcdefghijklmnopqrstuvwxyz"
json: error: <stdin>:1:1: ^
command failed: echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 11
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 12
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: "abcdefghijklmnopqrstuvwxyz"
json: error: <stdin>:1:1: ^
command failed: echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 12
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 13
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: "abcdefghijklmnopqrstuvwxyz"
json: error: <stdin>:1:1: ^
command failed: echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 13
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 14
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: "abcdefghijklmnopqrstuvwxyz"
json: error: <stdin>:1:1: ^
command failed: echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 14
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 15
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: "abcdefghijklmnopqrstuvwxyz"
json: error: <stdin>:1:1: ^
command failed: echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 15
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 16
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: "abcdefghijklmnopqrstuvwxyz"
json: error: <stdin>:1:1: ^
command failed: echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 16
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 17
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: "abcdefghijklmnopqrstuvwxyz"
json: error: <stdin>:1:1: ^
command failed: echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 17
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 18
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: "abcdefghijklmnopqrstuvwxyz"
json: error: <stdin>:1:1: ^
command failed: echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 18
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 19
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: "abcdefghijklmnopqrstuvwxyz"
json: error: <stdin>:1:1: ^
command failed: echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 19
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 20
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: "abcdefghijklmnopqrstuvwxyz"
json: error: <stdin>:1:1: ^
command failed: echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 20
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 21
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: "abcdefghijklmnopqrstuvwxyz"
json: error: <stdin>:1:1: ^
command failed: echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 21
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 22
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: "abcdefghijklmnopqrstuvwxyz"
json: error: <stdin>:1:1: ^
command failed: echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 22
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 23
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: "abcdefghijklmnopqrstuvwxyz"
json: error: <stdin>:1:1: ^
command failed: echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 23
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 24
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: "abcdefghijklmnopqrstuvwxyz"
json: error: <stdin>:1:1: ^
command failed: echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 24
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 25
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: "abcdefghijklmnopqrstuvwxyz"
json: error: <stdin>:1:1: ^
command failed: echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 25
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 26
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: "abcdefghijklmnopqrstuvwxyz"
json: error: <stdin>:1:1: ^
command failed: echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 26
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 27
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: "abcdefghijklmnopqrstuvwxyz"
json: error: <stdin>:1:1: ^
command failed: echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 27
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 28
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: "abcdefghijklmnopqrstuvwxyz"
json: error: <stdin>:1:1: ^
command failed: echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 28
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 29
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: "abcdefghijklmnopqrstuvwxyz"
json: error: <stdin>:1:1: ^
command failed: echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 29
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 30
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: "abcdefghijklmnopqrstuvwxyz"
json: error: <stdin>:1:1: ^
command failed: echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 30
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 31
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: "abcdefghijklmnopqrstuvwxyz"
json: error: <stdin>:1:1: ^
command failed: echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 31
$ echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 32
json: error: <stdin>:1:1: parse error: literal values are not allowed
json: error: <stdin>:1:1: "abcdefghijklmnopqrstuvwxyz"
json: error: <stdin>:1:1: ^
command failed: echo -n '"abcdefghijklmnopqrstuvwxyz"'|json -b 32
$

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

$ json() { json0 --literal-value "$@"; }
#
# # meta command:
# $ awk 'BEGIN{for(k=0;k<0x80;k++){if(k>=0x20&&k<0x7f&&k!=0x27){f="";s=sprintf("%c",k)}else{f=" -e";s=sprintf("\\x%x",k)}printf("echo%s \x27\x22%s\x22\x27\n",f,s)}}'|while read -r c0; do for((b=1;b<6;b++));do c="$c0|json -b $b"; echo "$ $c"; eval "$c"; done; done
#
$ echo -e '"\x0"'|json -b 1
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\0"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x0"'|json -b 1
$ echo -e '"\x0"'|json -b 2
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\0"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x0"'|json -b 2
$ echo -e '"\x0"'|json -b 3
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\0"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x0"'|json -b 3
$ echo -e '"\x0"'|json -b 4
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\0"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x0"'|json -b 4
$ echo -e '"\x0"'|json -b 5
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\0"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x0"'|json -b 5
$ echo -e '"\x1"'|json -b 1
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x01"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x1"'|json -b 1
$ echo -e '"\x1"'|json -b 2
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x01"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x1"'|json -b 2
$ echo -e '"\x1"'|json -b 3
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x01"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x1"'|json -b 3
$ echo -e '"\x1"'|json -b 4
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x01"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x1"'|json -b 4
$ echo -e '"\x1"'|json -b 5
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x01"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x1"'|json -b 5
$ echo -e '"\x2"'|json -b 1
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x02"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x2"'|json -b 1
$ echo -e '"\x2"'|json -b 2
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x02"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x2"'|json -b 2
$ echo -e '"\x2"'|json -b 3
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x02"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x2"'|json -b 3
$ echo -e '"\x2"'|json -b 4
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x02"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x2"'|json -b 4
$ echo -e '"\x2"'|json -b 5
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x02"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x2"'|json -b 5
$ echo -e '"\x3"'|json -b 1
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x03"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x3"'|json -b 1
$ echo -e '"\x3"'|json -b 2
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x03"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x3"'|json -b 2
$ echo -e '"\x3"'|json -b 3
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x03"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x3"'|json -b 3
$ echo -e '"\x3"'|json -b 4
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x03"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x3"'|json -b 4
$ echo -e '"\x3"'|json -b 5
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x03"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x3"'|json -b 5
$ echo -e '"\x4"'|json -b 1
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x04"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x4"'|json -b 1
$ echo -e '"\x4"'|json -b 2
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x04"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x4"'|json -b 2
$ echo -e '"\x4"'|json -b 3
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x04"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x4"'|json -b 3
$ echo -e '"\x4"'|json -b 4
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x04"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x4"'|json -b 4
$ echo -e '"\x4"'|json -b 5
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x04"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x4"'|json -b 5
$ echo -e '"\x5"'|json -b 1
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x05"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x5"'|json -b 1
$ echo -e '"\x5"'|json -b 2
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x05"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x5"'|json -b 2
$ echo -e '"\x5"'|json -b 3
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x05"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x5"'|json -b 3
$ echo -e '"\x5"'|json -b 4
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x05"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x5"'|json -b 4
$ echo -e '"\x5"'|json -b 5
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x05"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x5"'|json -b 5
$ echo -e '"\x6"'|json -b 1
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x06"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x6"'|json -b 1
$ echo -e '"\x6"'|json -b 2
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x06"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x6"'|json -b 2
$ echo -e '"\x6"'|json -b 3
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x06"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x6"'|json -b 3
$ echo -e '"\x6"'|json -b 4
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x06"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x6"'|json -b 4
$ echo -e '"\x6"'|json -b 5
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x06"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x6"'|json -b 5
$ echo -e '"\x7"'|json -b 1
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\a"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x7"'|json -b 1
$ echo -e '"\x7"'|json -b 2
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\a"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x7"'|json -b 2
$ echo -e '"\x7"'|json -b 3
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\a"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x7"'|json -b 3
$ echo -e '"\x7"'|json -b 4
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\a"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x7"'|json -b 4
$ echo -e '"\x7"'|json -b 5
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\a"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x7"'|json -b 5
$ echo -e '"\x8"'|json -b 1
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\b"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x8"'|json -b 1
$ echo -e '"\x8"'|json -b 2
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\b"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x8"'|json -b 2
$ echo -e '"\x8"'|json -b 3
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\b"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x8"'|json -b 3
$ echo -e '"\x8"'|json -b 4
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\b"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x8"'|json -b 4
$ echo -e '"\x8"'|json -b 5
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\b"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x8"'|json -b 5
$ echo -e '"\x9"'|json -b 1
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\t"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x9"'|json -b 1
$ echo -e '"\x9"'|json -b 2
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\t"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x9"'|json -b 2
$ echo -e '"\x9"'|json -b 3
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\t"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x9"'|json -b 3
$ echo -e '"\x9"'|json -b 4
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\t"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x9"'|json -b 4
$ echo -e '"\x9"'|json -b 5
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\t"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x9"'|json -b 5
$ echo -e '"\xa"'|json -b 1
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\n"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xa"'|json -b 1
$ echo -e '"\xa"'|json -b 2
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\n"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xa"'|json -b 2
$ echo -e '"\xa"'|json -b 3
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\n"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xa"'|json -b 3
$ echo -e '"\xa"'|json -b 4
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\n"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xa"'|json -b 4
$ echo -e '"\xa"'|json -b 5
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\n"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xa"'|json -b 5
$ echo -e '"\xb"'|json -b 1
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\v"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xb"'|json -b 1
$ echo -e '"\xb"'|json -b 2
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\v"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xb"'|json -b 2
$ echo -e '"\xb"'|json -b 3
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\v"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xb"'|json -b 3
$ echo -e '"\xb"'|json -b 4
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\v"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xb"'|json -b 4
$ echo -e '"\xb"'|json -b 5
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\v"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xb"'|json -b 5
$ echo -e '"\xc"'|json -b 1
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\f"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xc"'|json -b 1
$ echo -e '"\xc"'|json -b 2
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\f"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xc"'|json -b 2
$ echo -e '"\xc"'|json -b 3
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\f"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xc"'|json -b 3
$ echo -e '"\xc"'|json -b 4
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\f"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xc"'|json -b 4
$ echo -e '"\xc"'|json -b 5
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\f"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xc"'|json -b 5
$ echo -e '"\xd"'|json -b 1
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\r"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xd"'|json -b 1
$ echo -e '"\xd"'|json -b 2
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\r"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xd"'|json -b 2
$ echo -e '"\xd"'|json -b 3
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\r"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xd"'|json -b 3
$ echo -e '"\xd"'|json -b 4
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\r"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xd"'|json -b 4
$ echo -e '"\xd"'|json -b 5
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\r"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xd"'|json -b 5
$ echo -e '"\xe"'|json -b 1
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x0e"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xe"'|json -b 1
$ echo -e '"\xe"'|json -b 2
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x0e"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xe"'|json -b 2
$ echo -e '"\xe"'|json -b 3
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x0e"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xe"'|json -b 3
$ echo -e '"\xe"'|json -b 4
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x0e"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xe"'|json -b 4
$ echo -e '"\xe"'|json -b 5
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x0e"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xe"'|json -b 5
$ echo -e '"\xf"'|json -b 1
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x0f"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xf"'|json -b 1
$ echo -e '"\xf"'|json -b 2
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x0f"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xf"'|json -b 2
$ echo -e '"\xf"'|json -b 3
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x0f"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xf"'|json -b 3
$ echo -e '"\xf"'|json -b 4
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x0f"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xf"'|json -b 4
$ echo -e '"\xf"'|json -b 5
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x0f"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xf"'|json -b 5
$ echo -e '"\x10"'|json -b 1
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x10"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x10"'|json -b 1
$ echo -e '"\x10"'|json -b 2
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x10"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x10"'|json -b 2
$ echo -e '"\x10"'|json -b 3
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x10"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x10"'|json -b 3
$ echo -e '"\x10"'|json -b 4
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x10"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x10"'|json -b 4
$ echo -e '"\x10"'|json -b 5
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x10"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x10"'|json -b 5
$ echo -e '"\x11"'|json -b 1
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x11"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x11"'|json -b 1
$ echo -e '"\x11"'|json -b 2
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x11"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x11"'|json -b 2
$ echo -e '"\x11"'|json -b 3
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x11"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x11"'|json -b 3
$ echo -e '"\x11"'|json -b 4
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x11"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x11"'|json -b 4
$ echo -e '"\x11"'|json -b 5
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x11"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x11"'|json -b 5
$ echo -e '"\x12"'|json -b 1
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x12"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x12"'|json -b 1
$ echo -e '"\x12"'|json -b 2
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x12"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x12"'|json -b 2
$ echo -e '"\x12"'|json -b 3
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x12"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x12"'|json -b 3
$ echo -e '"\x12"'|json -b 4
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x12"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x12"'|json -b 4
$ echo -e '"\x12"'|json -b 5
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x12"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x12"'|json -b 5
$ echo -e '"\x13"'|json -b 1
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x13"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x13"'|json -b 1
$ echo -e '"\x13"'|json -b 2
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x13"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x13"'|json -b 2
$ echo -e '"\x13"'|json -b 3
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x13"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x13"'|json -b 3
$ echo -e '"\x13"'|json -b 4
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x13"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x13"'|json -b 4
$ echo -e '"\x13"'|json -b 5
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x13"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x13"'|json -b 5
$ echo -e '"\x14"'|json -b 1
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x14"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x14"'|json -b 1
$ echo -e '"\x14"'|json -b 2
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x14"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x14"'|json -b 2
$ echo -e '"\x14"'|json -b 3
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x14"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x14"'|json -b 3
$ echo -e '"\x14"'|json -b 4
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x14"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x14"'|json -b 4
$ echo -e '"\x14"'|json -b 5
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x14"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x14"'|json -b 5
$ echo -e '"\x15"'|json -b 1
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x15"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x15"'|json -b 1
$ echo -e '"\x15"'|json -b 2
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x15"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x15"'|json -b 2
$ echo -e '"\x15"'|json -b 3
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x15"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x15"'|json -b 3
$ echo -e '"\x15"'|json -b 4
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x15"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x15"'|json -b 4
$ echo -e '"\x15"'|json -b 5
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x15"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x15"'|json -b 5
$ echo -e '"\x16"'|json -b 1
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x16"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x16"'|json -b 1
$ echo -e '"\x16"'|json -b 2
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x16"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x16"'|json -b 2
$ echo -e '"\x16"'|json -b 3
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x16"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x16"'|json -b 3
$ echo -e '"\x16"'|json -b 4
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x16"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x16"'|json -b 4
$ echo -e '"\x16"'|json -b 5
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x16"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x16"'|json -b 5
$ echo -e '"\x17"'|json -b 1
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x17"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x17"'|json -b 1
$ echo -e '"\x17"'|json -b 2
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x17"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x17"'|json -b 2
$ echo -e '"\x17"'|json -b 3
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x17"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x17"'|json -b 3
$ echo -e '"\x17"'|json -b 4
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x17"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x17"'|json -b 4
$ echo -e '"\x17"'|json -b 5
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x17"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x17"'|json -b 5
$ echo -e '"\x18"'|json -b 1
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x18"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x18"'|json -b 1
$ echo -e '"\x18"'|json -b 2
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x18"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x18"'|json -b 2
$ echo -e '"\x18"'|json -b 3
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x18"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x18"'|json -b 3
$ echo -e '"\x18"'|json -b 4
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x18"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x18"'|json -b 4
$ echo -e '"\x18"'|json -b 5
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x18"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x18"'|json -b 5
$ echo -e '"\x19"'|json -b 1
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x19"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x19"'|json -b 1
$ echo -e '"\x19"'|json -b 2
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x19"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x19"'|json -b 2
$ echo -e '"\x19"'|json -b 3
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x19"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x19"'|json -b 3
$ echo -e '"\x19"'|json -b 4
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x19"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x19"'|json -b 4
$ echo -e '"\x19"'|json -b 5
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x19"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x19"'|json -b 5
$ echo -e '"\x1a"'|json -b 1
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x1a"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x1a"'|json -b 1
$ echo -e '"\x1a"'|json -b 2
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x1a"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x1a"'|json -b 2
$ echo -e '"\x1a"'|json -b 3
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x1a"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x1a"'|json -b 3
$ echo -e '"\x1a"'|json -b 4
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x1a"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x1a"'|json -b 4
$ echo -e '"\x1a"'|json -b 5
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x1a"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x1a"'|json -b 5
$ echo -e '"\x1b"'|json -b 1
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x1b"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x1b"'|json -b 1
$ echo -e '"\x1b"'|json -b 2
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x1b"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x1b"'|json -b 2
$ echo -e '"\x1b"'|json -b 3
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x1b"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x1b"'|json -b 3
$ echo -e '"\x1b"'|json -b 4
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x1b"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x1b"'|json -b 4
$ echo -e '"\x1b"'|json -b 5
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x1b"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x1b"'|json -b 5
$ echo -e '"\x1c"'|json -b 1
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x1c"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x1c"'|json -b 1
$ echo -e '"\x1c"'|json -b 2
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x1c"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x1c"'|json -b 2
$ echo -e '"\x1c"'|json -b 3
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x1c"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x1c"'|json -b 3
$ echo -e '"\x1c"'|json -b 4
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x1c"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x1c"'|json -b 4
$ echo -e '"\x1c"'|json -b 5
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x1c"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x1c"'|json -b 5
$ echo -e '"\x1d"'|json -b 1
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x1d"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x1d"'|json -b 1
$ echo -e '"\x1d"'|json -b 2
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x1d"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x1d"'|json -b 2
$ echo -e '"\x1d"'|json -b 3
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x1d"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x1d"'|json -b 3
$ echo -e '"\x1d"'|json -b 4
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x1d"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x1d"'|json -b 4
$ echo -e '"\x1d"'|json -b 5
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x1d"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x1d"'|json -b 5
$ echo -e '"\x1e"'|json -b 1
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x1e"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x1e"'|json -b 1
$ echo -e '"\x1e"'|json -b 2
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x1e"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x1e"'|json -b 2
$ echo -e '"\x1e"'|json -b 3
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x1e"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x1e"'|json -b 3
$ echo -e '"\x1e"'|json -b 4
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x1e"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x1e"'|json -b 4
$ echo -e '"\x1e"'|json -b 5
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x1e"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x1e"'|json -b 5
$ echo -e '"\x1f"'|json -b 1
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x1f"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x1f"'|json -b 1
$ echo -e '"\x1f"'|json -b 2
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x1f"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x1f"'|json -b 2
$ echo -e '"\x1f"'|json -b 3
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x1f"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x1f"'|json -b 3
$ echo -e '"\x1f"'|json -b 4
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x1f"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x1f"'|json -b 4
$ echo -e '"\x1f"'|json -b 5
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x1f"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x1f"'|json -b 5
$ echo '" "'|json -b 1
" "
$ echo '" "'|json -b 2
" "
$ echo '" "'|json -b 3
" "
$ echo '" "'|json -b 4
" "
$ echo '" "'|json -b 5
" "
$ echo '"!"'|json -b 1
"!"
$ echo '"!"'|json -b 2
"!"
$ echo '"!"'|json -b 3
"!"
$ echo '"!"'|json -b 4
"!"
$ echo '"!"'|json -b 5
"!"
$ echo '"""'|json -b 1
json: error: <stdin>:1:4: lex error: invalid string literal
json: error: <stdin>:1:4: """
json: error: <stdin>:1:4:    ^
""
command failed: echo '"""'|json -b 1
$ echo '"""'|json -b 2
json: error: <stdin>:1:4: lex error: invalid string literal
json: error: <stdin>:1:4: """
json: error: <stdin>:1:4:    ^
""
command failed: echo '"""'|json -b 2
$ echo '"""'|json -b 3
json: error: <stdin>:1:4: lex error: invalid string literal
json: error: <stdin>:1:4: """
json: error: <stdin>:1:4:    ^
""
command failed: echo '"""'|json -b 3
$ echo '"""'|json -b 4
json: error: <stdin>:1:4: lex error: invalid string literal
json: error: <stdin>:1:4: """
json: error: <stdin>:1:4:    ^
""
command failed: echo '"""'|json -b 4
$ echo '"""'|json -b 5
json: error: <stdin>:1:4: lex error: invalid string literal
json: error: <stdin>:1:4: """
json: error: <stdin>:1:4:    ^
""
command failed: echo '"""'|json -b 5
$ echo '"#"'|json -b 1
"#"
$ echo '"#"'|json -b 2
"#"
$ echo '"#"'|json -b 3
"#"
$ echo '"#"'|json -b 4
"#"
$ echo '"#"'|json -b 5
"#"
$ echo '"$"'|json -b 1
"$"
$ echo '"$"'|json -b 2
"$"
$ echo '"$"'|json -b 3
"$"
$ echo '"$"'|json -b 4
"$"
$ echo '"$"'|json -b 5
"$"
$ echo '"%"'|json -b 1
"%"
$ echo '"%"'|json -b 2
"%"
$ echo '"%"'|json -b 3
"%"
$ echo '"%"'|json -b 4
"%"
$ echo '"%"'|json -b 5
"%"
$ echo '"&"'|json -b 1
"&"
$ echo '"&"'|json -b 2
"&"
$ echo '"&"'|json -b 3
"&"
$ echo '"&"'|json -b 4
"&"
$ echo '"&"'|json -b 5
"&"
$ echo -e '"\x27"'|json -b 1
"'"
$ echo -e '"\x27"'|json -b 2
"'"
$ echo -e '"\x27"'|json -b 3
"'"
$ echo -e '"\x27"'|json -b 4
"'"
$ echo -e '"\x27"'|json -b 5
"'"
$ echo '"("'|json -b 1
"("
$ echo '"("'|json -b 2
"("
$ echo '"("'|json -b 3
"("
$ echo '"("'|json -b 4
"("
$ echo '"("'|json -b 5
"("
$ echo '")"'|json -b 1
")"
$ echo '")"'|json -b 2
")"
$ echo '")"'|json -b 3
")"
$ echo '")"'|json -b 4
")"
$ echo '")"'|json -b 5
")"
$ echo '"*"'|json -b 1
"*"
$ echo '"*"'|json -b 2
"*"
$ echo '"*"'|json -b 3
"*"
$ echo '"*"'|json -b 4
"*"
$ echo '"*"'|json -b 5
"*"
$ echo '"+"'|json -b 1
"+"
$ echo '"+"'|json -b 2
"+"
$ echo '"+"'|json -b 3
"+"
$ echo '"+"'|json -b 4
"+"
$ echo '"+"'|json -b 5
"+"
$ echo '","'|json -b 1
","
$ echo '","'|json -b 2
","
$ echo '","'|json -b 3
","
$ echo '","'|json -b 4
","
$ echo '","'|json -b 5
","
$ echo '"-"'|json -b 1
"-"
$ echo '"-"'|json -b 2
"-"
$ echo '"-"'|json -b 3
"-"
$ echo '"-"'|json -b 4
"-"
$ echo '"-"'|json -b 5
"-"
$ echo '"."'|json -b 1
"."
$ echo '"."'|json -b 2
"."
$ echo '"."'|json -b 3
"."
$ echo '"."'|json -b 4
"."
$ echo '"."'|json -b 5
"."
$ echo '"/"'|json -b 1
"/"
$ echo '"/"'|json -b 2
"/"
$ echo '"/"'|json -b 3
"/"
$ echo '"/"'|json -b 4
"/"
$ echo '"/"'|json -b 5
"/"
$ echo '"0"'|json -b 1
"0"
$ echo '"0"'|json -b 2
"0"
$ echo '"0"'|json -b 3
"0"
$ echo '"0"'|json -b 4
"0"
$ echo '"0"'|json -b 5
"0"
$ echo '"1"'|json -b 1
"1"
$ echo '"1"'|json -b 2
"1"
$ echo '"1"'|json -b 3
"1"
$ echo '"1"'|json -b 4
"1"
$ echo '"1"'|json -b 5
"1"
$ echo '"2"'|json -b 1
"2"
$ echo '"2"'|json -b 2
"2"
$ echo '"2"'|json -b 3
"2"
$ echo '"2"'|json -b 4
"2"
$ echo '"2"'|json -b 5
"2"
$ echo '"3"'|json -b 1
"3"
$ echo '"3"'|json -b 2
"3"
$ echo '"3"'|json -b 3
"3"
$ echo '"3"'|json -b 4
"3"
$ echo '"3"'|json -b 5
"3"
$ echo '"4"'|json -b 1
"4"
$ echo '"4"'|json -b 2
"4"
$ echo '"4"'|json -b 3
"4"
$ echo '"4"'|json -b 4
"4"
$ echo '"4"'|json -b 5
"4"
$ echo '"5"'|json -b 1
"5"
$ echo '"5"'|json -b 2
"5"
$ echo '"5"'|json -b 3
"5"
$ echo '"5"'|json -b 4
"5"
$ echo '"5"'|json -b 5
"5"
$ echo '"6"'|json -b 1
"6"
$ echo '"6"'|json -b 2
"6"
$ echo '"6"'|json -b 3
"6"
$ echo '"6"'|json -b 4
"6"
$ echo '"6"'|json -b 5
"6"
$ echo '"7"'|json -b 1
"7"
$ echo '"7"'|json -b 2
"7"
$ echo '"7"'|json -b 3
"7"
$ echo '"7"'|json -b 4
"7"
$ echo '"7"'|json -b 5
"7"
$ echo '"8"'|json -b 1
"8"
$ echo '"8"'|json -b 2
"8"
$ echo '"8"'|json -b 3
"8"
$ echo '"8"'|json -b 4
"8"
$ echo '"8"'|json -b 5
"8"
$ echo '"9"'|json -b 1
"9"
$ echo '"9"'|json -b 2
"9"
$ echo '"9"'|json -b 3
"9"
$ echo '"9"'|json -b 4
"9"
$ echo '"9"'|json -b 5
"9"
$ echo '":"'|json -b 1
":"
$ echo '":"'|json -b 2
":"
$ echo '":"'|json -b 3
":"
$ echo '":"'|json -b 4
":"
$ echo '":"'|json -b 5
":"
$ echo '";"'|json -b 1
";"
$ echo '";"'|json -b 2
";"
$ echo '";"'|json -b 3
";"
$ echo '";"'|json -b 4
";"
$ echo '";"'|json -b 5
";"
$ echo '"<"'|json -b 1
"<"
$ echo '"<"'|json -b 2
"<"
$ echo '"<"'|json -b 3
"<"
$ echo '"<"'|json -b 4
"<"
$ echo '"<"'|json -b 5
"<"
$ echo '"="'|json -b 1
"="
$ echo '"="'|json -b 2
"="
$ echo '"="'|json -b 3
"="
$ echo '"="'|json -b 4
"="
$ echo '"="'|json -b 5
"="
$ echo '">"'|json -b 1
">"
$ echo '">"'|json -b 2
">"
$ echo '">"'|json -b 3
">"
$ echo '">"'|json -b 4
">"
$ echo '">"'|json -b 5
">"
$ echo '"?"'|json -b 1
"?"
$ echo '"?"'|json -b 2
"?"
$ echo '"?"'|json -b 3
"?"
$ echo '"?"'|json -b 4
"?"
$ echo '"?"'|json -b 5
"?"
$ echo '"@"'|json -b 1
"@"
$ echo '"@"'|json -b 2
"@"
$ echo '"@"'|json -b 3
"@"
$ echo '"@"'|json -b 4
"@"
$ echo '"@"'|json -b 5
"@"
$ echo '"A"'|json -b 1
"A"
$ echo '"A"'|json -b 2
"A"
$ echo '"A"'|json -b 3
"A"
$ echo '"A"'|json -b 4
"A"
$ echo '"A"'|json -b 5
"A"
$ echo '"B"'|json -b 1
"B"
$ echo '"B"'|json -b 2
"B"
$ echo '"B"'|json -b 3
"B"
$ echo '"B"'|json -b 4
"B"
$ echo '"B"'|json -b 5
"B"
$ echo '"C"'|json -b 1
"C"
$ echo '"C"'|json -b 2
"C"
$ echo '"C"'|json -b 3
"C"
$ echo '"C"'|json -b 4
"C"
$ echo '"C"'|json -b 5
"C"
$ echo '"D"'|json -b 1
"D"
$ echo '"D"'|json -b 2
"D"
$ echo '"D"'|json -b 3
"D"
$ echo '"D"'|json -b 4
"D"
$ echo '"D"'|json -b 5
"D"
$ echo '"E"'|json -b 1
"E"
$ echo '"E"'|json -b 2
"E"
$ echo '"E"'|json -b 3
"E"
$ echo '"E"'|json -b 4
"E"
$ echo '"E"'|json -b 5
"E"
$ echo '"F"'|json -b 1
"F"
$ echo '"F"'|json -b 2
"F"
$ echo '"F"'|json -b 3
"F"
$ echo '"F"'|json -b 4
"F"
$ echo '"F"'|json -b 5
"F"
$ echo '"G"'|json -b 1
"G"
$ echo '"G"'|json -b 2
"G"
$ echo '"G"'|json -b 3
"G"
$ echo '"G"'|json -b 4
"G"
$ echo '"G"'|json -b 5
"G"
$ echo '"H"'|json -b 1
"H"
$ echo '"H"'|json -b 2
"H"
$ echo '"H"'|json -b 3
"H"
$ echo '"H"'|json -b 4
"H"
$ echo '"H"'|json -b 5
"H"
$ echo '"I"'|json -b 1
"I"
$ echo '"I"'|json -b 2
"I"
$ echo '"I"'|json -b 3
"I"
$ echo '"I"'|json -b 4
"I"
$ echo '"I"'|json -b 5
"I"
$ echo '"J"'|json -b 1
"J"
$ echo '"J"'|json -b 2
"J"
$ echo '"J"'|json -b 3
"J"
$ echo '"J"'|json -b 4
"J"
$ echo '"J"'|json -b 5
"J"
$ echo '"K"'|json -b 1
"K"
$ echo '"K"'|json -b 2
"K"
$ echo '"K"'|json -b 3
"K"
$ echo '"K"'|json -b 4
"K"
$ echo '"K"'|json -b 5
"K"
$ echo '"L"'|json -b 1
"L"
$ echo '"L"'|json -b 2
"L"
$ echo '"L"'|json -b 3
"L"
$ echo '"L"'|json -b 4
"L"
$ echo '"L"'|json -b 5
"L"
$ echo '"M"'|json -b 1
"M"
$ echo '"M"'|json -b 2
"M"
$ echo '"M"'|json -b 3
"M"
$ echo '"M"'|json -b 4
"M"
$ echo '"M"'|json -b 5
"M"
$ echo '"N"'|json -b 1
"N"
$ echo '"N"'|json -b 2
"N"
$ echo '"N"'|json -b 3
"N"
$ echo '"N"'|json -b 4
"N"
$ echo '"N"'|json -b 5
"N"
$ echo '"O"'|json -b 1
"O"
$ echo '"O"'|json -b 2
"O"
$ echo '"O"'|json -b 3
"O"
$ echo '"O"'|json -b 4
"O"
$ echo '"O"'|json -b 5
"O"
$ echo '"P"'|json -b 1
"P"
$ echo '"P"'|json -b 2
"P"
$ echo '"P"'|json -b 3
"P"
$ echo '"P"'|json -b 4
"P"
$ echo '"P"'|json -b 5
"P"
$ echo '"Q"'|json -b 1
"Q"
$ echo '"Q"'|json -b 2
"Q"
$ echo '"Q"'|json -b 3
"Q"
$ echo '"Q"'|json -b 4
"Q"
$ echo '"Q"'|json -b 5
"Q"
$ echo '"R"'|json -b 1
"R"
$ echo '"R"'|json -b 2
"R"
$ echo '"R"'|json -b 3
"R"
$ echo '"R"'|json -b 4
"R"
$ echo '"R"'|json -b 5
"R"
$ echo '"S"'|json -b 1
"S"
$ echo '"S"'|json -b 2
"S"
$ echo '"S"'|json -b 3
"S"
$ echo '"S"'|json -b 4
"S"
$ echo '"S"'|json -b 5
"S"
$ echo '"T"'|json -b 1
"T"
$ echo '"T"'|json -b 2
"T"
$ echo '"T"'|json -b 3
"T"
$ echo '"T"'|json -b 4
"T"
$ echo '"T"'|json -b 5
"T"
$ echo '"U"'|json -b 1
"U"
$ echo '"U"'|json -b 2
"U"
$ echo '"U"'|json -b 3
"U"
$ echo '"U"'|json -b 4
"U"
$ echo '"U"'|json -b 5
"U"
$ echo '"V"'|json -b 1
"V"
$ echo '"V"'|json -b 2
"V"
$ echo '"V"'|json -b 3
"V"
$ echo '"V"'|json -b 4
"V"
$ echo '"V"'|json -b 5
"V"
$ echo '"W"'|json -b 1
"W"
$ echo '"W"'|json -b 2
"W"
$ echo '"W"'|json -b 3
"W"
$ echo '"W"'|json -b 4
"W"
$ echo '"W"'|json -b 5
"W"
$ echo '"X"'|json -b 1
"X"
$ echo '"X"'|json -b 2
"X"
$ echo '"X"'|json -b 3
"X"
$ echo '"X"'|json -b 4
"X"
$ echo '"X"'|json -b 5
"X"
$ echo '"Y"'|json -b 1
"Y"
$ echo '"Y"'|json -b 2
"Y"
$ echo '"Y"'|json -b 3
"Y"
$ echo '"Y"'|json -b 4
"Y"
$ echo '"Y"'|json -b 5
"Y"
$ echo '"Z"'|json -b 1
"Z"
$ echo '"Z"'|json -b 2
"Z"
$ echo '"Z"'|json -b 3
"Z"
$ echo '"Z"'|json -b 4
"Z"
$ echo '"Z"'|json -b 5
"Z"
$ echo '"["'|json -b 1
"["
$ echo '"["'|json -b 2
"["
$ echo '"["'|json -b 3
"["
$ echo '"["'|json -b 4
"["
$ echo '"["'|json -b 5
"["
$ echo '"\"'|json -b 1
json: error: <stdin>:1:4: lex error: invalid string literal
json: error: <stdin>:1:4: "\\"
json: error: <stdin>:1:4:     ^
command failed: echo '"\"'|json -b 1
$ echo '"\"'|json -b 2
json: error: <stdin>:1:4: lex error: invalid string literal
json: error: <stdin>:1:4: "\\"
json: error: <stdin>:1:4:     ^
command failed: echo '"\"'|json -b 2
$ echo '"\"'|json -b 3
json: error: <stdin>:1:4: lex error: invalid string literal
json: error: <stdin>:1:4: "\\"
json: error: <stdin>:1:4:     ^
command failed: echo '"\"'|json -b 3
$ echo '"\"'|json -b 4
json: error: <stdin>:1:4: lex error: invalid string literal
json: error: <stdin>:1:4: "\\"
json: error: <stdin>:1:4:     ^
command failed: echo '"\"'|json -b 4
$ echo '"\"'|json -b 5
json: error: <stdin>:1:4: lex error: invalid string literal
json: error: <stdin>:1:4: "\\"
json: error: <stdin>:1:4:     ^
command failed: echo '"\"'|json -b 5
$ echo '"]"'|json -b 1
"]"
$ echo '"]"'|json -b 2
"]"
$ echo '"]"'|json -b 3
"]"
$ echo '"]"'|json -b 4
"]"
$ echo '"]"'|json -b 5
"]"
$ echo '"^"'|json -b 1
"^"
$ echo '"^"'|json -b 2
"^"
$ echo '"^"'|json -b 3
"^"
$ echo '"^"'|json -b 4
"^"
$ echo '"^"'|json -b 5
"^"
$ echo '"_"'|json -b 1
"_"
$ echo '"_"'|json -b 2
"_"
$ echo '"_"'|json -b 3
"_"
$ echo '"_"'|json -b 4
"_"
$ echo '"_"'|json -b 5
"_"
$ echo '"`"'|json -b 1
"`"
$ echo '"`"'|json -b 2
"`"
$ echo '"`"'|json -b 3
"`"
$ echo '"`"'|json -b 4
"`"
$ echo '"`"'|json -b 5
"`"
$ echo '"a"'|json -b 1
"a"
$ echo '"a"'|json -b 2
"a"
$ echo '"a"'|json -b 3
"a"
$ echo '"a"'|json -b 4
"a"
$ echo '"a"'|json -b 5
"a"
$ echo '"b"'|json -b 1
"b"
$ echo '"b"'|json -b 2
"b"
$ echo '"b"'|json -b 3
"b"
$ echo '"b"'|json -b 4
"b"
$ echo '"b"'|json -b 5
"b"
$ echo '"c"'|json -b 1
"c"
$ echo '"c"'|json -b 2
"c"
$ echo '"c"'|json -b 3
"c"
$ echo '"c"'|json -b 4
"c"
$ echo '"c"'|json -b 5
"c"
$ echo '"d"'|json -b 1
"d"
$ echo '"d"'|json -b 2
"d"
$ echo '"d"'|json -b 3
"d"
$ echo '"d"'|json -b 4
"d"
$ echo '"d"'|json -b 5
"d"
$ echo '"e"'|json -b 1
"e"
$ echo '"e"'|json -b 2
"e"
$ echo '"e"'|json -b 3
"e"
$ echo '"e"'|json -b 4
"e"
$ echo '"e"'|json -b 5
"e"
$ echo '"f"'|json -b 1
"f"
$ echo '"f"'|json -b 2
"f"
$ echo '"f"'|json -b 3
"f"
$ echo '"f"'|json -b 4
"f"
$ echo '"f"'|json -b 5
"f"
$ echo '"g"'|json -b 1
"g"
$ echo '"g"'|json -b 2
"g"
$ echo '"g"'|json -b 3
"g"
$ echo '"g"'|json -b 4
"g"
$ echo '"g"'|json -b 5
"g"
$ echo '"h"'|json -b 1
"h"
$ echo '"h"'|json -b 2
"h"
$ echo '"h"'|json -b 3
"h"
$ echo '"h"'|json -b 4
"h"
$ echo '"h"'|json -b 5
"h"
$ echo '"i"'|json -b 1
"i"
$ echo '"i"'|json -b 2
"i"
$ echo '"i"'|json -b 3
"i"
$ echo '"i"'|json -b 4
"i"
$ echo '"i"'|json -b 5
"i"
$ echo '"j"'|json -b 1
"j"
$ echo '"j"'|json -b 2
"j"
$ echo '"j"'|json -b 3
"j"
$ echo '"j"'|json -b 4
"j"
$ echo '"j"'|json -b 5
"j"
$ echo '"k"'|json -b 1
"k"
$ echo '"k"'|json -b 2
"k"
$ echo '"k"'|json -b 3
"k"
$ echo '"k"'|json -b 4
"k"
$ echo '"k"'|json -b 5
"k"
$ echo '"l"'|json -b 1
"l"
$ echo '"l"'|json -b 2
"l"
$ echo '"l"'|json -b 3
"l"
$ echo '"l"'|json -b 4
"l"
$ echo '"l"'|json -b 5
"l"
$ echo '"m"'|json -b 1
"m"
$ echo '"m"'|json -b 2
"m"
$ echo '"m"'|json -b 3
"m"
$ echo '"m"'|json -b 4
"m"
$ echo '"m"'|json -b 5
"m"
$ echo '"n"'|json -b 1
"n"
$ echo '"n"'|json -b 2
"n"
$ echo '"n"'|json -b 3
"n"
$ echo '"n"'|json -b 4
"n"
$ echo '"n"'|json -b 5
"n"
$ echo '"o"'|json -b 1
"o"
$ echo '"o"'|json -b 2
"o"
$ echo '"o"'|json -b 3
"o"
$ echo '"o"'|json -b 4
"o"
$ echo '"o"'|json -b 5
"o"
$ echo '"p"'|json -b 1
"p"
$ echo '"p"'|json -b 2
"p"
$ echo '"p"'|json -b 3
"p"
$ echo '"p"'|json -b 4
"p"
$ echo '"p"'|json -b 5
"p"
$ echo '"q"'|json -b 1
"q"
$ echo '"q"'|json -b 2
"q"
$ echo '"q"'|json -b 3
"q"
$ echo '"q"'|json -b 4
"q"
$ echo '"q"'|json -b 5
"q"
$ echo '"r"'|json -b 1
"r"
$ echo '"r"'|json -b 2
"r"
$ echo '"r"'|json -b 3
"r"
$ echo '"r"'|json -b 4
"r"
$ echo '"r"'|json -b 5
"r"
$ echo '"s"'|json -b 1
"s"
$ echo '"s"'|json -b 2
"s"
$ echo '"s"'|json -b 3
"s"
$ echo '"s"'|json -b 4
"s"
$ echo '"s"'|json -b 5
"s"
$ echo '"t"'|json -b 1
"t"
$ echo '"t"'|json -b 2
"t"
$ echo '"t"'|json -b 3
"t"
$ echo '"t"'|json -b 4
"t"
$ echo '"t"'|json -b 5
"t"
$ echo '"u"'|json -b 1
"u"
$ echo '"u"'|json -b 2
"u"
$ echo '"u"'|json -b 3
"u"
$ echo '"u"'|json -b 4
"u"
$ echo '"u"'|json -b 5
"u"
$ echo '"v"'|json -b 1
"v"
$ echo '"v"'|json -b 2
"v"
$ echo '"v"'|json -b 3
"v"
$ echo '"v"'|json -b 4
"v"
$ echo '"v"'|json -b 5
"v"
$ echo '"w"'|json -b 1
"w"
$ echo '"w"'|json -b 2
"w"
$ echo '"w"'|json -b 3
"w"
$ echo '"w"'|json -b 4
"w"
$ echo '"w"'|json -b 5
"w"
$ echo '"x"'|json -b 1
"x"
$ echo '"x"'|json -b 2
"x"
$ echo '"x"'|json -b 3
"x"
$ echo '"x"'|json -b 4
"x"
$ echo '"x"'|json -b 5
"x"
$ echo '"y"'|json -b 1
"y"
$ echo '"y"'|json -b 2
"y"
$ echo '"y"'|json -b 3
"y"
$ echo '"y"'|json -b 4
"y"
$ echo '"y"'|json -b 5
"y"
$ echo '"z"'|json -b 1
"z"
$ echo '"z"'|json -b 2
"z"
$ echo '"z"'|json -b 3
"z"
$ echo '"z"'|json -b 4
"z"
$ echo '"z"'|json -b 5
"z"
$ echo '"{"'|json -b 1
"{"
$ echo '"{"'|json -b 2
"{"
$ echo '"{"'|json -b 3
"{"
$ echo '"{"'|json -b 4
"{"
$ echo '"{"'|json -b 5
"{"
$ echo '"|"'|json -b 1
"|"
$ echo '"|"'|json -b 2
"|"
$ echo '"|"'|json -b 3
"|"
$ echo '"|"'|json -b 4
"|"
$ echo '"|"'|json -b 5
"|"
$ echo '"}"'|json -b 1
"}"
$ echo '"}"'|json -b 2
"}"
$ echo '"}"'|json -b 3
"}"
$ echo '"}"'|json -b 4
"}"
$ echo '"}"'|json -b 5
"}"
$ echo '"~"'|json -b 1
"~"
$ echo '"~"'|json -b 2
"~"
$ echo '"~"'|json -b 3
"~"
$ echo '"~"'|json -b 4
"~"
$ echo '"~"'|json -b 5
"~"
$ echo -e '"\x7f"'|json -b 1
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x7f"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x7f"'|json -b 1
$ echo -e '"\x7f"'|json -b 2
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x7f"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x7f"'|json -b 2
$ echo -e '"\x7f"'|json -b 3
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x7f"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x7f"'|json -b 3
$ echo -e '"\x7f"'|json -b 4
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x7f"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x7f"'|json -b 4
$ echo -e '"\x7f"'|json -b 5
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x7f"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x7f"'|json -b 5
$

--[ string-esc ]----------------------------------------------------------------

$ json() { json0 --literal-value "$@"; }
#
# # meta command:
# $ awk 'BEGIN{for(k=0;k<0x20;k++){if(k>=0x20&&k<0x7f&&k!=0x27){f="";s=sprintf("%c",k)}else{f=" -e";s=sprintf("\\\\x%x",k)}printf("echo%s \x27\x22\\%s\x22\x27\n",f,s)}}'|while read -r c0; do for((b=1;b<6;b++));do c="$c0|json -b $b"; echo "$ $c"; eval "$c"; done; done
#
$ echo -e '"\\\x0"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\0"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x0"'|json -b 1
$ echo -e '"\\\x0"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\0"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x0"'|json -b 2
$ echo -e '"\\\x0"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\0"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x0"'|json -b 3
$ echo -e '"\\\x0"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\0"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x0"'|json -b 4
$ echo -e '"\\\x0"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\0"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x0"'|json -b 5
$ echo -e '"\\\x1"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x01"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x1"'|json -b 1
$ echo -e '"\\\x1"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x01"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x1"'|json -b 2
$ echo -e '"\\\x1"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x01"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x1"'|json -b 3
$ echo -e '"\\\x1"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x01"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x1"'|json -b 4
$ echo -e '"\\\x1"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x01"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x1"'|json -b 5
$ echo -e '"\\\x2"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x02"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x2"'|json -b 1
$ echo -e '"\\\x2"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x02"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x2"'|json -b 2
$ echo -e '"\\\x2"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x02"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x2"'|json -b 3
$ echo -e '"\\\x2"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x02"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x2"'|json -b 4
$ echo -e '"\\\x2"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x02"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x2"'|json -b 5
$ echo -e '"\\\x3"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x03"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x3"'|json -b 1
$ echo -e '"\\\x3"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x03"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x3"'|json -b 2
$ echo -e '"\\\x3"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x03"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x3"'|json -b 3
$ echo -e '"\\\x3"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x03"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x3"'|json -b 4
$ echo -e '"\\\x3"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x03"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x3"'|json -b 5
$ echo -e '"\\\x4"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x04"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x4"'|json -b 1
$ echo -e '"\\\x4"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x04"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x4"'|json -b 2
$ echo -e '"\\\x4"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x04"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x4"'|json -b 3
$ echo -e '"\\\x4"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x04"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x4"'|json -b 4
$ echo -e '"\\\x4"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x04"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x4"'|json -b 5
$ echo -e '"\\\x5"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x05"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x5"'|json -b 1
$ echo -e '"\\\x5"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x05"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x5"'|json -b 2
$ echo -e '"\\\x5"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x05"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x5"'|json -b 3
$ echo -e '"\\\x5"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x05"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x5"'|json -b 4
$ echo -e '"\\\x5"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x05"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x5"'|json -b 5
$ echo -e '"\\\x6"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x06"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x6"'|json -b 1
$ echo -e '"\\\x6"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x06"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x6"'|json -b 2
$ echo -e '"\\\x6"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x06"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x6"'|json -b 3
$ echo -e '"\\\x6"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x06"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x6"'|json -b 4
$ echo -e '"\\\x6"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x06"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x6"'|json -b 5
$ echo -e '"\\\x7"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\a"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x7"'|json -b 1
$ echo -e '"\\\x7"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\a"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x7"'|json -b 2
$ echo -e '"\\\x7"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\a"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x7"'|json -b 3
$ echo -e '"\\\x7"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\a"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x7"'|json -b 4
$ echo -e '"\\\x7"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\a"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x7"'|json -b 5
$ echo -e '"\\\x8"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\b"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x8"'|json -b 1
$ echo -e '"\\\x8"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\b"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x8"'|json -b 2
$ echo -e '"\\\x8"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\b"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x8"'|json -b 3
$ echo -e '"\\\x8"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\b"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x8"'|json -b 4
$ echo -e '"\\\x8"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\b"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x8"'|json -b 5
$ echo -e '"\\\x9"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\t"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x9"'|json -b 1
$ echo -e '"\\\x9"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\t"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x9"'|json -b 2
$ echo -e '"\\\x9"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\t"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x9"'|json -b 3
$ echo -e '"\\\x9"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\t"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x9"'|json -b 4
$ echo -e '"\\\x9"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\t"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x9"'|json -b 5
$ echo -e '"\\\xa"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\n"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\xa"'|json -b 1
$ echo -e '"\\\xa"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\n"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\xa"'|json -b 2
$ echo -e '"\\\xa"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\n"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\xa"'|json -b 3
$ echo -e '"\\\xa"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\n"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\xa"'|json -b 4
$ echo -e '"\\\xa"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\n"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\xa"'|json -b 5
$ echo -e '"\\\xb"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\v"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\xb"'|json -b 1
$ echo -e '"\\\xb"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\v"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\xb"'|json -b 2
$ echo -e '"\\\xb"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\v"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\xb"'|json -b 3
$ echo -e '"\\\xb"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\v"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\xb"'|json -b 4
$ echo -e '"\\\xb"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\v"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\xb"'|json -b 5
$ echo -e '"\\\xc"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\f"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\xc"'|json -b 1
$ echo -e '"\\\xc"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\f"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\xc"'|json -b 2
$ echo -e '"\\\xc"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\f"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\xc"'|json -b 3
$ echo -e '"\\\xc"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\f"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\xc"'|json -b 4
$ echo -e '"\\\xc"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\f"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\xc"'|json -b 5
$ echo -e '"\\\xd"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\r"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\xd"'|json -b 1
$ echo -e '"\\\xd"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\r"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\xd"'|json -b 2
$ echo -e '"\\\xd"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\r"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\xd"'|json -b 3
$ echo -e '"\\\xd"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\r"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\xd"'|json -b 4
$ echo -e '"\\\xd"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\r"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\xd"'|json -b 5
$ echo -e '"\\\xe"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x0e"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\xe"'|json -b 1
$ echo -e '"\\\xe"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x0e"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\xe"'|json -b 2
$ echo -e '"\\\xe"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x0e"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\xe"'|json -b 3
$ echo -e '"\\\xe"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x0e"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\xe"'|json -b 4
$ echo -e '"\\\xe"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x0e"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\xe"'|json -b 5
$ echo -e '"\\\xf"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x0f"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\xf"'|json -b 1
$ echo -e '"\\\xf"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x0f"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\xf"'|json -b 2
$ echo -e '"\\\xf"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x0f"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\xf"'|json -b 3
$ echo -e '"\\\xf"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x0f"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\xf"'|json -b 4
$ echo -e '"\\\xf"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x0f"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\xf"'|json -b 5
$ echo -e '"\\\x10"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x10"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x10"'|json -b 1
$ echo -e '"\\\x10"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x10"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x10"'|json -b 2
$ echo -e '"\\\x10"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x10"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x10"'|json -b 3
$ echo -e '"\\\x10"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x10"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x10"'|json -b 4
$ echo -e '"\\\x10"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x10"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x10"'|json -b 5
$ echo -e '"\\\x11"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x11"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x11"'|json -b 1
$ echo -e '"\\\x11"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x11"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x11"'|json -b 2
$ echo -e '"\\\x11"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x11"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x11"'|json -b 3
$ echo -e '"\\\x11"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x11"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x11"'|json -b 4
$ echo -e '"\\\x11"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x11"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x11"'|json -b 5
$ echo -e '"\\\x12"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x12"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x12"'|json -b 1
$ echo -e '"\\\x12"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x12"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x12"'|json -b 2
$ echo -e '"\\\x12"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x12"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x12"'|json -b 3
$ echo -e '"\\\x12"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x12"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x12"'|json -b 4
$ echo -e '"\\\x12"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x12"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x12"'|json -b 5
$ echo -e '"\\\x13"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x13"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x13"'|json -b 1
$ echo -e '"\\\x13"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x13"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x13"'|json -b 2
$ echo -e '"\\\x13"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x13"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x13"'|json -b 3
$ echo -e '"\\\x13"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x13"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x13"'|json -b 4
$ echo -e '"\\\x13"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x13"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x13"'|json -b 5
$ echo -e '"\\\x14"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x14"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x14"'|json -b 1
$ echo -e '"\\\x14"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x14"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x14"'|json -b 2
$ echo -e '"\\\x14"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x14"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x14"'|json -b 3
$ echo -e '"\\\x14"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x14"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x14"'|json -b 4
$ echo -e '"\\\x14"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x14"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x14"'|json -b 5
$ echo -e '"\\\x15"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x15"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x15"'|json -b 1
$ echo -e '"\\\x15"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x15"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x15"'|json -b 2
$ echo -e '"\\\x15"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x15"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x15"'|json -b 3
$ echo -e '"\\\x15"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x15"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x15"'|json -b 4
$ echo -e '"\\\x15"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x15"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x15"'|json -b 5
$ echo -e '"\\\x16"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x16"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x16"'|json -b 1
$ echo -e '"\\\x16"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x16"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x16"'|json -b 2
$ echo -e '"\\\x16"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x16"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x16"'|json -b 3
$ echo -e '"\\\x16"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x16"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x16"'|json -b 4
$ echo -e '"\\\x16"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x16"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x16"'|json -b 5
$ echo -e '"\\\x17"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x17"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x17"'|json -b 1
$ echo -e '"\\\x17"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x17"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x17"'|json -b 2
$ echo -e '"\\\x17"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x17"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x17"'|json -b 3
$ echo -e '"\\\x17"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x17"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x17"'|json -b 4
$ echo -e '"\\\x17"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x17"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x17"'|json -b 5
$ echo -e '"\\\x18"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x18"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x18"'|json -b 1
$ echo -e '"\\\x18"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x18"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x18"'|json -b 2
$ echo -e '"\\\x18"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x18"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x18"'|json -b 3
$ echo -e '"\\\x18"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x18"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x18"'|json -b 4
$ echo -e '"\\\x18"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x18"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x18"'|json -b 5
$ echo -e '"\\\x19"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x19"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x19"'|json -b 1
$ echo -e '"\\\x19"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x19"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x19"'|json -b 2
$ echo -e '"\\\x19"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x19"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x19"'|json -b 3
$ echo -e '"\\\x19"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x19"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x19"'|json -b 4
$ echo -e '"\\\x19"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x19"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x19"'|json -b 5
$ echo -e '"\\\x1a"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x1a"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x1a"'|json -b 1
$ echo -e '"\\\x1a"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x1a"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x1a"'|json -b 2
$ echo -e '"\\\x1a"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x1a"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x1a"'|json -b 3
$ echo -e '"\\\x1a"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x1a"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x1a"'|json -b 4
$ echo -e '"\\\x1a"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x1a"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x1a"'|json -b 5
$ echo -e '"\\\x1b"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x1b"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x1b"'|json -b 1
$ echo -e '"\\\x1b"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x1b"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x1b"'|json -b 2
$ echo -e '"\\\x1b"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x1b"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x1b"'|json -b 3
$ echo -e '"\\\x1b"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x1b"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x1b"'|json -b 4
$ echo -e '"\\\x1b"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x1b"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x1b"'|json -b 5
$ echo -e '"\\\x1c"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x1c"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x1c"'|json -b 1
$ echo -e '"\\\x1c"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x1c"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x1c"'|json -b 2
$ echo -e '"\\\x1c"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x1c"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x1c"'|json -b 3
$ echo -e '"\\\x1c"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x1c"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x1c"'|json -b 4
$ echo -e '"\\\x1c"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x1c"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x1c"'|json -b 5
$ echo -e '"\\\x1d"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x1d"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x1d"'|json -b 1
$ echo -e '"\\\x1d"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x1d"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x1d"'|json -b 2
$ echo -e '"\\\x1d"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x1d"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x1d"'|json -b 3
$ echo -e '"\\\x1d"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x1d"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x1d"'|json -b 4
$ echo -e '"\\\x1d"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x1d"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x1d"'|json -b 5
$ echo -e '"\\\x1e"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x1e"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x1e"'|json -b 1
$ echo -e '"\\\x1e"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x1e"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x1e"'|json -b 2
$ echo -e '"\\\x1e"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x1e"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x1e"'|json -b 3
$ echo -e '"\\\x1e"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x1e"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x1e"'|json -b 4
$ echo -e '"\\\x1e"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x1e"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x1e"'|json -b 5
$ echo -e '"\\\x1f"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x1f"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x1f"'|json -b 1
$ echo -e '"\\\x1f"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x1f"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x1f"'|json -b 2
$ echo -e '"\\\x1f"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x1f"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x1f"'|json -b 3
$ echo -e '"\\\x1f"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x1f"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x1f"'|json -b 4
$ echo -e '"\\\x1f"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x1f"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x1f"'|json -b 5
$

--[ string-esc2 ]---------------------------------------------------------------

$ json() { json0 --literal-value "$@"; }
#
# # meta command:
# $ awk 'BEGIN{for(k=0x20;k<0x40;k++){if(k>=0x20&&k<0x7f&&k!=0x27){f="";s=sprintf("%c",k)}else{f=" -e";s=sprintf("\\\\x%x",k)}printf("echo%s \x27\x22\\%s\x22\x27\n",f,s)}}'|while read -r c0; do for((b=1;b<6;b++));do c="$c0|json -b $b"; echo "$ $c"; eval "$c"; done; done
#
$ echo '"\ "'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\ "
json: error: <stdin>:1:3:    ^
command failed: echo '"\ "'|json -b 1
$ echo '"\ "'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\ "
json: error: <stdin>:1:3:    ^
command failed: echo '"\ "'|json -b 2
$ echo '"\ "'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\ "
json: error: <stdin>:1:3:    ^
command failed: echo '"\ "'|json -b 3
$ echo '"\ "'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\ "
json: error: <stdin>:1:3:    ^
command failed: echo '"\ "'|json -b 4
$ echo '"\ "'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\ "
json: error: <stdin>:1:3:    ^
command failed: echo '"\ "'|json -b 5
$ echo '"\!"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\!"
json: error: <stdin>:1:3:    ^
command failed: echo '"\!"'|json -b 1
$ echo '"\!"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\!"
json: error: <stdin>:1:3:    ^
command failed: echo '"\!"'|json -b 2
$ echo '"\!"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\!"
json: error: <stdin>:1:3:    ^
command failed: echo '"\!"'|json -b 3
$ echo '"\!"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\!"
json: error: <stdin>:1:3:    ^
command failed: echo '"\!"'|json -b 4
$ echo '"\!"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\!"
json: error: <stdin>:1:3:    ^
command failed: echo '"\!"'|json -b 5
$ echo '"\""'|json -b 1
"\""
$ echo '"\""'|json -b 2
"\""
$ echo '"\""'|json -b 3
"\""
$ echo '"\""'|json -b 4
"\""
$ echo '"\""'|json -b 5
"\""
$ echo '"\#"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\#"
json: error: <stdin>:1:3:    ^
command failed: echo '"\#"'|json -b 1
$ echo '"\#"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\#"
json: error: <stdin>:1:3:    ^
command failed: echo '"\#"'|json -b 2
$ echo '"\#"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\#"
json: error: <stdin>:1:3:    ^
command failed: echo '"\#"'|json -b 3
$ echo '"\#"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\#"
json: error: <stdin>:1:3:    ^
command failed: echo '"\#"'|json -b 4
$ echo '"\#"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\#"
json: error: <stdin>:1:3:    ^
command failed: echo '"\#"'|json -b 5
$ echo '"\$"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\$"
json: error: <stdin>:1:3:    ^
command failed: echo '"\$"'|json -b 1
$ echo '"\$"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\$"
json: error: <stdin>:1:3:    ^
command failed: echo '"\$"'|json -b 2
$ echo '"\$"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\$"
json: error: <stdin>:1:3:    ^
command failed: echo '"\$"'|json -b 3
$ echo '"\$"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\$"
json: error: <stdin>:1:3:    ^
command failed: echo '"\$"'|json -b 4
$ echo '"\$"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\$"
json: error: <stdin>:1:3:    ^
command failed: echo '"\$"'|json -b 5
$ echo '"\%"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\%"
json: error: <stdin>:1:3:    ^
command failed: echo '"\%"'|json -b 1
$ echo '"\%"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\%"
json: error: <stdin>:1:3:    ^
command failed: echo '"\%"'|json -b 2
$ echo '"\%"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\%"
json: error: <stdin>:1:3:    ^
command failed: echo '"\%"'|json -b 3
$ echo '"\%"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\%"
json: error: <stdin>:1:3:    ^
command failed: echo '"\%"'|json -b 4
$ echo '"\%"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\%"
json: error: <stdin>:1:3:    ^
command failed: echo '"\%"'|json -b 5
$ echo '"\&"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\&"
json: error: <stdin>:1:3:    ^
command failed: echo '"\&"'|json -b 1
$ echo '"\&"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\&"
json: error: <stdin>:1:3:    ^
command failed: echo '"\&"'|json -b 2
$ echo '"\&"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\&"
json: error: <stdin>:1:3:    ^
command failed: echo '"\&"'|json -b 3
$ echo '"\&"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\&"
json: error: <stdin>:1:3:    ^
command failed: echo '"\&"'|json -b 4
$ echo '"\&"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\&"
json: error: <stdin>:1:3:    ^
command failed: echo '"\&"'|json -b 5
$ echo -e '"\\\x27"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\'"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x27"'|json -b 1
$ echo -e '"\\\x27"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\'"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x27"'|json -b 2
$ echo -e '"\\\x27"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\'"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x27"'|json -b 3
$ echo -e '"\\\x27"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\'"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x27"'|json -b 4
$ echo -e '"\\\x27"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\'"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x27"'|json -b 5
$ echo '"\("'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\("
json: error: <stdin>:1:3:    ^
command failed: echo '"\("'|json -b 1
$ echo '"\("'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\("
json: error: <stdin>:1:3:    ^
command failed: echo '"\("'|json -b 2
$ echo '"\("'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\("
json: error: <stdin>:1:3:    ^
command failed: echo '"\("'|json -b 3
$ echo '"\("'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\("
json: error: <stdin>:1:3:    ^
command failed: echo '"\("'|json -b 4
$ echo '"\("'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\("
json: error: <stdin>:1:3:    ^
command failed: echo '"\("'|json -b 5
$ echo '"\)"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\)"
json: error: <stdin>:1:3:    ^
command failed: echo '"\)"'|json -b 1
$ echo '"\)"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\)"
json: error: <stdin>:1:3:    ^
command failed: echo '"\)"'|json -b 2
$ echo '"\)"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\)"
json: error: <stdin>:1:3:    ^
command failed: echo '"\)"'|json -b 3
$ echo '"\)"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\)"
json: error: <stdin>:1:3:    ^
command failed: echo '"\)"'|json -b 4
$ echo '"\)"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\)"
json: error: <stdin>:1:3:    ^
command failed: echo '"\)"'|json -b 5
$ echo '"\*"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\*"
json: error: <stdin>:1:3:    ^
command failed: echo '"\*"'|json -b 1
$ echo '"\*"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\*"
json: error: <stdin>:1:3:    ^
command failed: echo '"\*"'|json -b 2
$ echo '"\*"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\*"
json: error: <stdin>:1:3:    ^
command failed: echo '"\*"'|json -b 3
$ echo '"\*"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\*"
json: error: <stdin>:1:3:    ^
command failed: echo '"\*"'|json -b 4
$ echo '"\*"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\*"
json: error: <stdin>:1:3:    ^
command failed: echo '"\*"'|json -b 5
$ echo '"\+"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\+"
json: error: <stdin>:1:3:    ^
command failed: echo '"\+"'|json -b 1
$ echo '"\+"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\+"
json: error: <stdin>:1:3:    ^
command failed: echo '"\+"'|json -b 2
$ echo '"\+"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\+"
json: error: <stdin>:1:3:    ^
command failed: echo '"\+"'|json -b 3
$ echo '"\+"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\+"
json: error: <stdin>:1:3:    ^
command failed: echo '"\+"'|json -b 4
$ echo '"\+"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\+"
json: error: <stdin>:1:3:    ^
command failed: echo '"\+"'|json -b 5
$ echo '"\,"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\,"
json: error: <stdin>:1:3:    ^
command failed: echo '"\,"'|json -b 1
$ echo '"\,"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\,"
json: error: <stdin>:1:3:    ^
command failed: echo '"\,"'|json -b 2
$ echo '"\,"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\,"
json: error: <stdin>:1:3:    ^
command failed: echo '"\,"'|json -b 3
$ echo '"\,"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\,"
json: error: <stdin>:1:3:    ^
command failed: echo '"\,"'|json -b 4
$ echo '"\,"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\,"
json: error: <stdin>:1:3:    ^
command failed: echo '"\,"'|json -b 5
$ echo '"\-"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\-"
json: error: <stdin>:1:3:    ^
command failed: echo '"\-"'|json -b 1
$ echo '"\-"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\-"
json: error: <stdin>:1:3:    ^
command failed: echo '"\-"'|json -b 2
$ echo '"\-"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\-"
json: error: <stdin>:1:3:    ^
command failed: echo '"\-"'|json -b 3
$ echo '"\-"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\-"
json: error: <stdin>:1:3:    ^
command failed: echo '"\-"'|json -b 4
$ echo '"\-"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\-"
json: error: <stdin>:1:3:    ^
command failed: echo '"\-"'|json -b 5
$ echo '"\."'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\."
json: error: <stdin>:1:3:    ^
command failed: echo '"\."'|json -b 1
$ echo '"\."'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\."
json: error: <stdin>:1:3:    ^
command failed: echo '"\."'|json -b 2
$ echo '"\."'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\."
json: error: <stdin>:1:3:    ^
command failed: echo '"\."'|json -b 3
$ echo '"\."'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\."
json: error: <stdin>:1:3:    ^
command failed: echo '"\."'|json -b 4
$ echo '"\."'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\."
json: error: <stdin>:1:3:    ^
command failed: echo '"\."'|json -b 5
$ echo '"\/"'|json -b 1
"/"
$ echo '"\/"'|json -b 2
"/"
$ echo '"\/"'|json -b 3
"/"
$ echo '"\/"'|json -b 4
"/"
$ echo '"\/"'|json -b 5
"/"
$ echo '"\0"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\0"
json: error: <stdin>:1:3:    ^
command failed: echo '"\0"'|json -b 1
$ echo '"\0"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\0"
json: error: <stdin>:1:3:    ^
command failed: echo '"\0"'|json -b 2
$ echo '"\0"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\0"
json: error: <stdin>:1:3:    ^
command failed: echo '"\0"'|json -b 3
$ echo '"\0"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\0"
json: error: <stdin>:1:3:    ^
command failed: echo '"\0"'|json -b 4
$ echo '"\0"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\0"
json: error: <stdin>:1:3:    ^
command failed: echo '"\0"'|json -b 5
$ echo '"\1"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\1"
json: error: <stdin>:1:3:    ^
command failed: echo '"\1"'|json -b 1
$ echo '"\1"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\1"
json: error: <stdin>:1:3:    ^
command failed: echo '"\1"'|json -b 2
$ echo '"\1"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\1"
json: error: <stdin>:1:3:    ^
command failed: echo '"\1"'|json -b 3
$ echo '"\1"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\1"
json: error: <stdin>:1:3:    ^
command failed: echo '"\1"'|json -b 4
$ echo '"\1"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\1"
json: error: <stdin>:1:3:    ^
command failed: echo '"\1"'|json -b 5
$ echo '"\2"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\2"
json: error: <stdin>:1:3:    ^
command failed: echo '"\2"'|json -b 1
$ echo '"\2"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\2"
json: error: <stdin>:1:3:    ^
command failed: echo '"\2"'|json -b 2
$ echo '"\2"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\2"
json: error: <stdin>:1:3:    ^
command failed: echo '"\2"'|json -b 3
$ echo '"\2"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\2"
json: error: <stdin>:1:3:    ^
command failed: echo '"\2"'|json -b 4
$ echo '"\2"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\2"
json: error: <stdin>:1:3:    ^
command failed: echo '"\2"'|json -b 5
$ echo '"\3"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\3"
json: error: <stdin>:1:3:    ^
command failed: echo '"\3"'|json -b 1
$ echo '"\3"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\3"
json: error: <stdin>:1:3:    ^
command failed: echo '"\3"'|json -b 2
$ echo '"\3"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\3"
json: error: <stdin>:1:3:    ^
command failed: echo '"\3"'|json -b 3
$ echo '"\3"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\3"
json: error: <stdin>:1:3:    ^
command failed: echo '"\3"'|json -b 4
$ echo '"\3"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\3"
json: error: <stdin>:1:3:    ^
command failed: echo '"\3"'|json -b 5
$ echo '"\4"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\4"
json: error: <stdin>:1:3:    ^
command failed: echo '"\4"'|json -b 1
$ echo '"\4"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\4"
json: error: <stdin>:1:3:    ^
command failed: echo '"\4"'|json -b 2
$ echo '"\4"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\4"
json: error: <stdin>:1:3:    ^
command failed: echo '"\4"'|json -b 3
$ echo '"\4"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\4"
json: error: <stdin>:1:3:    ^
command failed: echo '"\4"'|json -b 4
$ echo '"\4"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\4"
json: error: <stdin>:1:3:    ^
command failed: echo '"\4"'|json -b 5
$ echo '"\5"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\5"
json: error: <stdin>:1:3:    ^
command failed: echo '"\5"'|json -b 1
$ echo '"\5"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\5"
json: error: <stdin>:1:3:    ^
command failed: echo '"\5"'|json -b 2
$ echo '"\5"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\5"
json: error: <stdin>:1:3:    ^
command failed: echo '"\5"'|json -b 3
$ echo '"\5"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\5"
json: error: <stdin>:1:3:    ^
command failed: echo '"\5"'|json -b 4
$ echo '"\5"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\5"
json: error: <stdin>:1:3:    ^
command failed: echo '"\5"'|json -b 5
$ echo '"\6"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\6"
json: error: <stdin>:1:3:    ^
command failed: echo '"\6"'|json -b 1
$ echo '"\6"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\6"
json: error: <stdin>:1:3:    ^
command failed: echo '"\6"'|json -b 2
$ echo '"\6"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\6"
json: error: <stdin>:1:3:    ^
command failed: echo '"\6"'|json -b 3
$ echo '"\6"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\6"
json: error: <stdin>:1:3:    ^
command failed: echo '"\6"'|json -b 4
$ echo '"\6"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\6"
json: error: <stdin>:1:3:    ^
command failed: echo '"\6"'|json -b 5
$ echo '"\7"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\7"
json: error: <stdin>:1:3:    ^
command failed: echo '"\7"'|json -b 1
$ echo '"\7"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\7"
json: error: <stdin>:1:3:    ^
command failed: echo '"\7"'|json -b 2
$ echo '"\7"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\7"
json: error: <stdin>:1:3:    ^
command failed: echo '"\7"'|json -b 3
$ echo '"\7"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\7"
json: error: <stdin>:1:3:    ^
command failed: echo '"\7"'|json -b 4
$ echo '"\7"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\7"
json: error: <stdin>:1:3:    ^
command failed: echo '"\7"'|json -b 5
$ echo '"\8"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\8"
json: error: <stdin>:1:3:    ^
command failed: echo '"\8"'|json -b 1
$ echo '"\8"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\8"
json: error: <stdin>:1:3:    ^
command failed: echo '"\8"'|json -b 2
$ echo '"\8"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\8"
json: error: <stdin>:1:3:    ^
command failed: echo '"\8"'|json -b 3
$ echo '"\8"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\8"
json: error: <stdin>:1:3:    ^
command failed: echo '"\8"'|json -b 4
$ echo '"\8"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\8"
json: error: <stdin>:1:3:    ^
command failed: echo '"\8"'|json -b 5
$ echo '"\9"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\9"
json: error: <stdin>:1:3:    ^
command failed: echo '"\9"'|json -b 1
$ echo '"\9"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\9"
json: error: <stdin>:1:3:    ^
command failed: echo '"\9"'|json -b 2
$ echo '"\9"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\9"
json: error: <stdin>:1:3:    ^
command failed: echo '"\9"'|json -b 3
$ echo '"\9"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\9"
json: error: <stdin>:1:3:    ^
command failed: echo '"\9"'|json -b 4
$ echo '"\9"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\9"
json: error: <stdin>:1:3:    ^
command failed: echo '"\9"'|json -b 5
$ echo '"\:"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\:"
json: error: <stdin>:1:3:    ^
command failed: echo '"\:"'|json -b 1
$ echo '"\:"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\:"
json: error: <stdin>:1:3:    ^
command failed: echo '"\:"'|json -b 2
$ echo '"\:"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\:"
json: error: <stdin>:1:3:    ^
command failed: echo '"\:"'|json -b 3
$ echo '"\:"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\:"
json: error: <stdin>:1:3:    ^
command failed: echo '"\:"'|json -b 4
$ echo '"\:"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\:"
json: error: <stdin>:1:3:    ^
command failed: echo '"\:"'|json -b 5
$ echo '"\;"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\;"
json: error: <stdin>:1:3:    ^
command failed: echo '"\;"'|json -b 1
$ echo '"\;"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\;"
json: error: <stdin>:1:3:    ^
command failed: echo '"\;"'|json -b 2
$ echo '"\;"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\;"
json: error: <stdin>:1:3:    ^
command failed: echo '"\;"'|json -b 3
$ echo '"\;"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\;"
json: error: <stdin>:1:3:    ^
command failed: echo '"\;"'|json -b 4
$ echo '"\;"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\;"
json: error: <stdin>:1:3:    ^
command failed: echo '"\;"'|json -b 5
$ echo '"\<"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\<"
json: error: <stdin>:1:3:    ^
command failed: echo '"\<"'|json -b 1
$ echo '"\<"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\<"
json: error: <stdin>:1:3:    ^
command failed: echo '"\<"'|json -b 2
$ echo '"\<"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\<"
json: error: <stdin>:1:3:    ^
command failed: echo '"\<"'|json -b 3
$ echo '"\<"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\<"
json: error: <stdin>:1:3:    ^
command failed: echo '"\<"'|json -b 4
$ echo '"\<"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\<"
json: error: <stdin>:1:3:    ^
command failed: echo '"\<"'|json -b 5
$ echo '"\="'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\="
json: error: <stdin>:1:3:    ^
command failed: echo '"\="'|json -b 1
$ echo '"\="'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\="
json: error: <stdin>:1:3:    ^
command failed: echo '"\="'|json -b 2
$ echo '"\="'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\="
json: error: <stdin>:1:3:    ^
command failed: echo '"\="'|json -b 3
$ echo '"\="'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\="
json: error: <stdin>:1:3:    ^
command failed: echo '"\="'|json -b 4
$ echo '"\="'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\="
json: error: <stdin>:1:3:    ^
command failed: echo '"\="'|json -b 5
$ echo '"\>"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\>"
json: error: <stdin>:1:3:    ^
command failed: echo '"\>"'|json -b 1
$ echo '"\>"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\>"
json: error: <stdin>:1:3:    ^
command failed: echo '"\>"'|json -b 2
$ echo '"\>"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\>"
json: error: <stdin>:1:3:    ^
command failed: echo '"\>"'|json -b 3
$ echo '"\>"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\>"
json: error: <stdin>:1:3:    ^
command failed: echo '"\>"'|json -b 4
$ echo '"\>"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\>"
json: error: <stdin>:1:3:    ^
command failed: echo '"\>"'|json -b 5
$ echo '"\?"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\?"
json: error: <stdin>:1:3:    ^
command failed: echo '"\?"'|json -b 1
$ echo '"\?"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\?"
json: error: <stdin>:1:3:    ^
command failed: echo '"\?"'|json -b 2
$ echo '"\?"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\?"
json: error: <stdin>:1:3:    ^
command failed: echo '"\?"'|json -b 3
$ echo '"\?"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\?"
json: error: <stdin>:1:3:    ^
command failed: echo '"\?"'|json -b 4
$ echo '"\?"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\?"
json: error: <stdin>:1:3:    ^
command failed: echo '"\?"'|json -b 5
$

--[ string-esc3 ]----------------------------------------------------------------

$ json() { json0 --literal-value "$@"; }
#
# # meta command:
# $ awk 'BEGIN{for(k=0x40;k<0x60;k++){if(k>=0x20&&k<0x7f&&k!=0x27){f="";s=sprintf("%c",k)}else{f=" -e";s=sprintf("\\\\x%x",k)}printf("echo%s \x27\x22\\%s\x22\x27\n",f,s)}}'|while read -r c0; do for((b=1;b<6;b++));do c="$c0|json -b $b"; echo "$ $c"; eval "$c"; done; done
#
$ echo '"\@"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\@"
json: error: <stdin>:1:3:    ^
command failed: echo '"\@"'|json -b 1
$ echo '"\@"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\@"
json: error: <stdin>:1:3:    ^
command failed: echo '"\@"'|json -b 2
$ echo '"\@"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\@"
json: error: <stdin>:1:3:    ^
command failed: echo '"\@"'|json -b 3
$ echo '"\@"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\@"
json: error: <stdin>:1:3:    ^
command failed: echo '"\@"'|json -b 4
$ echo '"\@"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\@"
json: error: <stdin>:1:3:    ^
command failed: echo '"\@"'|json -b 5
$ echo '"\A"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\A"
json: error: <stdin>:1:3:    ^
command failed: echo '"\A"'|json -b 1
$ echo '"\A"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\A"
json: error: <stdin>:1:3:    ^
command failed: echo '"\A"'|json -b 2
$ echo '"\A"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\A"
json: error: <stdin>:1:3:    ^
command failed: echo '"\A"'|json -b 3
$ echo '"\A"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\A"
json: error: <stdin>:1:3:    ^
command failed: echo '"\A"'|json -b 4
$ echo '"\A"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\A"
json: error: <stdin>:1:3:    ^
command failed: echo '"\A"'|json -b 5
$ echo '"\B"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\B"
json: error: <stdin>:1:3:    ^
command failed: echo '"\B"'|json -b 1
$ echo '"\B"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\B"
json: error: <stdin>:1:3:    ^
command failed: echo '"\B"'|json -b 2
$ echo '"\B"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\B"
json: error: <stdin>:1:3:    ^
command failed: echo '"\B"'|json -b 3
$ echo '"\B"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\B"
json: error: <stdin>:1:3:    ^
command failed: echo '"\B"'|json -b 4
$ echo '"\B"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\B"
json: error: <stdin>:1:3:    ^
command failed: echo '"\B"'|json -b 5
$ echo '"\C"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\C"
json: error: <stdin>:1:3:    ^
command failed: echo '"\C"'|json -b 1
$ echo '"\C"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\C"
json: error: <stdin>:1:3:    ^
command failed: echo '"\C"'|json -b 2
$ echo '"\C"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\C"
json: error: <stdin>:1:3:    ^
command failed: echo '"\C"'|json -b 3
$ echo '"\C"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\C"
json: error: <stdin>:1:3:    ^
command failed: echo '"\C"'|json -b 4
$ echo '"\C"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\C"
json: error: <stdin>:1:3:    ^
command failed: echo '"\C"'|json -b 5
$ echo '"\D"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\D"
json: error: <stdin>:1:3:    ^
command failed: echo '"\D"'|json -b 1
$ echo '"\D"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\D"
json: error: <stdin>:1:3:    ^
command failed: echo '"\D"'|json -b 2
$ echo '"\D"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\D"
json: error: <stdin>:1:3:    ^
command failed: echo '"\D"'|json -b 3
$ echo '"\D"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\D"
json: error: <stdin>:1:3:    ^
command failed: echo '"\D"'|json -b 4
$ echo '"\D"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\D"
json: error: <stdin>:1:3:    ^
command failed: echo '"\D"'|json -b 5
$ echo '"\E"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\E"
json: error: <stdin>:1:3:    ^
command failed: echo '"\E"'|json -b 1
$ echo '"\E"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\E"
json: error: <stdin>:1:3:    ^
command failed: echo '"\E"'|json -b 2
$ echo '"\E"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\E"
json: error: <stdin>:1:3:    ^
command failed: echo '"\E"'|json -b 3
$ echo '"\E"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\E"
json: error: <stdin>:1:3:    ^
command failed: echo '"\E"'|json -b 4
$ echo '"\E"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\E"
json: error: <stdin>:1:3:    ^
command failed: echo '"\E"'|json -b 5
$ echo '"\F"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\F"
json: error: <stdin>:1:3:    ^
command failed: echo '"\F"'|json -b 1
$ echo '"\F"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\F"
json: error: <stdin>:1:3:    ^
command failed: echo '"\F"'|json -b 2
$ echo '"\F"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\F"
json: error: <stdin>:1:3:    ^
command failed: echo '"\F"'|json -b 3
$ echo '"\F"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\F"
json: error: <stdin>:1:3:    ^
command failed: echo '"\F"'|json -b 4
$ echo '"\F"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\F"
json: error: <stdin>:1:3:    ^
command failed: echo '"\F"'|json -b 5
$ echo '"\G"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\G"
json: error: <stdin>:1:3:    ^
command failed: echo '"\G"'|json -b 1
$ echo '"\G"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\G"
json: error: <stdin>:1:3:    ^
command failed: echo '"\G"'|json -b 2
$ echo '"\G"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\G"
json: error: <stdin>:1:3:    ^
command failed: echo '"\G"'|json -b 3
$ echo '"\G"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\G"
json: error: <stdin>:1:3:    ^
command failed: echo '"\G"'|json -b 4
$ echo '"\G"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\G"
json: error: <stdin>:1:3:    ^
command failed: echo '"\G"'|json -b 5
$ echo '"\H"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\H"
json: error: <stdin>:1:3:    ^
command failed: echo '"\H"'|json -b 1
$ echo '"\H"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\H"
json: error: <stdin>:1:3:    ^
command failed: echo '"\H"'|json -b 2
$ echo '"\H"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\H"
json: error: <stdin>:1:3:    ^
command failed: echo '"\H"'|json -b 3
$ echo '"\H"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\H"
json: error: <stdin>:1:3:    ^
command failed: echo '"\H"'|json -b 4
$ echo '"\H"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\H"
json: error: <stdin>:1:3:    ^
command failed: echo '"\H"'|json -b 5
$ echo '"\I"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\I"
json: error: <stdin>:1:3:    ^
command failed: echo '"\I"'|json -b 1
$ echo '"\I"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\I"
json: error: <stdin>:1:3:    ^
command failed: echo '"\I"'|json -b 2
$ echo '"\I"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\I"
json: error: <stdin>:1:3:    ^
command failed: echo '"\I"'|json -b 3
$ echo '"\I"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\I"
json: error: <stdin>:1:3:    ^
command failed: echo '"\I"'|json -b 4
$ echo '"\I"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\I"
json: error: <stdin>:1:3:    ^
command failed: echo '"\I"'|json -b 5
$ echo '"\J"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\J"
json: error: <stdin>:1:3:    ^
command failed: echo '"\J"'|json -b 1
$ echo '"\J"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\J"
json: error: <stdin>:1:3:    ^
command failed: echo '"\J"'|json -b 2
$ echo '"\J"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\J"
json: error: <stdin>:1:3:    ^
command failed: echo '"\J"'|json -b 3
$ echo '"\J"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\J"
json: error: <stdin>:1:3:    ^
command failed: echo '"\J"'|json -b 4
$ echo '"\J"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\J"
json: error: <stdin>:1:3:    ^
command failed: echo '"\J"'|json -b 5
$ echo '"\K"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\K"
json: error: <stdin>:1:3:    ^
command failed: echo '"\K"'|json -b 1
$ echo '"\K"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\K"
json: error: <stdin>:1:3:    ^
command failed: echo '"\K"'|json -b 2
$ echo '"\K"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\K"
json: error: <stdin>:1:3:    ^
command failed: echo '"\K"'|json -b 3
$ echo '"\K"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\K"
json: error: <stdin>:1:3:    ^
command failed: echo '"\K"'|json -b 4
$ echo '"\K"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\K"
json: error: <stdin>:1:3:    ^
command failed: echo '"\K"'|json -b 5
$ echo '"\L"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\L"
json: error: <stdin>:1:3:    ^
command failed: echo '"\L"'|json -b 1
$ echo '"\L"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\L"
json: error: <stdin>:1:3:    ^
command failed: echo '"\L"'|json -b 2
$ echo '"\L"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\L"
json: error: <stdin>:1:3:    ^
command failed: echo '"\L"'|json -b 3
$ echo '"\L"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\L"
json: error: <stdin>:1:3:    ^
command failed: echo '"\L"'|json -b 4
$ echo '"\L"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\L"
json: error: <stdin>:1:3:    ^
command failed: echo '"\L"'|json -b 5
$ echo '"\M"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\M"
json: error: <stdin>:1:3:    ^
command failed: echo '"\M"'|json -b 1
$ echo '"\M"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\M"
json: error: <stdin>:1:3:    ^
command failed: echo '"\M"'|json -b 2
$ echo '"\M"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\M"
json: error: <stdin>:1:3:    ^
command failed: echo '"\M"'|json -b 3
$ echo '"\M"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\M"
json: error: <stdin>:1:3:    ^
command failed: echo '"\M"'|json -b 4
$ echo '"\M"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\M"
json: error: <stdin>:1:3:    ^
command failed: echo '"\M"'|json -b 5
$ echo '"\N"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\N"
json: error: <stdin>:1:3:    ^
command failed: echo '"\N"'|json -b 1
$ echo '"\N"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\N"
json: error: <stdin>:1:3:    ^
command failed: echo '"\N"'|json -b 2
$ echo '"\N"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\N"
json: error: <stdin>:1:3:    ^
command failed: echo '"\N"'|json -b 3
$ echo '"\N"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\N"
json: error: <stdin>:1:3:    ^
command failed: echo '"\N"'|json -b 4
$ echo '"\N"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\N"
json: error: <stdin>:1:3:    ^
command failed: echo '"\N"'|json -b 5
$ echo '"\O"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\O"
json: error: <stdin>:1:3:    ^
command failed: echo '"\O"'|json -b 1
$ echo '"\O"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\O"
json: error: <stdin>:1:3:    ^
command failed: echo '"\O"'|json -b 2
$ echo '"\O"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\O"
json: error: <stdin>:1:3:    ^
command failed: echo '"\O"'|json -b 3
$ echo '"\O"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\O"
json: error: <stdin>:1:3:    ^
command failed: echo '"\O"'|json -b 4
$ echo '"\O"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\O"
json: error: <stdin>:1:3:    ^
command failed: echo '"\O"'|json -b 5
$ echo '"\P"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\P"
json: error: <stdin>:1:3:    ^
command failed: echo '"\P"'|json -b 1
$ echo '"\P"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\P"
json: error: <stdin>:1:3:    ^
command failed: echo '"\P"'|json -b 2
$ echo '"\P"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\P"
json: error: <stdin>:1:3:    ^
command failed: echo '"\P"'|json -b 3
$ echo '"\P"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\P"
json: error: <stdin>:1:3:    ^
command failed: echo '"\P"'|json -b 4
$ echo '"\P"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\P"
json: error: <stdin>:1:3:    ^
command failed: echo '"\P"'|json -b 5
$ echo '"\Q"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\Q"
json: error: <stdin>:1:3:    ^
command failed: echo '"\Q"'|json -b 1
$ echo '"\Q"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\Q"
json: error: <stdin>:1:3:    ^
command failed: echo '"\Q"'|json -b 2
$ echo '"\Q"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\Q"
json: error: <stdin>:1:3:    ^
command failed: echo '"\Q"'|json -b 3
$ echo '"\Q"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\Q"
json: error: <stdin>:1:3:    ^
command failed: echo '"\Q"'|json -b 4
$ echo '"\Q"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\Q"
json: error: <stdin>:1:3:    ^
command failed: echo '"\Q"'|json -b 5
$ echo '"\R"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\R"
json: error: <stdin>:1:3:    ^
command failed: echo '"\R"'|json -b 1
$ echo '"\R"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\R"
json: error: <stdin>:1:3:    ^
command failed: echo '"\R"'|json -b 2
$ echo '"\R"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\R"
json: error: <stdin>:1:3:    ^
command failed: echo '"\R"'|json -b 3
$ echo '"\R"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\R"
json: error: <stdin>:1:3:    ^
command failed: echo '"\R"'|json -b 4
$ echo '"\R"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\R"
json: error: <stdin>:1:3:    ^
command failed: echo '"\R"'|json -b 5
$ echo '"\S"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\S"
json: error: <stdin>:1:3:    ^
command failed: echo '"\S"'|json -b 1
$ echo '"\S"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\S"
json: error: <stdin>:1:3:    ^
command failed: echo '"\S"'|json -b 2
$ echo '"\S"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\S"
json: error: <stdin>:1:3:    ^
command failed: echo '"\S"'|json -b 3
$ echo '"\S"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\S"
json: error: <stdin>:1:3:    ^
command failed: echo '"\S"'|json -b 4
$ echo '"\S"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\S"
json: error: <stdin>:1:3:    ^
command failed: echo '"\S"'|json -b 5
$ echo '"\T"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\T"
json: error: <stdin>:1:3:    ^
command failed: echo '"\T"'|json -b 1
$ echo '"\T"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\T"
json: error: <stdin>:1:3:    ^
command failed: echo '"\T"'|json -b 2
$ echo '"\T"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\T"
json: error: <stdin>:1:3:    ^
command failed: echo '"\T"'|json -b 3
$ echo '"\T"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\T"
json: error: <stdin>:1:3:    ^
command failed: echo '"\T"'|json -b 4
$ echo '"\T"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\T"
json: error: <stdin>:1:3:    ^
command failed: echo '"\T"'|json -b 5
$ echo '"\U"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\U"
json: error: <stdin>:1:3:    ^
command failed: echo '"\U"'|json -b 1
$ echo '"\U"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\U"
json: error: <stdin>:1:3:    ^
command failed: echo '"\U"'|json -b 2
$ echo '"\U"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\U"
json: error: <stdin>:1:3:    ^
command failed: echo '"\U"'|json -b 3
$ echo '"\U"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\U"
json: error: <stdin>:1:3:    ^
command failed: echo '"\U"'|json -b 4
$ echo '"\U"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\U"
json: error: <stdin>:1:3:    ^
command failed: echo '"\U"'|json -b 5
$ echo '"\V"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\V"
json: error: <stdin>:1:3:    ^
command failed: echo '"\V"'|json -b 1
$ echo '"\V"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\V"
json: error: <stdin>:1:3:    ^
command failed: echo '"\V"'|json -b 2
$ echo '"\V"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\V"
json: error: <stdin>:1:3:    ^
command failed: echo '"\V"'|json -b 3
$ echo '"\V"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\V"
json: error: <stdin>:1:3:    ^
command failed: echo '"\V"'|json -b 4
$ echo '"\V"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\V"
json: error: <stdin>:1:3:    ^
command failed: echo '"\V"'|json -b 5
$ echo '"\W"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\W"
json: error: <stdin>:1:3:    ^
command failed: echo '"\W"'|json -b 1
$ echo '"\W"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\W"
json: error: <stdin>:1:3:    ^
command failed: echo '"\W"'|json -b 2
$ echo '"\W"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\W"
json: error: <stdin>:1:3:    ^
command failed: echo '"\W"'|json -b 3
$ echo '"\W"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\W"
json: error: <stdin>:1:3:    ^
command failed: echo '"\W"'|json -b 4
$ echo '"\W"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\W"
json: error: <stdin>:1:3:    ^
command failed: echo '"\W"'|json -b 5
$ echo '"\X"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\X"
json: error: <stdin>:1:3:    ^
command failed: echo '"\X"'|json -b 1
$ echo '"\X"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\X"
json: error: <stdin>:1:3:    ^
command failed: echo '"\X"'|json -b 2
$ echo '"\X"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\X"
json: error: <stdin>:1:3:    ^
command failed: echo '"\X"'|json -b 3
$ echo '"\X"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\X"
json: error: <stdin>:1:3:    ^
command failed: echo '"\X"'|json -b 4
$ echo '"\X"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\X"
json: error: <stdin>:1:3:    ^
command failed: echo '"\X"'|json -b 5
$ echo '"\Y"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\Y"
json: error: <stdin>:1:3:    ^
command failed: echo '"\Y"'|json -b 1
$ echo '"\Y"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\Y"
json: error: <stdin>:1:3:    ^
command failed: echo '"\Y"'|json -b 2
$ echo '"\Y"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\Y"
json: error: <stdin>:1:3:    ^
command failed: echo '"\Y"'|json -b 3
$ echo '"\Y"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\Y"
json: error: <stdin>:1:3:    ^
command failed: echo '"\Y"'|json -b 4
$ echo '"\Y"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\Y"
json: error: <stdin>:1:3:    ^
command failed: echo '"\Y"'|json -b 5
$ echo '"\Z"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\Z"
json: error: <stdin>:1:3:    ^
command failed: echo '"\Z"'|json -b 1
$ echo '"\Z"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\Z"
json: error: <stdin>:1:3:    ^
command failed: echo '"\Z"'|json -b 2
$ echo '"\Z"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\Z"
json: error: <stdin>:1:3:    ^
command failed: echo '"\Z"'|json -b 3
$ echo '"\Z"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\Z"
json: error: <stdin>:1:3:    ^
command failed: echo '"\Z"'|json -b 4
$ echo '"\Z"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\Z"
json: error: <stdin>:1:3:    ^
command failed: echo '"\Z"'|json -b 5
$ echo '"\["'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\["
json: error: <stdin>:1:3:    ^
command failed: echo '"\["'|json -b 1
$ echo '"\["'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\["
json: error: <stdin>:1:3:    ^
command failed: echo '"\["'|json -b 2
$ echo '"\["'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\["
json: error: <stdin>:1:3:    ^
command failed: echo '"\["'|json -b 3
$ echo '"\["'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\["
json: error: <stdin>:1:3:    ^
command failed: echo '"\["'|json -b 4
$ echo '"\["'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\["
json: error: <stdin>:1:3:    ^
command failed: echo '"\["'|json -b 5
$ echo '"\\"'|json -b 1
"\\"
$ echo '"\\"'|json -b 2
"\\"
$ echo '"\\"'|json -b 3
"\\"
$ echo '"\\"'|json -b 4
"\\"
$ echo '"\\"'|json -b 5
"\\"
$ echo '"\]"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\]"
json: error: <stdin>:1:3:    ^
command failed: echo '"\]"'|json -b 1
$ echo '"\]"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\]"
json: error: <stdin>:1:3:    ^
command failed: echo '"\]"'|json -b 2
$ echo '"\]"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\]"
json: error: <stdin>:1:3:    ^
command failed: echo '"\]"'|json -b 3
$ echo '"\]"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\]"
json: error: <stdin>:1:3:    ^
command failed: echo '"\]"'|json -b 4
$ echo '"\]"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\]"
json: error: <stdin>:1:3:    ^
command failed: echo '"\]"'|json -b 5
$ echo '"\^"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\^"
json: error: <stdin>:1:3:    ^
command failed: echo '"\^"'|json -b 1
$ echo '"\^"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\^"
json: error: <stdin>:1:3:    ^
command failed: echo '"\^"'|json -b 2
$ echo '"\^"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\^"
json: error: <stdin>:1:3:    ^
command failed: echo '"\^"'|json -b 3
$ echo '"\^"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\^"
json: error: <stdin>:1:3:    ^
command failed: echo '"\^"'|json -b 4
$ echo '"\^"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\^"
json: error: <stdin>:1:3:    ^
command failed: echo '"\^"'|json -b 5
$ echo '"\_"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\_"
json: error: <stdin>:1:3:    ^
command failed: echo '"\_"'|json -b 1
$ echo '"\_"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\_"
json: error: <stdin>:1:3:    ^
command failed: echo '"\_"'|json -b 2
$ echo '"\_"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\_"
json: error: <stdin>:1:3:    ^
command failed: echo '"\_"'|json -b 3
$ echo '"\_"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\_"
json: error: <stdin>:1:3:    ^
command failed: echo '"\_"'|json -b 4
$ echo '"\_"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\_"
json: error: <stdin>:1:3:    ^
command failed: echo '"\_"'|json -b 5
$

--[ string-esc4 ]---------------------------------------------------------------

$ json() { json0 --literal-value "$@"; }
#
# # meta command:
# $ awk 'BEGIN{for(k=0x60;k<0x80;k++){if(k>=0x20&&k<0x7f&&k!=0x27){f="";s=sprintf("%c",k)}else{f=" -e";s=sprintf("\\\\x%x",k)}printf("echo%s \x27\x22\\%s\x22\x27\n",f,s)}}'|while read -r c0; do for((b=1;b<6;b++));do c="$c0|json -b $b"; echo "$ $c"; eval "$c"; done; done
#
$ echo '"\`"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\`"
json: error: <stdin>:1:3:    ^
command failed: echo '"\`"'|json -b 1
$ echo '"\`"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\`"
json: error: <stdin>:1:3:    ^
command failed: echo '"\`"'|json -b 2
$ echo '"\`"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\`"
json: error: <stdin>:1:3:    ^
command failed: echo '"\`"'|json -b 3
$ echo '"\`"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\`"
json: error: <stdin>:1:3:    ^
command failed: echo '"\`"'|json -b 4
$ echo '"\`"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\`"
json: error: <stdin>:1:3:    ^
command failed: echo '"\`"'|json -b 5
$ echo '"\a"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\a"
json: error: <stdin>:1:3:    ^
command failed: echo '"\a"'|json -b 1
$ echo '"\a"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\a"
json: error: <stdin>:1:3:    ^
command failed: echo '"\a"'|json -b 2
$ echo '"\a"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\a"
json: error: <stdin>:1:3:    ^
command failed: echo '"\a"'|json -b 3
$ echo '"\a"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\a"
json: error: <stdin>:1:3:    ^
command failed: echo '"\a"'|json -b 4
$ echo '"\a"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\a"
json: error: <stdin>:1:3:    ^
command failed: echo '"\a"'|json -b 5
$ echo '"\b"'|json -b 1
"\b"
$ echo '"\b"'|json -b 2
"\b"
$ echo '"\b"'|json -b 3
"\b"
$ echo '"\b"'|json -b 4
"\b"
$ echo '"\b"'|json -b 5
"\b"
$ echo '"\c"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\c"
json: error: <stdin>:1:3:    ^
command failed: echo '"\c"'|json -b 1
$ echo '"\c"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\c"
json: error: <stdin>:1:3:    ^
command failed: echo '"\c"'|json -b 2
$ echo '"\c"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\c"
json: error: <stdin>:1:3:    ^
command failed: echo '"\c"'|json -b 3
$ echo '"\c"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\c"
json: error: <stdin>:1:3:    ^
command failed: echo '"\c"'|json -b 4
$ echo '"\c"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\c"
json: error: <stdin>:1:3:    ^
command failed: echo '"\c"'|json -b 5
$ echo '"\d"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\d"
json: error: <stdin>:1:3:    ^
command failed: echo '"\d"'|json -b 1
$ echo '"\d"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\d"
json: error: <stdin>:1:3:    ^
command failed: echo '"\d"'|json -b 2
$ echo '"\d"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\d"
json: error: <stdin>:1:3:    ^
command failed: echo '"\d"'|json -b 3
$ echo '"\d"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\d"
json: error: <stdin>:1:3:    ^
command failed: echo '"\d"'|json -b 4
$ echo '"\d"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\d"
json: error: <stdin>:1:3:    ^
command failed: echo '"\d"'|json -b 5
$ echo '"\e"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\e"
json: error: <stdin>:1:3:    ^
command failed: echo '"\e"'|json -b 1
$ echo '"\e"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\e"
json: error: <stdin>:1:3:    ^
command failed: echo '"\e"'|json -b 2
$ echo '"\e"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\e"
json: error: <stdin>:1:3:    ^
command failed: echo '"\e"'|json -b 3
$ echo '"\e"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\e"
json: error: <stdin>:1:3:    ^
command failed: echo '"\e"'|json -b 4
$ echo '"\e"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\e"
json: error: <stdin>:1:3:    ^
command failed: echo '"\e"'|json -b 5
$ echo '"\f"'|json -b 1
"\f"
$ echo '"\f"'|json -b 2
"\f"
$ echo '"\f"'|json -b 3
"\f"
$ echo '"\f"'|json -b 4
"\f"
$ echo '"\f"'|json -b 5
"\f"
$ echo '"\g"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\g"
json: error: <stdin>:1:3:    ^
command failed: echo '"\g"'|json -b 1
$ echo '"\g"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\g"
json: error: <stdin>:1:3:    ^
command failed: echo '"\g"'|json -b 2
$ echo '"\g"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\g"
json: error: <stdin>:1:3:    ^
command failed: echo '"\g"'|json -b 3
$ echo '"\g"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\g"
json: error: <stdin>:1:3:    ^
command failed: echo '"\g"'|json -b 4
$ echo '"\g"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\g"
json: error: <stdin>:1:3:    ^
command failed: echo '"\g"'|json -b 5
$ echo '"\h"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\h"
json: error: <stdin>:1:3:    ^
command failed: echo '"\h"'|json -b 1
$ echo '"\h"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\h"
json: error: <stdin>:1:3:    ^
command failed: echo '"\h"'|json -b 2
$ echo '"\h"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\h"
json: error: <stdin>:1:3:    ^
command failed: echo '"\h"'|json -b 3
$ echo '"\h"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\h"
json: error: <stdin>:1:3:    ^
command failed: echo '"\h"'|json -b 4
$ echo '"\h"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\h"
json: error: <stdin>:1:3:    ^
command failed: echo '"\h"'|json -b 5
$ echo '"\i"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\i"
json: error: <stdin>:1:3:    ^
command failed: echo '"\i"'|json -b 1
$ echo '"\i"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\i"
json: error: <stdin>:1:3:    ^
command failed: echo '"\i"'|json -b 2
$ echo '"\i"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\i"
json: error: <stdin>:1:3:    ^
command failed: echo '"\i"'|json -b 3
$ echo '"\i"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\i"
json: error: <stdin>:1:3:    ^
command failed: echo '"\i"'|json -b 4
$ echo '"\i"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\i"
json: error: <stdin>:1:3:    ^
command failed: echo '"\i"'|json -b 5
$ echo '"\j"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\j"
json: error: <stdin>:1:3:    ^
command failed: echo '"\j"'|json -b 1
$ echo '"\j"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\j"
json: error: <stdin>:1:3:    ^
command failed: echo '"\j"'|json -b 2
$ echo '"\j"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\j"
json: error: <stdin>:1:3:    ^
command failed: echo '"\j"'|json -b 3
$ echo '"\j"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\j"
json: error: <stdin>:1:3:    ^
command failed: echo '"\j"'|json -b 4
$ echo '"\j"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\j"
json: error: <stdin>:1:3:    ^
command failed: echo '"\j"'|json -b 5
$ echo '"\k"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\k"
json: error: <stdin>:1:3:    ^
command failed: echo '"\k"'|json -b 1
$ echo '"\k"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\k"
json: error: <stdin>:1:3:    ^
command failed: echo '"\k"'|json -b 2
$ echo '"\k"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\k"
json: error: <stdin>:1:3:    ^
command failed: echo '"\k"'|json -b 3
$ echo '"\k"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\k"
json: error: <stdin>:1:3:    ^
command failed: echo '"\k"'|json -b 4
$ echo '"\k"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\k"
json: error: <stdin>:1:3:    ^
command failed: echo '"\k"'|json -b 5
$ echo '"\l"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\l"
json: error: <stdin>:1:3:    ^
command failed: echo '"\l"'|json -b 1
$ echo '"\l"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\l"
json: error: <stdin>:1:3:    ^
command failed: echo '"\l"'|json -b 2
$ echo '"\l"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\l"
json: error: <stdin>:1:3:    ^
command failed: echo '"\l"'|json -b 3
$ echo '"\l"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\l"
json: error: <stdin>:1:3:    ^
command failed: echo '"\l"'|json -b 4
$ echo '"\l"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\l"
json: error: <stdin>:1:3:    ^
command failed: echo '"\l"'|json -b 5
$ echo '"\m"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\m"
json: error: <stdin>:1:3:    ^
command failed: echo '"\m"'|json -b 1
$ echo '"\m"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\m"
json: error: <stdin>:1:3:    ^
command failed: echo '"\m"'|json -b 2
$ echo '"\m"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\m"
json: error: <stdin>:1:3:    ^
command failed: echo '"\m"'|json -b 3
$ echo '"\m"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\m"
json: error: <stdin>:1:3:    ^
command failed: echo '"\m"'|json -b 4
$ echo '"\m"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\m"
json: error: <stdin>:1:3:    ^
command failed: echo '"\m"'|json -b 5
$ echo '"\n"'|json -b 1
"\n"
$ echo '"\n"'|json -b 2
"\n"
$ echo '"\n"'|json -b 3
"\n"
$ echo '"\n"'|json -b 4
"\n"
$ echo '"\n"'|json -b 5
"\n"
$ echo '"\o"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\o"
json: error: <stdin>:1:3:    ^
command failed: echo '"\o"'|json -b 1
$ echo '"\o"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\o"
json: error: <stdin>:1:3:    ^
command failed: echo '"\o"'|json -b 2
$ echo '"\o"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\o"
json: error: <stdin>:1:3:    ^
command failed: echo '"\o"'|json -b 3
$ echo '"\o"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\o"
json: error: <stdin>:1:3:    ^
command failed: echo '"\o"'|json -b 4
$ echo '"\o"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\o"
json: error: <stdin>:1:3:    ^
command failed: echo '"\o"'|json -b 5
$ echo '"\p"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\p"
json: error: <stdin>:1:3:    ^
command failed: echo '"\p"'|json -b 1
$ echo '"\p"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\p"
json: error: <stdin>:1:3:    ^
command failed: echo '"\p"'|json -b 2
$ echo '"\p"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\p"
json: error: <stdin>:1:3:    ^
command failed: echo '"\p"'|json -b 3
$ echo '"\p"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\p"
json: error: <stdin>:1:3:    ^
command failed: echo '"\p"'|json -b 4
$ echo '"\p"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\p"
json: error: <stdin>:1:3:    ^
command failed: echo '"\p"'|json -b 5
$ echo '"\q"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\q"
json: error: <stdin>:1:3:    ^
command failed: echo '"\q"'|json -b 1
$ echo '"\q"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\q"
json: error: <stdin>:1:3:    ^
command failed: echo '"\q"'|json -b 2
$ echo '"\q"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\q"
json: error: <stdin>:1:3:    ^
command failed: echo '"\q"'|json -b 3
$ echo '"\q"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\q"
json: error: <stdin>:1:3:    ^
command failed: echo '"\q"'|json -b 4
$ echo '"\q"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\q"
json: error: <stdin>:1:3:    ^
command failed: echo '"\q"'|json -b 5
$ echo '"\r"'|json -b 1
"\r"
$ echo '"\r"'|json -b 2
"\r"
$ echo '"\r"'|json -b 3
"\r"
$ echo '"\r"'|json -b 4
"\r"
$ echo '"\r"'|json -b 5
"\r"
$ echo '"\s"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\s"
json: error: <stdin>:1:3:    ^
command failed: echo '"\s"'|json -b 1
$ echo '"\s"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\s"
json: error: <stdin>:1:3:    ^
command failed: echo '"\s"'|json -b 2
$ echo '"\s"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\s"
json: error: <stdin>:1:3:    ^
command failed: echo '"\s"'|json -b 3
$ echo '"\s"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\s"
json: error: <stdin>:1:3:    ^
command failed: echo '"\s"'|json -b 4
$ echo '"\s"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\s"
json: error: <stdin>:1:3:    ^
command failed: echo '"\s"'|json -b 5
$ echo '"\t"'|json -b 1
"\t"
$ echo '"\t"'|json -b 2
"\t"
$ echo '"\t"'|json -b 3
"\t"
$ echo '"\t"'|json -b 4
"\t"
$ echo '"\t"'|json -b 5
"\t"
$ echo '"\u"'|json -b 1
json: error: <stdin>:1:4: lex error: invalid string literal
json: error: <stdin>:1:4: "\\u"
json: error: <stdin>:1:4:     ^
command failed: echo '"\u"'|json -b 1
$ echo '"\u"'|json -b 2
json: error: <stdin>:1:4: lex error: invalid string literal
json: error: <stdin>:1:4: "\\u"
json: error: <stdin>:1:4:     ^
command failed: echo '"\u"'|json -b 2
$ echo '"\u"'|json -b 3
json: error: <stdin>:1:4: lex error: invalid string literal
json: error: <stdin>:1:4: "\\u"
json: error: <stdin>:1:4:     ^
command failed: echo '"\u"'|json -b 3
$ echo '"\u"'|json -b 4
json: error: <stdin>:1:4: lex error: invalid string literal
json: error: <stdin>:1:4: "\\u"
json: error: <stdin>:1:4:     ^
command failed: echo '"\u"'|json -b 4
$ echo '"\u"'|json -b 5
json: error: <stdin>:1:4: lex error: invalid string literal
json: error: <stdin>:1:4: "\\u"
json: error: <stdin>:1:4:     ^
command failed: echo '"\u"'|json -b 5
$ echo '"\v"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\v"
json: error: <stdin>:1:3:    ^
command failed: echo '"\v"'|json -b 1
$ echo '"\v"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\v"
json: error: <stdin>:1:3:    ^
command failed: echo '"\v"'|json -b 2
$ echo '"\v"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\v"
json: error: <stdin>:1:3:    ^
command failed: echo '"\v"'|json -b 3
$ echo '"\v"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\v"
json: error: <stdin>:1:3:    ^
command failed: echo '"\v"'|json -b 4
$ echo '"\v"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\v"
json: error: <stdin>:1:3:    ^
command failed: echo '"\v"'|json -b 5
$ echo '"\w"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\w"
json: error: <stdin>:1:3:    ^
command failed: echo '"\w"'|json -b 1
$ echo '"\w"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\w"
json: error: <stdin>:1:3:    ^
command failed: echo '"\w"'|json -b 2
$ echo '"\w"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\w"
json: error: <stdin>:1:3:    ^
command failed: echo '"\w"'|json -b 3
$ echo '"\w"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\w"
json: error: <stdin>:1:3:    ^
command failed: echo '"\w"'|json -b 4
$ echo '"\w"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\w"
json: error: <stdin>:1:3:    ^
command failed: echo '"\w"'|json -b 5
$ echo '"\x"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\x"
json: error: <stdin>:1:3:    ^
command failed: echo '"\x"'|json -b 1
$ echo '"\x"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\x"
json: error: <stdin>:1:3:    ^
command failed: echo '"\x"'|json -b 2
$ echo '"\x"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\x"
json: error: <stdin>:1:3:    ^
command failed: echo '"\x"'|json -b 3
$ echo '"\x"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\x"
json: error: <stdin>:1:3:    ^
command failed: echo '"\x"'|json -b 4
$ echo '"\x"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\x"
json: error: <stdin>:1:3:    ^
command failed: echo '"\x"'|json -b 5
$ echo '"\y"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\y"
json: error: <stdin>:1:3:    ^
command failed: echo '"\y"'|json -b 1
$ echo '"\y"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\y"
json: error: <stdin>:1:3:    ^
command failed: echo '"\y"'|json -b 2
$ echo '"\y"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\y"
json: error: <stdin>:1:3:    ^
command failed: echo '"\y"'|json -b 3
$ echo '"\y"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\y"
json: error: <stdin>:1:3:    ^
command failed: echo '"\y"'|json -b 4
$ echo '"\y"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\y"
json: error: <stdin>:1:3:    ^
command failed: echo '"\y"'|json -b 5
$ echo '"\z"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\z"
json: error: <stdin>:1:3:    ^
command failed: echo '"\z"'|json -b 1
$ echo '"\z"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\z"
json: error: <stdin>:1:3:    ^
command failed: echo '"\z"'|json -b 2
$ echo '"\z"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\z"
json: error: <stdin>:1:3:    ^
command failed: echo '"\z"'|json -b 3
$ echo '"\z"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\z"
json: error: <stdin>:1:3:    ^
command failed: echo '"\z"'|json -b 4
$ echo '"\z"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\z"
json: error: <stdin>:1:3:    ^
command failed: echo '"\z"'|json -b 5
$ echo '"\{"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\{"
json: error: <stdin>:1:3:    ^
command failed: echo '"\{"'|json -b 1
$ echo '"\{"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\{"
json: error: <stdin>:1:3:    ^
command failed: echo '"\{"'|json -b 2
$ echo '"\{"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\{"
json: error: <stdin>:1:3:    ^
command failed: echo '"\{"'|json -b 3
$ echo '"\{"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\{"
json: error: <stdin>:1:3:    ^
command failed: echo '"\{"'|json -b 4
$ echo '"\{"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\{"
json: error: <stdin>:1:3:    ^
command failed: echo '"\{"'|json -b 5
$ echo '"\|"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\|"
json: error: <stdin>:1:3:    ^
command failed: echo '"\|"'|json -b 1
$ echo '"\|"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\|"
json: error: <stdin>:1:3:    ^
command failed: echo '"\|"'|json -b 2
$ echo '"\|"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\|"
json: error: <stdin>:1:3:    ^
command failed: echo '"\|"'|json -b 3
$ echo '"\|"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\|"
json: error: <stdin>:1:3:    ^
command failed: echo '"\|"'|json -b 4
$ echo '"\|"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\|"
json: error: <stdin>:1:3:    ^
command failed: echo '"\|"'|json -b 5
$ echo '"\}"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\}"
json: error: <stdin>:1:3:    ^
command failed: echo '"\}"'|json -b 1
$ echo '"\}"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\}"
json: error: <stdin>:1:3:    ^
command failed: echo '"\}"'|json -b 2
$ echo '"\}"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\}"
json: error: <stdin>:1:3:    ^
command failed: echo '"\}"'|json -b 3
$ echo '"\}"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\}"
json: error: <stdin>:1:3:    ^
command failed: echo '"\}"'|json -b 4
$ echo '"\}"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\}"
json: error: <stdin>:1:3:    ^
command failed: echo '"\}"'|json -b 5
$ echo '"\~"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\~"
json: error: <stdin>:1:3:    ^
command failed: echo '"\~"'|json -b 1
$ echo '"\~"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\~"
json: error: <stdin>:1:3:    ^
command failed: echo '"\~"'|json -b 2
$ echo '"\~"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\~"
json: error: <stdin>:1:3:    ^
command failed: echo '"\~"'|json -b 3
$ echo '"\~"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\~"
json: error: <stdin>:1:3:    ^
command failed: echo '"\~"'|json -b 4
$ echo '"\~"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\~"
json: error: <stdin>:1:3:    ^
command failed: echo '"\~"'|json -b 5
$ echo -e '"\\\x7f"'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x7f"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x7f"'|json -b 1
$ echo -e '"\\\x7f"'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x7f"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x7f"'|json -b 2
$ echo -e '"\\\x7f"'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x7f"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x7f"'|json -b 3
$ echo -e '"\\\x7f"'|json -b 4
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x7f"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x7f"'|json -b 4
$ echo -e '"\\\x7f"'|json -b 5
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\\x7f"
json: error: <stdin>:1:3:    ^
command failed: echo -e '"\\\x7f"'|json -b 5
$

--[ string-unicode ]------------------------------------------------------------

$ json() { json0 --literal-value "$@"; }
$ echo '"\uDEAD"'|json
json: error: <stdin>:1:7: lex error: invalid string literal
json: error: <stdin>:1:7: "\\uDEAD"
json: error: <stdin>:1:7:        ^
command failed: echo '"\uDEAD"'|json
#
# # meta command:
# $ for((k=0;k<0x20;k++));do for((b=1;b<9;b++)); do printf -v v '%04x' $k; c="echo '\"\\u$v\"'|json -b $b"; echo "$ $c"; eval "$c"; done; done
#
$ echo '"\u0000"'|json -b 1
"\u0000"
$ echo '"\u0000"'|json -b 2
"\u0000"
$ echo '"\u0000"'|json -b 3
"\u0000"
$ echo '"\u0000"'|json -b 4
"\u0000"
$ echo '"\u0000"'|json -b 5
"\u0000"
$ echo '"\u0000"'|json -b 6
"\u0000"
$ echo '"\u0000"'|json -b 7
"\u0000"
$ echo '"\u0000"'|json -b 8
"\u0000"
$ echo '"\u0001"'|json -b 1
"\u0001"
$ echo '"\u0001"'|json -b 2
"\u0001"
$ echo '"\u0001"'|json -b 3
"\u0001"
$ echo '"\u0001"'|json -b 4
"\u0001"
$ echo '"\u0001"'|json -b 5
"\u0001"
$ echo '"\u0001"'|json -b 6
"\u0001"
$ echo '"\u0001"'|json -b 7
"\u0001"
$ echo '"\u0001"'|json -b 8
"\u0001"
$ echo '"\u0002"'|json -b 1
"\u0002"
$ echo '"\u0002"'|json -b 2
"\u0002"
$ echo '"\u0002"'|json -b 3
"\u0002"
$ echo '"\u0002"'|json -b 4
"\u0002"
$ echo '"\u0002"'|json -b 5
"\u0002"
$ echo '"\u0002"'|json -b 6
"\u0002"
$ echo '"\u0002"'|json -b 7
"\u0002"
$ echo '"\u0002"'|json -b 8
"\u0002"
$ echo '"\u0003"'|json -b 1
"\u0003"
$ echo '"\u0003"'|json -b 2
"\u0003"
$ echo '"\u0003"'|json -b 3
"\u0003"
$ echo '"\u0003"'|json -b 4
"\u0003"
$ echo '"\u0003"'|json -b 5
"\u0003"
$ echo '"\u0003"'|json -b 6
"\u0003"
$ echo '"\u0003"'|json -b 7
"\u0003"
$ echo '"\u0003"'|json -b 8
"\u0003"
$ echo '"\u0004"'|json -b 1
"\u0004"
$ echo '"\u0004"'|json -b 2
"\u0004"
$ echo '"\u0004"'|json -b 3
"\u0004"
$ echo '"\u0004"'|json -b 4
"\u0004"
$ echo '"\u0004"'|json -b 5
"\u0004"
$ echo '"\u0004"'|json -b 6
"\u0004"
$ echo '"\u0004"'|json -b 7
"\u0004"
$ echo '"\u0004"'|json -b 8
"\u0004"
$ echo '"\u0005"'|json -b 1
"\u0005"
$ echo '"\u0005"'|json -b 2
"\u0005"
$ echo '"\u0005"'|json -b 3
"\u0005"
$ echo '"\u0005"'|json -b 4
"\u0005"
$ echo '"\u0005"'|json -b 5
"\u0005"
$ echo '"\u0005"'|json -b 6
"\u0005"
$ echo '"\u0005"'|json -b 7
"\u0005"
$ echo '"\u0005"'|json -b 8
"\u0005"
$ echo '"\u0006"'|json -b 1
"\u0006"
$ echo '"\u0006"'|json -b 2
"\u0006"
$ echo '"\u0006"'|json -b 3
"\u0006"
$ echo '"\u0006"'|json -b 4
"\u0006"
$ echo '"\u0006"'|json -b 5
"\u0006"
$ echo '"\u0006"'|json -b 6
"\u0006"
$ echo '"\u0006"'|json -b 7
"\u0006"
$ echo '"\u0006"'|json -b 8
"\u0006"
$ echo '"\u0007"'|json -b 1
"\u0007"
$ echo '"\u0007"'|json -b 2
"\u0007"
$ echo '"\u0007"'|json -b 3
"\u0007"
$ echo '"\u0007"'|json -b 4
"\u0007"
$ echo '"\u0007"'|json -b 5
"\u0007"
$ echo '"\u0007"'|json -b 6
"\u0007"
$ echo '"\u0007"'|json -b 7
"\u0007"
$ echo '"\u0007"'|json -b 8
"\u0007"
$ echo '"\u0008"'|json -b 1
"\b"
$ echo '"\u0008"'|json -b 2
"\b"
$ echo '"\u0008"'|json -b 3
"\b"
$ echo '"\u0008"'|json -b 4
"\b"
$ echo '"\u0008"'|json -b 5
"\b"
$ echo '"\u0008"'|json -b 6
"\b"
$ echo '"\u0008"'|json -b 7
"\b"
$ echo '"\u0008"'|json -b 8
"\b"
$ echo '"\u0009"'|json -b 1
"\t"
$ echo '"\u0009"'|json -b 2
"\t"
$ echo '"\u0009"'|json -b 3
"\t"
$ echo '"\u0009"'|json -b 4
"\t"
$ echo '"\u0009"'|json -b 5
"\t"
$ echo '"\u0009"'|json -b 6
"\t"
$ echo '"\u0009"'|json -b 7
"\t"
$ echo '"\u0009"'|json -b 8
"\t"
$ echo '"\u000a"'|json -b 1
"\n"
$ echo '"\u000a"'|json -b 2
"\n"
$ echo '"\u000a"'|json -b 3
"\n"
$ echo '"\u000a"'|json -b 4
"\n"
$ echo '"\u000a"'|json -b 5
"\n"
$ echo '"\u000a"'|json -b 6
"\n"
$ echo '"\u000a"'|json -b 7
"\n"
$ echo '"\u000a"'|json -b 8
"\n"
$ echo '"\u000b"'|json -b 1
"\u000b"
$ echo '"\u000b"'|json -b 2
"\u000b"
$ echo '"\u000b"'|json -b 3
"\u000b"
$ echo '"\u000b"'|json -b 4
"\u000b"
$ echo '"\u000b"'|json -b 5
"\u000b"
$ echo '"\u000b"'|json -b 6
"\u000b"
$ echo '"\u000b"'|json -b 7
"\u000b"
$ echo '"\u000b"'|json -b 8
"\u000b"
$ echo '"\u000c"'|json -b 1
"\f"
$ echo '"\u000c"'|json -b 2
"\f"
$ echo '"\u000c"'|json -b 3
"\f"
$ echo '"\u000c"'|json -b 4
"\f"
$ echo '"\u000c"'|json -b 5
"\f"
$ echo '"\u000c"'|json -b 6
"\f"
$ echo '"\u000c"'|json -b 7
"\f"
$ echo '"\u000c"'|json -b 8
"\f"
$ echo '"\u000d"'|json -b 1
"\r"
$ echo '"\u000d"'|json -b 2
"\r"
$ echo '"\u000d"'|json -b 3
"\r"
$ echo '"\u000d"'|json -b 4
"\r"
$ echo '"\u000d"'|json -b 5
"\r"
$ echo '"\u000d"'|json -b 6
"\r"
$ echo '"\u000d"'|json -b 7
"\r"
$ echo '"\u000d"'|json -b 8
"\r"
$ echo '"\u000e"'|json -b 1
"\u000e"
$ echo '"\u000e"'|json -b 2
"\u000e"
$ echo '"\u000e"'|json -b 3
"\u000e"
$ echo '"\u000e"'|json -b 4
"\u000e"
$ echo '"\u000e"'|json -b 5
"\u000e"
$ echo '"\u000e"'|json -b 6
"\u000e"
$ echo '"\u000e"'|json -b 7
"\u000e"
$ echo '"\u000e"'|json -b 8
"\u000e"
$ echo '"\u000f"'|json -b 1
"\u000f"
$ echo '"\u000f"'|json -b 2
"\u000f"
$ echo '"\u000f"'|json -b 3
"\u000f"
$ echo '"\u000f"'|json -b 4
"\u000f"
$ echo '"\u000f"'|json -b 5
"\u000f"
$ echo '"\u000f"'|json -b 6
"\u000f"
$ echo '"\u000f"'|json -b 7
"\u000f"
$ echo '"\u000f"'|json -b 8
"\u000f"
$ echo '"\u0010"'|json -b 1
"\u0010"
$ echo '"\u0010"'|json -b 2
"\u0010"
$ echo '"\u0010"'|json -b 3
"\u0010"
$ echo '"\u0010"'|json -b 4
"\u0010"
$ echo '"\u0010"'|json -b 5
"\u0010"
$ echo '"\u0010"'|json -b 6
"\u0010"
$ echo '"\u0010"'|json -b 7
"\u0010"
$ echo '"\u0010"'|json -b 8
"\u0010"
$ echo '"\u0011"'|json -b 1
"\u0011"
$ echo '"\u0011"'|json -b 2
"\u0011"
$ echo '"\u0011"'|json -b 3
"\u0011"
$ echo '"\u0011"'|json -b 4
"\u0011"
$ echo '"\u0011"'|json -b 5
"\u0011"
$ echo '"\u0011"'|json -b 6
"\u0011"
$ echo '"\u0011"'|json -b 7
"\u0011"
$ echo '"\u0011"'|json -b 8
"\u0011"
$ echo '"\u0012"'|json -b 1
"\u0012"
$ echo '"\u0012"'|json -b 2
"\u0012"
$ echo '"\u0012"'|json -b 3
"\u0012"
$ echo '"\u0012"'|json -b 4
"\u0012"
$ echo '"\u0012"'|json -b 5
"\u0012"
$ echo '"\u0012"'|json -b 6
"\u0012"
$ echo '"\u0012"'|json -b 7
"\u0012"
$ echo '"\u0012"'|json -b 8
"\u0012"
$ echo '"\u0013"'|json -b 1
"\u0013"
$ echo '"\u0013"'|json -b 2
"\u0013"
$ echo '"\u0013"'|json -b 3
"\u0013"
$ echo '"\u0013"'|json -b 4
"\u0013"
$ echo '"\u0013"'|json -b 5
"\u0013"
$ echo '"\u0013"'|json -b 6
"\u0013"
$ echo '"\u0013"'|json -b 7
"\u0013"
$ echo '"\u0013"'|json -b 8
"\u0013"
$ echo '"\u0014"'|json -b 1
"\u0014"
$ echo '"\u0014"'|json -b 2
"\u0014"
$ echo '"\u0014"'|json -b 3
"\u0014"
$ echo '"\u0014"'|json -b 4
"\u0014"
$ echo '"\u0014"'|json -b 5
"\u0014"
$ echo '"\u0014"'|json -b 6
"\u0014"
$ echo '"\u0014"'|json -b 7
"\u0014"
$ echo '"\u0014"'|json -b 8
"\u0014"
$ echo '"\u0015"'|json -b 1
"\u0015"
$ echo '"\u0015"'|json -b 2
"\u0015"
$ echo '"\u0015"'|json -b 3
"\u0015"
$ echo '"\u0015"'|json -b 4
"\u0015"
$ echo '"\u0015"'|json -b 5
"\u0015"
$ echo '"\u0015"'|json -b 6
"\u0015"
$ echo '"\u0015"'|json -b 7
"\u0015"
$ echo '"\u0015"'|json -b 8
"\u0015"
$ echo '"\u0016"'|json -b 1
"\u0016"
$ echo '"\u0016"'|json -b 2
"\u0016"
$ echo '"\u0016"'|json -b 3
"\u0016"
$ echo '"\u0016"'|json -b 4
"\u0016"
$ echo '"\u0016"'|json -b 5
"\u0016"
$ echo '"\u0016"'|json -b 6
"\u0016"
$ echo '"\u0016"'|json -b 7
"\u0016"
$ echo '"\u0016"'|json -b 8
"\u0016"
$ echo '"\u0017"'|json -b 1
"\u0017"
$ echo '"\u0017"'|json -b 2
"\u0017"
$ echo '"\u0017"'|json -b 3
"\u0017"
$ echo '"\u0017"'|json -b 4
"\u0017"
$ echo '"\u0017"'|json -b 5
"\u0017"
$ echo '"\u0017"'|json -b 6
"\u0017"
$ echo '"\u0017"'|json -b 7
"\u0017"
$ echo '"\u0017"'|json -b 8
"\u0017"
$ echo '"\u0018"'|json -b 1
"\u0018"
$ echo '"\u0018"'|json -b 2
"\u0018"
$ echo '"\u0018"'|json -b 3
"\u0018"
$ echo '"\u0018"'|json -b 4
"\u0018"
$ echo '"\u0018"'|json -b 5
"\u0018"
$ echo '"\u0018"'|json -b 6
"\u0018"
$ echo '"\u0018"'|json -b 7
"\u0018"
$ echo '"\u0018"'|json -b 8
"\u0018"
$ echo '"\u0019"'|json -b 1
"\u0019"
$ echo '"\u0019"'|json -b 2
"\u0019"
$ echo '"\u0019"'|json -b 3
"\u0019"
$ echo '"\u0019"'|json -b 4
"\u0019"
$ echo '"\u0019"'|json -b 5
"\u0019"
$ echo '"\u0019"'|json -b 6
"\u0019"
$ echo '"\u0019"'|json -b 7
"\u0019"
$ echo '"\u0019"'|json -b 8
"\u0019"
$ echo '"\u001a"'|json -b 1
"\u001a"
$ echo '"\u001a"'|json -b 2
"\u001a"
$ echo '"\u001a"'|json -b 3
"\u001a"
$ echo '"\u001a"'|json -b 4
"\u001a"
$ echo '"\u001a"'|json -b 5
"\u001a"
$ echo '"\u001a"'|json -b 6
"\u001a"
$ echo '"\u001a"'|json -b 7
"\u001a"
$ echo '"\u001a"'|json -b 8
"\u001a"
$ echo '"\u001b"'|json -b 1
"\u001b"
$ echo '"\u001b"'|json -b 2
"\u001b"
$ echo '"\u001b"'|json -b 3
"\u001b"
$ echo '"\u001b"'|json -b 4
"\u001b"
$ echo '"\u001b"'|json -b 5
"\u001b"
$ echo '"\u001b"'|json -b 6
"\u001b"
$ echo '"\u001b"'|json -b 7
"\u001b"
$ echo '"\u001b"'|json -b 8
"\u001b"
$ echo '"\u001c"'|json -b 1
"\u001c"
$ echo '"\u001c"'|json -b 2
"\u001c"
$ echo '"\u001c"'|json -b 3
"\u001c"
$ echo '"\u001c"'|json -b 4
"\u001c"
$ echo '"\u001c"'|json -b 5
"\u001c"
$ echo '"\u001c"'|json -b 6
"\u001c"
$ echo '"\u001c"'|json -b 7
"\u001c"
$ echo '"\u001c"'|json -b 8
"\u001c"
$ echo '"\u001d"'|json -b 1
"\u001d"
$ echo '"\u001d"'|json -b 2
"\u001d"
$ echo '"\u001d"'|json -b 3
"\u001d"
$ echo '"\u001d"'|json -b 4
"\u001d"
$ echo '"\u001d"'|json -b 5
"\u001d"
$ echo '"\u001d"'|json -b 6
"\u001d"
$ echo '"\u001d"'|json -b 7
"\u001d"
$ echo '"\u001d"'|json -b 8
"\u001d"
$ echo '"\u001e"'|json -b 1
"\u001e"
$ echo '"\u001e"'|json -b 2
"\u001e"
$ echo '"\u001e"'|json -b 3
"\u001e"
$ echo '"\u001e"'|json -b 4
"\u001e"
$ echo '"\u001e"'|json -b 5
"\u001e"
$ echo '"\u001e"'|json -b 6
"\u001e"
$ echo '"\u001e"'|json -b 7
"\u001e"
$ echo '"\u001e"'|json -b 8
"\u001e"
$ echo '"\u001f"'|json -b 1
"\u001f"
$ echo '"\u001f"'|json -b 2
"\u001f"
$ echo '"\u001f"'|json -b 3
"\u001f"
$ echo '"\u001f"'|json -b 4
"\u001f"
$ echo '"\u001f"'|json -b 5
"\u001f"
$ echo '"\u001f"'|json -b 6
"\u001f"
$ echo '"\u001f"'|json -b 7
"\u001f"
$ echo '"\u001f"'|json -b 8
"\u001f"
$

--[ string-unicode2 ]-----------------------------------------------------------

$ json() { json0 --literal-value "$@"; }
#
# # meta command:
# $ for((k=0x20;k<0x40;k++));do for((b=1;b<9;b++)); do printf -v v '%04x' $k; c="echo '\"\\u$v\"'|json -b $b"; echo "$ $c"; eval "$c"; done; done
#
$ echo '"\u0020"'|json -b 1
" "
$ echo '"\u0020"'|json -b 2
" "
$ echo '"\u0020"'|json -b 3
" "
$ echo '"\u0020"'|json -b 4
" "
$ echo '"\u0020"'|json -b 5
" "
$ echo '"\u0020"'|json -b 6
" "
$ echo '"\u0020"'|json -b 7
" "
$ echo '"\u0020"'|json -b 8
" "
$ echo '"\u0021"'|json -b 1
"!"
$ echo '"\u0021"'|json -b 2
"!"
$ echo '"\u0021"'|json -b 3
"!"
$ echo '"\u0021"'|json -b 4
"!"
$ echo '"\u0021"'|json -b 5
"!"
$ echo '"\u0021"'|json -b 6
"!"
$ echo '"\u0021"'|json -b 7
"!"
$ echo '"\u0021"'|json -b 8
"!"
$ echo '"\u0022"'|json -b 1
"\""
$ echo '"\u0022"'|json -b 2
"\""
$ echo '"\u0022"'|json -b 3
"\""
$ echo '"\u0022"'|json -b 4
"\""
$ echo '"\u0022"'|json -b 5
"\""
$ echo '"\u0022"'|json -b 6
"\""
$ echo '"\u0022"'|json -b 7
"\""
$ echo '"\u0022"'|json -b 8
"\""
$ echo '"\u0023"'|json -b 1
"#"
$ echo '"\u0023"'|json -b 2
"#"
$ echo '"\u0023"'|json -b 3
"#"
$ echo '"\u0023"'|json -b 4
"#"
$ echo '"\u0023"'|json -b 5
"#"
$ echo '"\u0023"'|json -b 6
"#"
$ echo '"\u0023"'|json -b 7
"#"
$ echo '"\u0023"'|json -b 8
"#"
$ echo '"\u0024"'|json -b 1
"$"
$ echo '"\u0024"'|json -b 2
"$"
$ echo '"\u0024"'|json -b 3
"$"
$ echo '"\u0024"'|json -b 4
"$"
$ echo '"\u0024"'|json -b 5
"$"
$ echo '"\u0024"'|json -b 6
"$"
$ echo '"\u0024"'|json -b 7
"$"
$ echo '"\u0024"'|json -b 8
"$"
$ echo '"\u0025"'|json -b 1
"%"
$ echo '"\u0025"'|json -b 2
"%"
$ echo '"\u0025"'|json -b 3
"%"
$ echo '"\u0025"'|json -b 4
"%"
$ echo '"\u0025"'|json -b 5
"%"
$ echo '"\u0025"'|json -b 6
"%"
$ echo '"\u0025"'|json -b 7
"%"
$ echo '"\u0025"'|json -b 8
"%"
$ echo '"\u0026"'|json -b 1
"&"
$ echo '"\u0026"'|json -b 2
"&"
$ echo '"\u0026"'|json -b 3
"&"
$ echo '"\u0026"'|json -b 4
"&"
$ echo '"\u0026"'|json -b 5
"&"
$ echo '"\u0026"'|json -b 6
"&"
$ echo '"\u0026"'|json -b 7
"&"
$ echo '"\u0026"'|json -b 8
"&"
$ echo '"\u0027"'|json -b 1
"'"
$ echo '"\u0027"'|json -b 2
"'"
$ echo '"\u0027"'|json -b 3
"'"
$ echo '"\u0027"'|json -b 4
"'"
$ echo '"\u0027"'|json -b 5
"'"
$ echo '"\u0027"'|json -b 6
"'"
$ echo '"\u0027"'|json -b 7
"'"
$ echo '"\u0027"'|json -b 8
"'"
$ echo '"\u0028"'|json -b 1
"("
$ echo '"\u0028"'|json -b 2
"("
$ echo '"\u0028"'|json -b 3
"("
$ echo '"\u0028"'|json -b 4
"("
$ echo '"\u0028"'|json -b 5
"("
$ echo '"\u0028"'|json -b 6
"("
$ echo '"\u0028"'|json -b 7
"("
$ echo '"\u0028"'|json -b 8
"("
$ echo '"\u0029"'|json -b 1
")"
$ echo '"\u0029"'|json -b 2
")"
$ echo '"\u0029"'|json -b 3
")"
$ echo '"\u0029"'|json -b 4
")"
$ echo '"\u0029"'|json -b 5
")"
$ echo '"\u0029"'|json -b 6
")"
$ echo '"\u0029"'|json -b 7
")"
$ echo '"\u0029"'|json -b 8
")"
$ echo '"\u002a"'|json -b 1
"*"
$ echo '"\u002a"'|json -b 2
"*"
$ echo '"\u002a"'|json -b 3
"*"
$ echo '"\u002a"'|json -b 4
"*"
$ echo '"\u002a"'|json -b 5
"*"
$ echo '"\u002a"'|json -b 6
"*"
$ echo '"\u002a"'|json -b 7
"*"
$ echo '"\u002a"'|json -b 8
"*"
$ echo '"\u002b"'|json -b 1
"+"
$ echo '"\u002b"'|json -b 2
"+"
$ echo '"\u002b"'|json -b 3
"+"
$ echo '"\u002b"'|json -b 4
"+"
$ echo '"\u002b"'|json -b 5
"+"
$ echo '"\u002b"'|json -b 6
"+"
$ echo '"\u002b"'|json -b 7
"+"
$ echo '"\u002b"'|json -b 8
"+"
$ echo '"\u002c"'|json -b 1
","
$ echo '"\u002c"'|json -b 2
","
$ echo '"\u002c"'|json -b 3
","
$ echo '"\u002c"'|json -b 4
","
$ echo '"\u002c"'|json -b 5
","
$ echo '"\u002c"'|json -b 6
","
$ echo '"\u002c"'|json -b 7
","
$ echo '"\u002c"'|json -b 8
","
$ echo '"\u002d"'|json -b 1
"-"
$ echo '"\u002d"'|json -b 2
"-"
$ echo '"\u002d"'|json -b 3
"-"
$ echo '"\u002d"'|json -b 4
"-"
$ echo '"\u002d"'|json -b 5
"-"
$ echo '"\u002d"'|json -b 6
"-"
$ echo '"\u002d"'|json -b 7
"-"
$ echo '"\u002d"'|json -b 8
"-"
$ echo '"\u002e"'|json -b 1
"."
$ echo '"\u002e"'|json -b 2
"."
$ echo '"\u002e"'|json -b 3
"."
$ echo '"\u002e"'|json -b 4
"."
$ echo '"\u002e"'|json -b 5
"."
$ echo '"\u002e"'|json -b 6
"."
$ echo '"\u002e"'|json -b 7
"."
$ echo '"\u002e"'|json -b 8
"."
$ echo '"\u002f"'|json -b 1
"/"
$ echo '"\u002f"'|json -b 2
"/"
$ echo '"\u002f"'|json -b 3
"/"
$ echo '"\u002f"'|json -b 4
"/"
$ echo '"\u002f"'|json -b 5
"/"
$ echo '"\u002f"'|json -b 6
"/"
$ echo '"\u002f"'|json -b 7
"/"
$ echo '"\u002f"'|json -b 8
"/"
$ echo '"\u0030"'|json -b 1
"0"
$ echo '"\u0030"'|json -b 2
"0"
$ echo '"\u0030"'|json -b 3
"0"
$ echo '"\u0030"'|json -b 4
"0"
$ echo '"\u0030"'|json -b 5
"0"
$ echo '"\u0030"'|json -b 6
"0"
$ echo '"\u0030"'|json -b 7
"0"
$ echo '"\u0030"'|json -b 8
"0"
$ echo '"\u0031"'|json -b 1
"1"
$ echo '"\u0031"'|json -b 2
"1"
$ echo '"\u0031"'|json -b 3
"1"
$ echo '"\u0031"'|json -b 4
"1"
$ echo '"\u0031"'|json -b 5
"1"
$ echo '"\u0031"'|json -b 6
"1"
$ echo '"\u0031"'|json -b 7
"1"
$ echo '"\u0031"'|json -b 8
"1"
$ echo '"\u0032"'|json -b 1
"2"
$ echo '"\u0032"'|json -b 2
"2"
$ echo '"\u0032"'|json -b 3
"2"
$ echo '"\u0032"'|json -b 4
"2"
$ echo '"\u0032"'|json -b 5
"2"
$ echo '"\u0032"'|json -b 6
"2"
$ echo '"\u0032"'|json -b 7
"2"
$ echo '"\u0032"'|json -b 8
"2"
$ echo '"\u0033"'|json -b 1
"3"
$ echo '"\u0033"'|json -b 2
"3"
$ echo '"\u0033"'|json -b 3
"3"
$ echo '"\u0033"'|json -b 4
"3"
$ echo '"\u0033"'|json -b 5
"3"
$ echo '"\u0033"'|json -b 6
"3"
$ echo '"\u0033"'|json -b 7
"3"
$ echo '"\u0033"'|json -b 8
"3"
$ echo '"\u0034"'|json -b 1
"4"
$ echo '"\u0034"'|json -b 2
"4"
$ echo '"\u0034"'|json -b 3
"4"
$ echo '"\u0034"'|json -b 4
"4"
$ echo '"\u0034"'|json -b 5
"4"
$ echo '"\u0034"'|json -b 6
"4"
$ echo '"\u0034"'|json -b 7
"4"
$ echo '"\u0034"'|json -b 8
"4"
$ echo '"\u0035"'|json -b 1
"5"
$ echo '"\u0035"'|json -b 2
"5"
$ echo '"\u0035"'|json -b 3
"5"
$ echo '"\u0035"'|json -b 4
"5"
$ echo '"\u0035"'|json -b 5
"5"
$ echo '"\u0035"'|json -b 6
"5"
$ echo '"\u0035"'|json -b 7
"5"
$ echo '"\u0035"'|json -b 8
"5"
$ echo '"\u0036"'|json -b 1
"6"
$ echo '"\u0036"'|json -b 2
"6"
$ echo '"\u0036"'|json -b 3
"6"
$ echo '"\u0036"'|json -b 4
"6"
$ echo '"\u0036"'|json -b 5
"6"
$ echo '"\u0036"'|json -b 6
"6"
$ echo '"\u0036"'|json -b 7
"6"
$ echo '"\u0036"'|json -b 8
"6"
$ echo '"\u0037"'|json -b 1
"7"
$ echo '"\u0037"'|json -b 2
"7"
$ echo '"\u0037"'|json -b 3
"7"
$ echo '"\u0037"'|json -b 4
"7"
$ echo '"\u0037"'|json -b 5
"7"
$ echo '"\u0037"'|json -b 6
"7"
$ echo '"\u0037"'|json -b 7
"7"
$ echo '"\u0037"'|json -b 8
"7"
$ echo '"\u0038"'|json -b 1
"8"
$ echo '"\u0038"'|json -b 2
"8"
$ echo '"\u0038"'|json -b 3
"8"
$ echo '"\u0038"'|json -b 4
"8"
$ echo '"\u0038"'|json -b 5
"8"
$ echo '"\u0038"'|json -b 6
"8"
$ echo '"\u0038"'|json -b 7
"8"
$ echo '"\u0038"'|json -b 8
"8"
$ echo '"\u0039"'|json -b 1
"9"
$ echo '"\u0039"'|json -b 2
"9"
$ echo '"\u0039"'|json -b 3
"9"
$ echo '"\u0039"'|json -b 4
"9"
$ echo '"\u0039"'|json -b 5
"9"
$ echo '"\u0039"'|json -b 6
"9"
$ echo '"\u0039"'|json -b 7
"9"
$ echo '"\u0039"'|json -b 8
"9"
$ echo '"\u003a"'|json -b 1
":"
$ echo '"\u003a"'|json -b 2
":"
$ echo '"\u003a"'|json -b 3
":"
$ echo '"\u003a"'|json -b 4
":"
$ echo '"\u003a"'|json -b 5
":"
$ echo '"\u003a"'|json -b 6
":"
$ echo '"\u003a"'|json -b 7
":"
$ echo '"\u003a"'|json -b 8
":"
$ echo '"\u003b"'|json -b 1
";"
$ echo '"\u003b"'|json -b 2
";"
$ echo '"\u003b"'|json -b 3
";"
$ echo '"\u003b"'|json -b 4
";"
$ echo '"\u003b"'|json -b 5
";"
$ echo '"\u003b"'|json -b 6
";"
$ echo '"\u003b"'|json -b 7
";"
$ echo '"\u003b"'|json -b 8
";"
$ echo '"\u003c"'|json -b 1
"<"
$ echo '"\u003c"'|json -b 2
"<"
$ echo '"\u003c"'|json -b 3
"<"
$ echo '"\u003c"'|json -b 4
"<"
$ echo '"\u003c"'|json -b 5
"<"
$ echo '"\u003c"'|json -b 6
"<"
$ echo '"\u003c"'|json -b 7
"<"
$ echo '"\u003c"'|json -b 8
"<"
$ echo '"\u003d"'|json -b 1
"="
$ echo '"\u003d"'|json -b 2
"="
$ echo '"\u003d"'|json -b 3
"="
$ echo '"\u003d"'|json -b 4
"="
$ echo '"\u003d"'|json -b 5
"="
$ echo '"\u003d"'|json -b 6
"="
$ echo '"\u003d"'|json -b 7
"="
$ echo '"\u003d"'|json -b 8
"="
$ echo '"\u003e"'|json -b 1
">"
$ echo '"\u003e"'|json -b 2
">"
$ echo '"\u003e"'|json -b 3
">"
$ echo '"\u003e"'|json -b 4
">"
$ echo '"\u003e"'|json -b 5
">"
$ echo '"\u003e"'|json -b 6
">"
$ echo '"\u003e"'|json -b 7
">"
$ echo '"\u003e"'|json -b 8
">"
$ echo '"\u003f"'|json -b 1
"?"
$ echo '"\u003f"'|json -b 2
"?"
$ echo '"\u003f"'|json -b 3
"?"
$ echo '"\u003f"'|json -b 4
"?"
$ echo '"\u003f"'|json -b 5
"?"
$ echo '"\u003f"'|json -b 6
"?"
$ echo '"\u003f"'|json -b 7
"?"
$ echo '"\u003f"'|json -b 8
"?"
$

--[ string-unicode3 ]-----------------------------------------------------------

$ json() { json0 --literal-value "$@"; }
#
# # meta command:
# $ for((k=0x40;k<0x60;k++));do for((b=1;b<9;b++)); do printf -v v '%04x' $k; c="echo '\"\\u$v\"'|json -b $b"; echo "$ $c"; eval "$c"; done; done
#
$ echo '"\u0040"'|json -b 1
"@"
$ echo '"\u0040"'|json -b 2
"@"
$ echo '"\u0040"'|json -b 3
"@"
$ echo '"\u0040"'|json -b 4
"@"
$ echo '"\u0040"'|json -b 5
"@"
$ echo '"\u0040"'|json -b 6
"@"
$ echo '"\u0040"'|json -b 7
"@"
$ echo '"\u0040"'|json -b 8
"@"
$ echo '"\u0041"'|json -b 1
"A"
$ echo '"\u0041"'|json -b 2
"A"
$ echo '"\u0041"'|json -b 3
"A"
$ echo '"\u0041"'|json -b 4
"A"
$ echo '"\u0041"'|json -b 5
"A"
$ echo '"\u0041"'|json -b 6
"A"
$ echo '"\u0041"'|json -b 7
"A"
$ echo '"\u0041"'|json -b 8
"A"
$ echo '"\u0042"'|json -b 1
"B"
$ echo '"\u0042"'|json -b 2
"B"
$ echo '"\u0042"'|json -b 3
"B"
$ echo '"\u0042"'|json -b 4
"B"
$ echo '"\u0042"'|json -b 5
"B"
$ echo '"\u0042"'|json -b 6
"B"
$ echo '"\u0042"'|json -b 7
"B"
$ echo '"\u0042"'|json -b 8
"B"
$ echo '"\u0043"'|json -b 1
"C"
$ echo '"\u0043"'|json -b 2
"C"
$ echo '"\u0043"'|json -b 3
"C"
$ echo '"\u0043"'|json -b 4
"C"
$ echo '"\u0043"'|json -b 5
"C"
$ echo '"\u0043"'|json -b 6
"C"
$ echo '"\u0043"'|json -b 7
"C"
$ echo '"\u0043"'|json -b 8
"C"
$ echo '"\u0044"'|json -b 1
"D"
$ echo '"\u0044"'|json -b 2
"D"
$ echo '"\u0044"'|json -b 3
"D"
$ echo '"\u0044"'|json -b 4
"D"
$ echo '"\u0044"'|json -b 5
"D"
$ echo '"\u0044"'|json -b 6
"D"
$ echo '"\u0044"'|json -b 7
"D"
$ echo '"\u0044"'|json -b 8
"D"
$ echo '"\u0045"'|json -b 1
"E"
$ echo '"\u0045"'|json -b 2
"E"
$ echo '"\u0045"'|json -b 3
"E"
$ echo '"\u0045"'|json -b 4
"E"
$ echo '"\u0045"'|json -b 5
"E"
$ echo '"\u0045"'|json -b 6
"E"
$ echo '"\u0045"'|json -b 7
"E"
$ echo '"\u0045"'|json -b 8
"E"
$ echo '"\u0046"'|json -b 1
"F"
$ echo '"\u0046"'|json -b 2
"F"
$ echo '"\u0046"'|json -b 3
"F"
$ echo '"\u0046"'|json -b 4
"F"
$ echo '"\u0046"'|json -b 5
"F"
$ echo '"\u0046"'|json -b 6
"F"
$ echo '"\u0046"'|json -b 7
"F"
$ echo '"\u0046"'|json -b 8
"F"
$ echo '"\u0047"'|json -b 1
"G"
$ echo '"\u0047"'|json -b 2
"G"
$ echo '"\u0047"'|json -b 3
"G"
$ echo '"\u0047"'|json -b 4
"G"
$ echo '"\u0047"'|json -b 5
"G"
$ echo '"\u0047"'|json -b 6
"G"
$ echo '"\u0047"'|json -b 7
"G"
$ echo '"\u0047"'|json -b 8
"G"
$ echo '"\u0048"'|json -b 1
"H"
$ echo '"\u0048"'|json -b 2
"H"
$ echo '"\u0048"'|json -b 3
"H"
$ echo '"\u0048"'|json -b 4
"H"
$ echo '"\u0048"'|json -b 5
"H"
$ echo '"\u0048"'|json -b 6
"H"
$ echo '"\u0048"'|json -b 7
"H"
$ echo '"\u0048"'|json -b 8
"H"
$ echo '"\u0049"'|json -b 1
"I"
$ echo '"\u0049"'|json -b 2
"I"
$ echo '"\u0049"'|json -b 3
"I"
$ echo '"\u0049"'|json -b 4
"I"
$ echo '"\u0049"'|json -b 5
"I"
$ echo '"\u0049"'|json -b 6
"I"
$ echo '"\u0049"'|json -b 7
"I"
$ echo '"\u0049"'|json -b 8
"I"
$ echo '"\u004a"'|json -b 1
"J"
$ echo '"\u004a"'|json -b 2
"J"
$ echo '"\u004a"'|json -b 3
"J"
$ echo '"\u004a"'|json -b 4
"J"
$ echo '"\u004a"'|json -b 5
"J"
$ echo '"\u004a"'|json -b 6
"J"
$ echo '"\u004a"'|json -b 7
"J"
$ echo '"\u004a"'|json -b 8
"J"
$ echo '"\u004b"'|json -b 1
"K"
$ echo '"\u004b"'|json -b 2
"K"
$ echo '"\u004b"'|json -b 3
"K"
$ echo '"\u004b"'|json -b 4
"K"
$ echo '"\u004b"'|json -b 5
"K"
$ echo '"\u004b"'|json -b 6
"K"
$ echo '"\u004b"'|json -b 7
"K"
$ echo '"\u004b"'|json -b 8
"K"
$ echo '"\u004c"'|json -b 1
"L"
$ echo '"\u004c"'|json -b 2
"L"
$ echo '"\u004c"'|json -b 3
"L"
$ echo '"\u004c"'|json -b 4
"L"
$ echo '"\u004c"'|json -b 5
"L"
$ echo '"\u004c"'|json -b 6
"L"
$ echo '"\u004c"'|json -b 7
"L"
$ echo '"\u004c"'|json -b 8
"L"
$ echo '"\u004d"'|json -b 1
"M"
$ echo '"\u004d"'|json -b 2
"M"
$ echo '"\u004d"'|json -b 3
"M"
$ echo '"\u004d"'|json -b 4
"M"
$ echo '"\u004d"'|json -b 5
"M"
$ echo '"\u004d"'|json -b 6
"M"
$ echo '"\u004d"'|json -b 7
"M"
$ echo '"\u004d"'|json -b 8
"M"
$ echo '"\u004e"'|json -b 1
"N"
$ echo '"\u004e"'|json -b 2
"N"
$ echo '"\u004e"'|json -b 3
"N"
$ echo '"\u004e"'|json -b 4
"N"
$ echo '"\u004e"'|json -b 5
"N"
$ echo '"\u004e"'|json -b 6
"N"
$ echo '"\u004e"'|json -b 7
"N"
$ echo '"\u004e"'|json -b 8
"N"
$ echo '"\u004f"'|json -b 1
"O"
$ echo '"\u004f"'|json -b 2
"O"
$ echo '"\u004f"'|json -b 3
"O"
$ echo '"\u004f"'|json -b 4
"O"
$ echo '"\u004f"'|json -b 5
"O"
$ echo '"\u004f"'|json -b 6
"O"
$ echo '"\u004f"'|json -b 7
"O"
$ echo '"\u004f"'|json -b 8
"O"
$ echo '"\u0050"'|json -b 1
"P"
$ echo '"\u0050"'|json -b 2
"P"
$ echo '"\u0050"'|json -b 3
"P"
$ echo '"\u0050"'|json -b 4
"P"
$ echo '"\u0050"'|json -b 5
"P"
$ echo '"\u0050"'|json -b 6
"P"
$ echo '"\u0050"'|json -b 7
"P"
$ echo '"\u0050"'|json -b 8
"P"
$ echo '"\u0051"'|json -b 1
"Q"
$ echo '"\u0051"'|json -b 2
"Q"
$ echo '"\u0051"'|json -b 3
"Q"
$ echo '"\u0051"'|json -b 4
"Q"
$ echo '"\u0051"'|json -b 5
"Q"
$ echo '"\u0051"'|json -b 6
"Q"
$ echo '"\u0051"'|json -b 7
"Q"
$ echo '"\u0051"'|json -b 8
"Q"
$ echo '"\u0052"'|json -b 1
"R"
$ echo '"\u0052"'|json -b 2
"R"
$ echo '"\u0052"'|json -b 3
"R"
$ echo '"\u0052"'|json -b 4
"R"
$ echo '"\u0052"'|json -b 5
"R"
$ echo '"\u0052"'|json -b 6
"R"
$ echo '"\u0052"'|json -b 7
"R"
$ echo '"\u0052"'|json -b 8
"R"
$ echo '"\u0053"'|json -b 1
"S"
$ echo '"\u0053"'|json -b 2
"S"
$ echo '"\u0053"'|json -b 3
"S"
$ echo '"\u0053"'|json -b 4
"S"
$ echo '"\u0053"'|json -b 5
"S"
$ echo '"\u0053"'|json -b 6
"S"
$ echo '"\u0053"'|json -b 7
"S"
$ echo '"\u0053"'|json -b 8
"S"
$ echo '"\u0054"'|json -b 1
"T"
$ echo '"\u0054"'|json -b 2
"T"
$ echo '"\u0054"'|json -b 3
"T"
$ echo '"\u0054"'|json -b 4
"T"
$ echo '"\u0054"'|json -b 5
"T"
$ echo '"\u0054"'|json -b 6
"T"
$ echo '"\u0054"'|json -b 7
"T"
$ echo '"\u0054"'|json -b 8
"T"
$ echo '"\u0055"'|json -b 1
"U"
$ echo '"\u0055"'|json -b 2
"U"
$ echo '"\u0055"'|json -b 3
"U"
$ echo '"\u0055"'|json -b 4
"U"
$ echo '"\u0055"'|json -b 5
"U"
$ echo '"\u0055"'|json -b 6
"U"
$ echo '"\u0055"'|json -b 7
"U"
$ echo '"\u0055"'|json -b 8
"U"
$ echo '"\u0056"'|json -b 1
"V"
$ echo '"\u0056"'|json -b 2
"V"
$ echo '"\u0056"'|json -b 3
"V"
$ echo '"\u0056"'|json -b 4
"V"
$ echo '"\u0056"'|json -b 5
"V"
$ echo '"\u0056"'|json -b 6
"V"
$ echo '"\u0056"'|json -b 7
"V"
$ echo '"\u0056"'|json -b 8
"V"
$ echo '"\u0057"'|json -b 1
"W"
$ echo '"\u0057"'|json -b 2
"W"
$ echo '"\u0057"'|json -b 3
"W"
$ echo '"\u0057"'|json -b 4
"W"
$ echo '"\u0057"'|json -b 5
"W"
$ echo '"\u0057"'|json -b 6
"W"
$ echo '"\u0057"'|json -b 7
"W"
$ echo '"\u0057"'|json -b 8
"W"
$ echo '"\u0058"'|json -b 1
"X"
$ echo '"\u0058"'|json -b 2
"X"
$ echo '"\u0058"'|json -b 3
"X"
$ echo '"\u0058"'|json -b 4
"X"
$ echo '"\u0058"'|json -b 5
"X"
$ echo '"\u0058"'|json -b 6
"X"
$ echo '"\u0058"'|json -b 7
"X"
$ echo '"\u0058"'|json -b 8
"X"
$ echo '"\u0059"'|json -b 1
"Y"
$ echo '"\u0059"'|json -b 2
"Y"
$ echo '"\u0059"'|json -b 3
"Y"
$ echo '"\u0059"'|json -b 4
"Y"
$ echo '"\u0059"'|json -b 5
"Y"
$ echo '"\u0059"'|json -b 6
"Y"
$ echo '"\u0059"'|json -b 7
"Y"
$ echo '"\u0059"'|json -b 8
"Y"
$ echo '"\u005a"'|json -b 1
"Z"
$ echo '"\u005a"'|json -b 2
"Z"
$ echo '"\u005a"'|json -b 3
"Z"
$ echo '"\u005a"'|json -b 4
"Z"
$ echo '"\u005a"'|json -b 5
"Z"
$ echo '"\u005a"'|json -b 6
"Z"
$ echo '"\u005a"'|json -b 7
"Z"
$ echo '"\u005a"'|json -b 8
"Z"
$ echo '"\u005b"'|json -b 1
"["
$ echo '"\u005b"'|json -b 2
"["
$ echo '"\u005b"'|json -b 3
"["
$ echo '"\u005b"'|json -b 4
"["
$ echo '"\u005b"'|json -b 5
"["
$ echo '"\u005b"'|json -b 6
"["
$ echo '"\u005b"'|json -b 7
"["
$ echo '"\u005b"'|json -b 8
"["
$ echo '"\u005c"'|json -b 1
"\\"
$ echo '"\u005c"'|json -b 2
"\\"
$ echo '"\u005c"'|json -b 3
"\\"
$ echo '"\u005c"'|json -b 4
"\\"
$ echo '"\u005c"'|json -b 5
"\\"
$ echo '"\u005c"'|json -b 6
"\\"
$ echo '"\u005c"'|json -b 7
"\\"
$ echo '"\u005c"'|json -b 8
"\\"
$ echo '"\u005d"'|json -b 1
"]"
$ echo '"\u005d"'|json -b 2
"]"
$ echo '"\u005d"'|json -b 3
"]"
$ echo '"\u005d"'|json -b 4
"]"
$ echo '"\u005d"'|json -b 5
"]"
$ echo '"\u005d"'|json -b 6
"]"
$ echo '"\u005d"'|json -b 7
"]"
$ echo '"\u005d"'|json -b 8
"]"
$ echo '"\u005e"'|json -b 1
"^"
$ echo '"\u005e"'|json -b 2
"^"
$ echo '"\u005e"'|json -b 3
"^"
$ echo '"\u005e"'|json -b 4
"^"
$ echo '"\u005e"'|json -b 5
"^"
$ echo '"\u005e"'|json -b 6
"^"
$ echo '"\u005e"'|json -b 7
"^"
$ echo '"\u005e"'|json -b 8
"^"
$ echo '"\u005f"'|json -b 1
"_"
$ echo '"\u005f"'|json -b 2
"_"
$ echo '"\u005f"'|json -b 3
"_"
$ echo '"\u005f"'|json -b 4
"_"
$ echo '"\u005f"'|json -b 5
"_"
$ echo '"\u005f"'|json -b 6
"_"
$ echo '"\u005f"'|json -b 7
"_"
$ echo '"\u005f"'|json -b 8
"_"
$

--[ string-unicode4 ]-----------------------------------------------------------

$ json() { json0 --literal-value --quote-control "$@"; }
#
# # meta command:
# $ for((k=0x60;k<0x80;k++));do for((b=1;b<9;b++)); do printf -v v '%04x' $k; c="echo '\"\\u$v\"'|json -b $b"; echo "$ $c"; eval "$c"; done; done
#
$ echo '"\u0060"'|json -b 1
"`"
$ echo '"\u0060"'|json -b 2
"`"
$ echo '"\u0060"'|json -b 3
"`"
$ echo '"\u0060"'|json -b 4
"`"
$ echo '"\u0060"'|json -b 5
"`"
$ echo '"\u0060"'|json -b 6
"`"
$ echo '"\u0060"'|json -b 7
"`"
$ echo '"\u0060"'|json -b 8
"`"
$ echo '"\u0061"'|json -b 1
"a"
$ echo '"\u0061"'|json -b 2
"a"
$ echo '"\u0061"'|json -b 3
"a"
$ echo '"\u0061"'|json -b 4
"a"
$ echo '"\u0061"'|json -b 5
"a"
$ echo '"\u0061"'|json -b 6
"a"
$ echo '"\u0061"'|json -b 7
"a"
$ echo '"\u0061"'|json -b 8
"a"
$ echo '"\u0062"'|json -b 1
"b"
$ echo '"\u0062"'|json -b 2
"b"
$ echo '"\u0062"'|json -b 3
"b"
$ echo '"\u0062"'|json -b 4
"b"
$ echo '"\u0062"'|json -b 5
"b"
$ echo '"\u0062"'|json -b 6
"b"
$ echo '"\u0062"'|json -b 7
"b"
$ echo '"\u0062"'|json -b 8
"b"
$ echo '"\u0063"'|json -b 1
"c"
$ echo '"\u0063"'|json -b 2
"c"
$ echo '"\u0063"'|json -b 3
"c"
$ echo '"\u0063"'|json -b 4
"c"
$ echo '"\u0063"'|json -b 5
"c"
$ echo '"\u0063"'|json -b 6
"c"
$ echo '"\u0063"'|json -b 7
"c"
$ echo '"\u0063"'|json -b 8
"c"
$ echo '"\u0064"'|json -b 1
"d"
$ echo '"\u0064"'|json -b 2
"d"
$ echo '"\u0064"'|json -b 3
"d"
$ echo '"\u0064"'|json -b 4
"d"
$ echo '"\u0064"'|json -b 5
"d"
$ echo '"\u0064"'|json -b 6
"d"
$ echo '"\u0064"'|json -b 7
"d"
$ echo '"\u0064"'|json -b 8
"d"
$ echo '"\u0065"'|json -b 1
"e"
$ echo '"\u0065"'|json -b 2
"e"
$ echo '"\u0065"'|json -b 3
"e"
$ echo '"\u0065"'|json -b 4
"e"
$ echo '"\u0065"'|json -b 5
"e"
$ echo '"\u0065"'|json -b 6
"e"
$ echo '"\u0065"'|json -b 7
"e"
$ echo '"\u0065"'|json -b 8
"e"
$ echo '"\u0066"'|json -b 1
"f"
$ echo '"\u0066"'|json -b 2
"f"
$ echo '"\u0066"'|json -b 3
"f"
$ echo '"\u0066"'|json -b 4
"f"
$ echo '"\u0066"'|json -b 5
"f"
$ echo '"\u0066"'|json -b 6
"f"
$ echo '"\u0066"'|json -b 7
"f"
$ echo '"\u0066"'|json -b 8
"f"
$ echo '"\u0067"'|json -b 1
"g"
$ echo '"\u0067"'|json -b 2
"g"
$ echo '"\u0067"'|json -b 3
"g"
$ echo '"\u0067"'|json -b 4
"g"
$ echo '"\u0067"'|json -b 5
"g"
$ echo '"\u0067"'|json -b 6
"g"
$ echo '"\u0067"'|json -b 7
"g"
$ echo '"\u0067"'|json -b 8
"g"
$ echo '"\u0068"'|json -b 1
"h"
$ echo '"\u0068"'|json -b 2
"h"
$ echo '"\u0068"'|json -b 3
"h"
$ echo '"\u0068"'|json -b 4
"h"
$ echo '"\u0068"'|json -b 5
"h"
$ echo '"\u0068"'|json -b 6
"h"
$ echo '"\u0068"'|json -b 7
"h"
$ echo '"\u0068"'|json -b 8
"h"
$ echo '"\u0069"'|json -b 1
"i"
$ echo '"\u0069"'|json -b 2
"i"
$ echo '"\u0069"'|json -b 3
"i"
$ echo '"\u0069"'|json -b 4
"i"
$ echo '"\u0069"'|json -b 5
"i"
$ echo '"\u0069"'|json -b 6
"i"
$ echo '"\u0069"'|json -b 7
"i"
$ echo '"\u0069"'|json -b 8
"i"
$ echo '"\u006a"'|json -b 1
"j"
$ echo '"\u006a"'|json -b 2
"j"
$ echo '"\u006a"'|json -b 3
"j"
$ echo '"\u006a"'|json -b 4
"j"
$ echo '"\u006a"'|json -b 5
"j"
$ echo '"\u006a"'|json -b 6
"j"
$ echo '"\u006a"'|json -b 7
"j"
$ echo '"\u006a"'|json -b 8
"j"
$ echo '"\u006b"'|json -b 1
"k"
$ echo '"\u006b"'|json -b 2
"k"
$ echo '"\u006b"'|json -b 3
"k"
$ echo '"\u006b"'|json -b 4
"k"
$ echo '"\u006b"'|json -b 5
"k"
$ echo '"\u006b"'|json -b 6
"k"
$ echo '"\u006b"'|json -b 7
"k"
$ echo '"\u006b"'|json -b 8
"k"
$ echo '"\u006c"'|json -b 1
"l"
$ echo '"\u006c"'|json -b 2
"l"
$ echo '"\u006c"'|json -b 3
"l"
$ echo '"\u006c"'|json -b 4
"l"
$ echo '"\u006c"'|json -b 5
"l"
$ echo '"\u006c"'|json -b 6
"l"
$ echo '"\u006c"'|json -b 7
"l"
$ echo '"\u006c"'|json -b 8
"l"
$ echo '"\u006d"'|json -b 1
"m"
$ echo '"\u006d"'|json -b 2
"m"
$ echo '"\u006d"'|json -b 3
"m"
$ echo '"\u006d"'|json -b 4
"m"
$ echo '"\u006d"'|json -b 5
"m"
$ echo '"\u006d"'|json -b 6
"m"
$ echo '"\u006d"'|json -b 7
"m"
$ echo '"\u006d"'|json -b 8
"m"
$ echo '"\u006e"'|json -b 1
"n"
$ echo '"\u006e"'|json -b 2
"n"
$ echo '"\u006e"'|json -b 3
"n"
$ echo '"\u006e"'|json -b 4
"n"
$ echo '"\u006e"'|json -b 5
"n"
$ echo '"\u006e"'|json -b 6
"n"
$ echo '"\u006e"'|json -b 7
"n"
$ echo '"\u006e"'|json -b 8
"n"
$ echo '"\u006f"'|json -b 1
"o"
$ echo '"\u006f"'|json -b 2
"o"
$ echo '"\u006f"'|json -b 3
"o"
$ echo '"\u006f"'|json -b 4
"o"
$ echo '"\u006f"'|json -b 5
"o"
$ echo '"\u006f"'|json -b 6
"o"
$ echo '"\u006f"'|json -b 7
"o"
$ echo '"\u006f"'|json -b 8
"o"
$ echo '"\u0070"'|json -b 1
"p"
$ echo '"\u0070"'|json -b 2
"p"
$ echo '"\u0070"'|json -b 3
"p"
$ echo '"\u0070"'|json -b 4
"p"
$ echo '"\u0070"'|json -b 5
"p"
$ echo '"\u0070"'|json -b 6
"p"
$ echo '"\u0070"'|json -b 7
"p"
$ echo '"\u0070"'|json -b 8
"p"
$ echo '"\u0071"'|json -b 1
"q"
$ echo '"\u0071"'|json -b 2
"q"
$ echo '"\u0071"'|json -b 3
"q"
$ echo '"\u0071"'|json -b 4
"q"
$ echo '"\u0071"'|json -b 5
"q"
$ echo '"\u0071"'|json -b 6
"q"
$ echo '"\u0071"'|json -b 7
"q"
$ echo '"\u0071"'|json -b 8
"q"
$ echo '"\u0072"'|json -b 1
"r"
$ echo '"\u0072"'|json -b 2
"r"
$ echo '"\u0072"'|json -b 3
"r"
$ echo '"\u0072"'|json -b 4
"r"
$ echo '"\u0072"'|json -b 5
"r"
$ echo '"\u0072"'|json -b 6
"r"
$ echo '"\u0072"'|json -b 7
"r"
$ echo '"\u0072"'|json -b 8
"r"
$ echo '"\u0073"'|json -b 1
"s"
$ echo '"\u0073"'|json -b 2
"s"
$ echo '"\u0073"'|json -b 3
"s"
$ echo '"\u0073"'|json -b 4
"s"
$ echo '"\u0073"'|json -b 5
"s"
$ echo '"\u0073"'|json -b 6
"s"
$ echo '"\u0073"'|json -b 7
"s"
$ echo '"\u0073"'|json -b 8
"s"
$ echo '"\u0074"'|json -b 1
"t"
$ echo '"\u0074"'|json -b 2
"t"
$ echo '"\u0074"'|json -b 3
"t"
$ echo '"\u0074"'|json -b 4
"t"
$ echo '"\u0074"'|json -b 5
"t"
$ echo '"\u0074"'|json -b 6
"t"
$ echo '"\u0074"'|json -b 7
"t"
$ echo '"\u0074"'|json -b 8
"t"
$ echo '"\u0075"'|json -b 1
"u"
$ echo '"\u0075"'|json -b 2
"u"
$ echo '"\u0075"'|json -b 3
"u"
$ echo '"\u0075"'|json -b 4
"u"
$ echo '"\u0075"'|json -b 5
"u"
$ echo '"\u0075"'|json -b 6
"u"
$ echo '"\u0075"'|json -b 7
"u"
$ echo '"\u0075"'|json -b 8
"u"
$ echo '"\u0076"'|json -b 1
"v"
$ echo '"\u0076"'|json -b 2
"v"
$ echo '"\u0076"'|json -b 3
"v"
$ echo '"\u0076"'|json -b 4
"v"
$ echo '"\u0076"'|json -b 5
"v"
$ echo '"\u0076"'|json -b 6
"v"
$ echo '"\u0076"'|json -b 7
"v"
$ echo '"\u0076"'|json -b 8
"v"
$ echo '"\u0077"'|json -b 1
"w"
$ echo '"\u0077"'|json -b 2
"w"
$ echo '"\u0077"'|json -b 3
"w"
$ echo '"\u0077"'|json -b 4
"w"
$ echo '"\u0077"'|json -b 5
"w"
$ echo '"\u0077"'|json -b 6
"w"
$ echo '"\u0077"'|json -b 7
"w"
$ echo '"\u0077"'|json -b 8
"w"
$ echo '"\u0078"'|json -b 1
"x"
$ echo '"\u0078"'|json -b 2
"x"
$ echo '"\u0078"'|json -b 3
"x"
$ echo '"\u0078"'|json -b 4
"x"
$ echo '"\u0078"'|json -b 5
"x"
$ echo '"\u0078"'|json -b 6
"x"
$ echo '"\u0078"'|json -b 7
"x"
$ echo '"\u0078"'|json -b 8
"x"
$ echo '"\u0079"'|json -b 1
"y"
$ echo '"\u0079"'|json -b 2
"y"
$ echo '"\u0079"'|json -b 3
"y"
$ echo '"\u0079"'|json -b 4
"y"
$ echo '"\u0079"'|json -b 5
"y"
$ echo '"\u0079"'|json -b 6
"y"
$ echo '"\u0079"'|json -b 7
"y"
$ echo '"\u0079"'|json -b 8
"y"
$ echo '"\u007a"'|json -b 1
"z"
$ echo '"\u007a"'|json -b 2
"z"
$ echo '"\u007a"'|json -b 3
"z"
$ echo '"\u007a"'|json -b 4
"z"
$ echo '"\u007a"'|json -b 5
"z"
$ echo '"\u007a"'|json -b 6
"z"
$ echo '"\u007a"'|json -b 7
"z"
$ echo '"\u007a"'|json -b 8
"z"
$ echo '"\u007b"'|json -b 1
"{"
$ echo '"\u007b"'|json -b 2
"{"
$ echo '"\u007b"'|json -b 3
"{"
$ echo '"\u007b"'|json -b 4
"{"
$ echo '"\u007b"'|json -b 5
"{"
$ echo '"\u007b"'|json -b 6
"{"
$ echo '"\u007b"'|json -b 7
"{"
$ echo '"\u007b"'|json -b 8
"{"
$ echo '"\u007c"'|json -b 1
"|"
$ echo '"\u007c"'|json -b 2
"|"
$ echo '"\u007c"'|json -b 3
"|"
$ echo '"\u007c"'|json -b 4
"|"
$ echo '"\u007c"'|json -b 5
"|"
$ echo '"\u007c"'|json -b 6
"|"
$ echo '"\u007c"'|json -b 7
"|"
$ echo '"\u007c"'|json -b 8
"|"
$ echo '"\u007d"'|json -b 1
"}"
$ echo '"\u007d"'|json -b 2
"}"
$ echo '"\u007d"'|json -b 3
"}"
$ echo '"\u007d"'|json -b 4
"}"
$ echo '"\u007d"'|json -b 5
"}"
$ echo '"\u007d"'|json -b 6
"}"
$ echo '"\u007d"'|json -b 7
"}"
$ echo '"\u007d"'|json -b 8
"}"
$ echo '"\u007e"'|json -b 1
"~"
$ echo '"\u007e"'|json -b 2
"~"
$ echo '"\u007e"'|json -b 3
"~"
$ echo '"\u007e"'|json -b 4
"~"
$ echo '"\u007e"'|json -b 5
"~"
$ echo '"\u007e"'|json -b 6
"~"
$ echo '"\u007e"'|json -b 7
"~"
$ echo '"\u007e"'|json -b 8
"~"
$ echo '"\u007f"'|json -b 1
"\u007f"
$ echo '"\u007f"'|json -b 2
"\u007f"
$ echo '"\u007f"'|json -b 3
"\u007f"
$ echo '"\u007f"'|json -b 4
"\u007f"
$ echo '"\u007f"'|json -b 5
"\u007f"
$ echo '"\u007f"'|json -b 6
"\u007f"
$ echo '"\u007f"'|json -b 7
"\u007f"
$ echo '"\u007f"'|json -b 8
"\u007f"
$

--[ string-non-ascii ]----------------------------------------------------------

$ json() { json0 --literal-value --quote-control --ascii-only -b2 "$@"; }
#
# # meta command:
# $ for((k=0x80;k<0x100;k++));do printf -v v '%x' $k; c="echo -e '\"\x$v\"'|json"; echo "$ $c"; eval "$c"; done
#
$ echo -e '"\x80"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x80"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x80"'|json
$ echo -e '"\x81"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x81"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x81"'|json
$ echo -e '"\x82"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x82"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x82"'|json
$ echo -e '"\x83"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x83"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x83"'|json
$ echo -e '"\x84"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x84"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x84"'|json
$ echo -e '"\x85"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x85"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x85"'|json
$ echo -e '"\x86"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x86"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x86"'|json
$ echo -e '"\x87"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x87"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x87"'|json
$ echo -e '"\x88"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x88"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x88"'|json
$ echo -e '"\x89"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x89"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x89"'|json
$ echo -e '"\x8a"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x8a"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x8a"'|json
$ echo -e '"\x8b"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x8b"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x8b"'|json
$ echo -e '"\x8c"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x8c"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x8c"'|json
$ echo -e '"\x8d"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x8d"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x8d"'|json
$ echo -e '"\x8e"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x8e"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x8e"'|json
$ echo -e '"\x8f"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x8f"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x8f"'|json
$ echo -e '"\x90"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x90"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x90"'|json
$ echo -e '"\x91"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x91"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x91"'|json
$ echo -e '"\x92"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x92"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x92"'|json
$ echo -e '"\x93"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x93"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x93"'|json
$ echo -e '"\x94"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x94"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x94"'|json
$ echo -e '"\x95"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x95"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x95"'|json
$ echo -e '"\x96"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x96"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x96"'|json
$ echo -e '"\x97"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x97"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x97"'|json
$ echo -e '"\x98"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x98"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x98"'|json
$ echo -e '"\x99"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x99"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x99"'|json
$ echo -e '"\x9a"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x9a"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x9a"'|json
$ echo -e '"\x9b"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x9b"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x9b"'|json
$ echo -e '"\x9c"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x9c"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x9c"'|json
$ echo -e '"\x9d"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x9d"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x9d"'|json
$ echo -e '"\x9e"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x9e"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x9e"'|json
$ echo -e '"\x9f"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\x9f"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\x9f"'|json
$ echo -e '"\xa0"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xa0"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xa0"'|json
$ echo -e '"\xa1"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xa1"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xa1"'|json
$ echo -e '"\xa2"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xa2"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xa2"'|json
$ echo -e '"\xa3"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xa3"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xa3"'|json
$ echo -e '"\xa4"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xa4"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xa4"'|json
$ echo -e '"\xa5"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xa5"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xa5"'|json
$ echo -e '"\xa6"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xa6"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xa6"'|json
$ echo -e '"\xa7"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xa7"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xa7"'|json
$ echo -e '"\xa8"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xa8"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xa8"'|json
$ echo -e '"\xa9"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xa9"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xa9"'|json
$ echo -e '"\xaa"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xaa"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xaa"'|json
$ echo -e '"\xab"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xab"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xab"'|json
$ echo -e '"\xac"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xac"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xac"'|json
$ echo -e '"\xad"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xad"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xad"'|json
$ echo -e '"\xae"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xae"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xae"'|json
$ echo -e '"\xaf"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xaf"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xaf"'|json
$ echo -e '"\xb0"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xb0"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xb0"'|json
$ echo -e '"\xb1"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xb1"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xb1"'|json
$ echo -e '"\xb2"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xb2"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xb2"'|json
$ echo -e '"\xb3"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xb3"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xb3"'|json
$ echo -e '"\xb4"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xb4"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xb4"'|json
$ echo -e '"\xb5"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xb5"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xb5"'|json
$ echo -e '"\xb6"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xb6"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xb6"'|json
$ echo -e '"\xb7"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xb7"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xb7"'|json
$ echo -e '"\xb8"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xb8"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xb8"'|json
$ echo -e '"\xb9"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xb9"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xb9"'|json
$ echo -e '"\xba"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xba"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xba"'|json
$ echo -e '"\xbb"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xbb"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xbb"'|json
$ echo -e '"\xbc"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xbc"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xbc"'|json
$ echo -e '"\xbd"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xbd"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xbd"'|json
$ echo -e '"\xbe"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xbe"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xbe"'|json
$ echo -e '"\xbf"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xbf"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xbf"'|json
$ echo -e '"\xc0"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xc0"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xc0"'|json
$ echo -e '"\xc1"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xc1"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xc1"'|json
$ echo -e '"\xc2"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xc2"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xc2"'|json
$ echo -e '"\xc3"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xc3"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xc3"'|json
$ echo -e '"\xc4"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xc4"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xc4"'|json
$ echo -e '"\xc5"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xc5"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xc5"'|json
$ echo -e '"\xc6"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xc6"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xc6"'|json
$ echo -e '"\xc7"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xc7"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xc7"'|json
$ echo -e '"\xc8"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xc8"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xc8"'|json
$ echo -e '"\xc9"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xc9"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xc9"'|json
$ echo -e '"\xca"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xca"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xca"'|json
$ echo -e '"\xcb"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xcb"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xcb"'|json
$ echo -e '"\xcc"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xcc"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xcc"'|json
$ echo -e '"\xcd"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xcd"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xcd"'|json
$ echo -e '"\xce"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xce"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xce"'|json
$ echo -e '"\xcf"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xcf"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xcf"'|json
$ echo -e '"\xd0"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xd0"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xd0"'|json
$ echo -e '"\xd1"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xd1"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xd1"'|json
$ echo -e '"\xd2"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xd2"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xd2"'|json
$ echo -e '"\xd3"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xd3"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xd3"'|json
$ echo -e '"\xd4"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xd4"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xd4"'|json
$ echo -e '"\xd5"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xd5"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xd5"'|json
$ echo -e '"\xd6"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xd6"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xd6"'|json
$ echo -e '"\xd7"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xd7"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xd7"'|json
$ echo -e '"\xd8"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xd8"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xd8"'|json
$ echo -e '"\xd9"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xd9"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xd9"'|json
$ echo -e '"\xda"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xda"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xda"'|json
$ echo -e '"\xdb"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xdb"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xdb"'|json
$ echo -e '"\xdc"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xdc"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xdc"'|json
$ echo -e '"\xdd"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xdd"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xdd"'|json
$ echo -e '"\xde"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xde"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xde"'|json
$ echo -e '"\xdf"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xdf"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xdf"'|json
$ echo -e '"\xe0"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xe0"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xe0"'|json
$ echo -e '"\xe1"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xe1"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xe1"'|json
$ echo -e '"\xe2"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xe2"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xe2"'|json
$ echo -e '"\xe3"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xe3"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xe3"'|json
$ echo -e '"\xe4"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xe4"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xe4"'|json
$ echo -e '"\xe5"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xe5"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xe5"'|json
$ echo -e '"\xe6"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xe6"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xe6"'|json
$ echo -e '"\xe7"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xe7"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xe7"'|json
$ echo -e '"\xe8"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xe8"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xe8"'|json
$ echo -e '"\xe9"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xe9"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xe9"'|json
$ echo -e '"\xea"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xea"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xea"'|json
$ echo -e '"\xeb"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xeb"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xeb"'|json
$ echo -e '"\xec"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xec"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xec"'|json
$ echo -e '"\xed"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xed"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xed"'|json
$ echo -e '"\xee"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xee"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xee"'|json
$ echo -e '"\xef"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xef"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xef"'|json
$ echo -e '"\xf0"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xf0"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xf0"'|json
$ echo -e '"\xf1"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xf1"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xf1"'|json
$ echo -e '"\xf2"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xf2"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xf2"'|json
$ echo -e '"\xf3"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xf3"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xf3"'|json
$ echo -e '"\xf4"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xf4"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xf4"'|json
$ echo -e '"\xf5"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xf5"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xf5"'|json
$ echo -e '"\xf6"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xf6"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xf6"'|json
$ echo -e '"\xf7"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xf7"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xf7"'|json
$ echo -e '"\xf8"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xf8"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xf8"'|json
$ echo -e '"\xf9"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xf9"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xf9"'|json
$ echo -e '"\xfa"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xfa"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xfa"'|json
$ echo -e '"\xfb"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xfb"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xfb"'|json
$ echo -e '"\xfc"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xfc"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xfc"'|json
$ echo -e '"\xfd"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xfd"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xfd"'|json
$ echo -e '"\xfe"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xfe"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xfe"'|json
$ echo -e '"\xff"'|json
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "\xff"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xff"'|json
$

--[ string-utf8 ]---------------------------------------------------------------

$ json() { json0 --literal-value --validate-utf8 "$@"; }
$ echo -e '"\xc0"'|json
json: error: <stdin>:1:2: lex error: invalid utf-8 encoding
json: error: <stdin>:1:2: "\xc0"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xc0"'|json
$ echo -e '"\xc1"'|json
json: error: <stdin>:1:2: lex error: invalid utf-8 encoding
json: error: <stdin>:1:2: "\xc1"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xc1"'|json
$ echo -e '"\xc2"'|json
json: error: <stdin>:1:3: lex error: invalid utf-8 encoding
json: error: <stdin>:1:3: "\xc2"
json: error: <stdin>:1:3:      ^
command failed: echo -e '"\xc2"'|json
$ echo -e '"\xdf"'|json
json: error: <stdin>:1:3: lex error: invalid utf-8 encoding
json: error: <stdin>:1:3: "\xdf"
json: error: <stdin>:1:3:      ^
command failed: echo -e '"\xdf"'|json
$ echo -e '"\xc2\x7f"'|json
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\xc2\x7f"
json: error: <stdin>:1:3:      ^
command failed: echo -e '"\xc2\x7f"'|json
$ echo -e '"\xdf\x7f"'|json
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\xdf\x7f"
json: error: <stdin>:1:3:      ^
command failed: echo -e '"\xdf\x7f"'|json
$ echo -e '"\xc2\xc0"'|json
json: error: <stdin>:1:3: lex error: invalid utf-8 encoding
json: error: <stdin>:1:3: "\xc2\xc0"
json: error: <stdin>:1:3:      ^
command failed: echo -e '"\xc2\xc0"'|json
$ echo -e '"\xdf\xc0"'|json
json: error: <stdin>:1:3: lex error: invalid utf-8 encoding
json: error: <stdin>:1:3: "\xdf\xc0"
json: error: <stdin>:1:3:      ^
command failed: echo -e '"\xdf\xc0"'|json
$ echo -e '"\xe0"'|json
json: error: <stdin>:1:3: lex error: invalid utf-8 encoding
json: error: <stdin>:1:3: "\xe0"
json: error: <stdin>:1:3:      ^
command failed: echo -e '"\xe0"'|json
$ echo -e '"\xe0\x9f"'|json
json: error: <stdin>:1:3: lex error: invalid utf-8 encoding
json: error: <stdin>:1:3: "\xe0\x9f"
json: error: <stdin>:1:3:      ^
command failed: echo -e '"\xe0\x9f"'|json
$ echo -e '"\xe0\xc0"'|json
json: error: <stdin>:1:3: lex error: invalid utf-8 encoding
json: error: <stdin>:1:3: "\xe0\xc0"
json: error: <stdin>:1:3:      ^
command failed: echo -e '"\xe0\xc0"'|json
$ echo -e '"\xe0\xa0"'|json
json: error: <stdin>:1:4: lex error: invalid utf-8 encoding
json: error: <stdin>:1:4: "\xe0\xa0"
json: error: <stdin>:1:4:          ^
command failed: echo -e '"\xe0\xa0"'|json
$ echo -e '"\xe0\xbf"'|json
json: error: <stdin>:1:4: lex error: invalid utf-8 encoding
json: error: <stdin>:1:4: "\xe0\xbf"
json: error: <stdin>:1:4:          ^
command failed: echo -e '"\xe0\xbf"'|json
$ echo -e '"\xe0\xa0\x7f"'|json
json: error: <stdin>:1:4: lex error: invalid string literal
json: error: <stdin>:1:4: "\xe0\xa0\x7f"
json: error: <stdin>:1:4:          ^
command failed: echo -e '"\xe0\xa0\x7f"'|json
$ echo -e '"\xe0\xbf\x7f"'|json
json: error: <stdin>:1:4: lex error: invalid string literal
json: error: <stdin>:1:4: "\xe0\xbf\x7f"
json: error: <stdin>:1:4:          ^
command failed: echo -e '"\xe0\xbf\x7f"'|json
$ echo -e '"\xe0\xa0\xc0"'|json
json: error: <stdin>:1:4: lex error: invalid utf-8 encoding
json: error: <stdin>:1:4: "\xe0\xa0\xc0"
json: error: <stdin>:1:4:          ^
command failed: echo -e '"\xe0\xa0\xc0"'|json
$ echo -e '"\xe0\xbf\xc0"'|json
json: error: <stdin>:1:4: lex error: invalid utf-8 encoding
json: error: <stdin>:1:4: "\xe0\xbf\xc0"
json: error: <stdin>:1:4:          ^
command failed: echo -e '"\xe0\xbf\xc0"'|json
$ echo -e '"\xe1"'|json
json: error: <stdin>:1:3: lex error: invalid utf-8 encoding
json: error: <stdin>:1:3: "\xe1"
json: error: <stdin>:1:3:      ^
command failed: echo -e '"\xe1"'|json
$ echo -e '"\xe1\x7f"'|json
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\xe1\x7f"
json: error: <stdin>:1:3:      ^
command failed: echo -e '"\xe1\x7f"'|json
$ echo -e '"\xe1\xc0"'|json
json: error: <stdin>:1:3: lex error: invalid utf-8 encoding
json: error: <stdin>:1:3: "\xe1\xc0"
json: error: <stdin>:1:3:      ^
command failed: echo -e '"\xe1\xc0"'|json
$ echo -e '"\xe1\x80"'|json
json: error: <stdin>:1:4: lex error: invalid utf-8 encoding
json: error: <stdin>:1:4: "\xe1\x80"
json: error: <stdin>:1:4:          ^
command failed: echo -e '"\xe1\x80"'|json
$ echo -e '"\xe1\xbf"'|json
json: error: <stdin>:1:4: lex error: invalid utf-8 encoding
json: error: <stdin>:1:4: "\xe1\xbf"
json: error: <stdin>:1:4:          ^
command failed: echo -e '"\xe1\xbf"'|json
$ echo -e '"\xe1\x80\x7f"'|json
json: error: <stdin>:1:4: lex error: invalid string literal
json: error: <stdin>:1:4: "\xe1\x80\x7f"
json: error: <stdin>:1:4:          ^
command failed: echo -e '"\xe1\x80\x7f"'|json
$ echo -e '"\xe1\xbf\x7f"'|json
json: error: <stdin>:1:4: lex error: invalid string literal
json: error: <stdin>:1:4: "\xe1\xbf\x7f"
json: error: <stdin>:1:4:          ^
command failed: echo -e '"\xe1\xbf\x7f"'|json
$ echo -e '"\xe1\x80\xc0"'|json
json: error: <stdin>:1:4: lex error: invalid utf-8 encoding
json: error: <stdin>:1:4: "\xe1\x80\xc0"
json: error: <stdin>:1:4:          ^
command failed: echo -e '"\xe1\x80\xc0"'|json
$ echo -e '"\xe1\xbf\xc0"'|json
json: error: <stdin>:1:4: lex error: invalid utf-8 encoding
json: error: <stdin>:1:4: "\xe1\xbf\xc0"
json: error: <stdin>:1:4:          ^
command failed: echo -e '"\xe1\xbf\xc0"'|json
$ echo -e '"\xec"'|json
json: error: <stdin>:1:3: lex error: invalid utf-8 encoding
json: error: <stdin>:1:3: "\xec"
json: error: <stdin>:1:3:      ^
command failed: echo -e '"\xec"'|json
$ echo -e '"\xec\x7f"'|json
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\xec\x7f"
json: error: <stdin>:1:3:      ^
command failed: echo -e '"\xec\x7f"'|json
$ echo -e '"\xec\xc0"'|json
json: error: <stdin>:1:3: lex error: invalid utf-8 encoding
json: error: <stdin>:1:3: "\xec\xc0"
json: error: <stdin>:1:3:      ^
command failed: echo -e '"\xec\xc0"'|json
$ echo -e '"\xec\x80"'|json
json: error: <stdin>:1:4: lex error: invalid utf-8 encoding
json: error: <stdin>:1:4: "\xec\x80"
json: error: <stdin>:1:4:          ^
command failed: echo -e '"\xec\x80"'|json
$ echo -e '"\xec\xbf"'|json
json: error: <stdin>:1:4: lex error: invalid utf-8 encoding
json: error: <stdin>:1:4: "\xec\xbf"
json: error: <stdin>:1:4:          ^
command failed: echo -e '"\xec\xbf"'|json
$ echo -e '"\xec\x80\x7f"'|json
json: error: <stdin>:1:4: lex error: invalid string literal
json: error: <stdin>:1:4: "\xec\x80\x7f"
json: error: <stdin>:1:4:          ^
command failed: echo -e '"\xec\x80\x7f"'|json
$ echo -e '"\xec\xbf\x7f"'|json
json: error: <stdin>:1:4: lex error: invalid string literal
json: error: <stdin>:1:4: "\xec\xbf\x7f"
json: error: <stdin>:1:4:          ^
command failed: echo -e '"\xec\xbf\x7f"'|json
$ echo -e '"\xec\x80\xc0"'|json
json: error: <stdin>:1:4: lex error: invalid utf-8 encoding
json: error: <stdin>:1:4: "\xec\x80\xc0"
json: error: <stdin>:1:4:          ^
command failed: echo -e '"\xec\x80\xc0"'|json
$ echo -e '"\xec\xbf\xc0"'|json
json: error: <stdin>:1:4: lex error: invalid utf-8 encoding
json: error: <stdin>:1:4: "\xec\xbf\xc0"
json: error: <stdin>:1:4:          ^
command failed: echo -e '"\xec\xbf\xc0"'|json
$ echo -e '"\xed"'|json
json: error: <stdin>:1:3: lex error: invalid utf-8 encoding
json: error: <stdin>:1:3: "\xed"
json: error: <stdin>:1:3:      ^
command failed: echo -e '"\xed"'|json
$ echo -e '"\xed\x7f"'|json
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\xed\x7f"
json: error: <stdin>:1:3:      ^
command failed: echo -e '"\xed\x7f"'|json
$ echo -e '"\xed\xa0"'|json
json: error: <stdin>:1:3: lex error: invalid utf-8 encoding
json: error: <stdin>:1:3: "\xed\xa0"
json: error: <stdin>:1:3:      ^
command failed: echo -e '"\xed\xa0"'|json
$ echo -e '"\xed\x80"'|json
json: error: <stdin>:1:4: lex error: invalid utf-8 encoding
json: error: <stdin>:1:4: "\xed\x80"
json: error: <stdin>:1:4:          ^
command failed: echo -e '"\xed\x80"'|json
$ echo -e '"\xed\x9f"'|json
json: error: <stdin>:1:4: lex error: invalid utf-8 encoding
json: error: <stdin>:1:4: "\xed\x9f"
json: error: <stdin>:1:4:          ^
command failed: echo -e '"\xed\x9f"'|json
$ echo -e '"\xed\x80\x7f"'|json
json: error: <stdin>:1:4: lex error: invalid string literal
json: error: <stdin>:1:4: "\xed\x80\x7f"
json: error: <stdin>:1:4:          ^
command failed: echo -e '"\xed\x80\x7f"'|json
$ echo -e '"\xed\x9f\x7f"'|json
json: error: <stdin>:1:4: lex error: invalid string literal
json: error: <stdin>:1:4: "\xed\x9f\x7f"
json: error: <stdin>:1:4:          ^
command failed: echo -e '"\xed\x9f\x7f"'|json
$ echo -e '"\xed\x80\xc0"'|json
json: error: <stdin>:1:4: lex error: invalid utf-8 encoding
json: error: <stdin>:1:4: "\xed\x80\xc0"
json: error: <stdin>:1:4:          ^
command failed: echo -e '"\xed\x80\xc0"'|json
$ echo -e '"\xed\x9f\xc0"'|json
json: error: <stdin>:1:4: lex error: invalid utf-8 encoding
json: error: <stdin>:1:4: "\xed\x9f\xc0"
json: error: <stdin>:1:4:          ^
command failed: echo -e '"\xed\x9f\xc0"'|json
$ echo -e '"\xee"'|json
json: error: <stdin>:1:3: lex error: invalid utf-8 encoding
json: error: <stdin>:1:3: "\xee"
json: error: <stdin>:1:3:      ^
command failed: echo -e '"\xee"'|json
$ echo -e '"\xee\x7f"'|json
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\xee\x7f"
json: error: <stdin>:1:3:      ^
command failed: echo -e '"\xee\x7f"'|json
$ echo -e '"\xee\xc0"'|json
json: error: <stdin>:1:3: lex error: invalid utf-8 encoding
json: error: <stdin>:1:3: "\xee\xc0"
json: error: <stdin>:1:3:      ^
command failed: echo -e '"\xee\xc0"'|json
$ echo -e '"\xee\x80"'|json
json: error: <stdin>:1:4: lex error: invalid utf-8 encoding
json: error: <stdin>:1:4: "\xee\x80"
json: error: <stdin>:1:4:          ^
command failed: echo -e '"\xee\x80"'|json
$ echo -e '"\xee\xbf"'|json
json: error: <stdin>:1:4: lex error: invalid utf-8 encoding
json: error: <stdin>:1:4: "\xee\xbf"
json: error: <stdin>:1:4:          ^
command failed: echo -e '"\xee\xbf"'|json
$ echo -e '"\xee\x80\x7f"'|json
json: error: <stdin>:1:4: lex error: invalid string literal
json: error: <stdin>:1:4: "\xee\x80\x7f"
json: error: <stdin>:1:4:          ^
command failed: echo -e '"\xee\x80\x7f"'|json
$ echo -e '"\xee\xbf\x7f"'|json
json: error: <stdin>:1:4: lex error: invalid string literal
json: error: <stdin>:1:4: "\xee\xbf\x7f"
json: error: <stdin>:1:4:          ^
command failed: echo -e '"\xee\xbf\x7f"'|json
$ echo -e '"\xee\x80\xc0"'|json
json: error: <stdin>:1:4: lex error: invalid utf-8 encoding
json: error: <stdin>:1:4: "\xee\x80\xc0"
json: error: <stdin>:1:4:          ^
command failed: echo -e '"\xee\x80\xc0"'|json
$ echo -e '"\xee\xbf\xc0"'|json
json: error: <stdin>:1:4: lex error: invalid utf-8 encoding
json: error: <stdin>:1:4: "\xee\xbf\xc0"
json: error: <stdin>:1:4:          ^
command failed: echo -e '"\xee\xbf\xc0"'|json
$ echo -e '"\xef"'|json
json: error: <stdin>:1:3: lex error: invalid utf-8 encoding
json: error: <stdin>:1:3: "\xef"
json: error: <stdin>:1:3:      ^
command failed: echo -e '"\xef"'|json
$ echo -e '"\xef\x7f"'|json
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\xef\x7f"
json: error: <stdin>:1:3:      ^
command failed: echo -e '"\xef\x7f"'|json
$ echo -e '"\xef\xc0"'|json
json: error: <stdin>:1:3: lex error: invalid utf-8 encoding
json: error: <stdin>:1:3: "\xef\xc0"
json: error: <stdin>:1:3:      ^
command failed: echo -e '"\xef\xc0"'|json
$ echo -e '"\xef\x80"'|json
json: error: <stdin>:1:4: lex error: invalid utf-8 encoding
json: error: <stdin>:1:4: "\xef\x80"
json: error: <stdin>:1:4:          ^
command failed: echo -e '"\xef\x80"'|json
$ echo -e '"\xef\xbf"'|json
json: error: <stdin>:1:4: lex error: invalid utf-8 encoding
json: error: <stdin>:1:4: "\xef\xbf"
json: error: <stdin>:1:4:          ^
command failed: echo -e '"\xef\xbf"'|json
$ echo -e '"\xef\x80\x7f"'|json
json: error: <stdin>:1:4: lex error: invalid string literal
json: error: <stdin>:1:4: "\xef\x80\x7f"
json: error: <stdin>:1:4:          ^
command failed: echo -e '"\xef\x80\x7f"'|json
$ echo -e '"\xef\xbf\x7f"'|json
json: error: <stdin>:1:4: lex error: invalid string literal
json: error: <stdin>:1:4: "\xef\xbf\x7f"
json: error: <stdin>:1:4:          ^
command failed: echo -e '"\xef\xbf\x7f"'|json
$ echo -e '"\xef\x80\xc0"'|json
json: error: <stdin>:1:4: lex error: invalid utf-8 encoding
json: error: <stdin>:1:4: "\xef\x80\xc0"
json: error: <stdin>:1:4:          ^
command failed: echo -e '"\xef\x80\xc0"'|json
$ echo -e '"\xef\xbf\xc0"'|json
json: error: <stdin>:1:4: lex error: invalid utf-8 encoding
json: error: <stdin>:1:4: "\xef\xbf\xc0"
json: error: <stdin>:1:4:          ^
command failed: echo -e '"\xef\xbf\xc0"'|json
$ echo -e '"\xf0"'|json
json: error: <stdin>:1:3: lex error: invalid utf-8 encoding
json: error: <stdin>:1:3: "\xf0"
json: error: <stdin>:1:3:      ^
command failed: echo -e '"\xf0"'|json
$ echo -e '"\xf0\x8f"'|json
json: error: <stdin>:1:3: lex error: invalid utf-8 encoding
json: error: <stdin>:1:3: "\xf0\x8f"
json: error: <stdin>:1:3:      ^
command failed: echo -e '"\xf0\x8f"'|json
$ echo -e '"\xf0\xc0"'|json
json: error: <stdin>:1:3: lex error: invalid utf-8 encoding
json: error: <stdin>:1:3: "\xf0\xc0"
json: error: <stdin>:1:3:      ^
command failed: echo -e '"\xf0\xc0"'|json
$ echo -e '"\xf0\x90"'|json
json: error: <stdin>:1:4: lex error: invalid utf-8 encoding
json: error: <stdin>:1:4: "\xf0\x90"
json: error: <stdin>:1:4:          ^
command failed: echo -e '"\xf0\x90"'|json
$ echo -e '"\xf0\xbf"'|json
json: error: <stdin>:1:4: lex error: invalid utf-8 encoding
json: error: <stdin>:1:4: "\xf0\xbf"
json: error: <stdin>:1:4:          ^
command failed: echo -e '"\xf0\xbf"'|json
$ echo -e '"\xf0\x90\x7f"'|json
json: error: <stdin>:1:4: lex error: invalid string literal
json: error: <stdin>:1:4: "\xf0\x90\x7f"
json: error: <stdin>:1:4:          ^
command failed: echo -e '"\xf0\x90\x7f"'|json
$ echo -e '"\xf0\xbf\xc0"'|json
json: error: <stdin>:1:4: lex error: invalid utf-8 encoding
json: error: <stdin>:1:4: "\xf0\xbf\xc0"
json: error: <stdin>:1:4:          ^
command failed: echo -e '"\xf0\xbf\xc0"'|json
$ echo -e '"\xf0\x90\x80"'|json
json: error: <stdin>:1:5: lex error: invalid utf-8 encoding
json: error: <stdin>:1:5: "\xf0\x90\x80"
json: error: <stdin>:1:5:              ^
command failed: echo -e '"\xf0\x90\x80"'|json
$ echo -e '"\xf0\xbf\xbf"'|json
json: error: <stdin>:1:5: lex error: invalid utf-8 encoding
json: error: <stdin>:1:5: "\xf0\xbf\xbf"
json: error: <stdin>:1:5:              ^
command failed: echo -e '"\xf0\xbf\xbf"'|json
$ echo -e '"\xf0\x90\x80\x7f"'|json
json: error: <stdin>:1:5: lex error: invalid string literal
json: error: <stdin>:1:5: "\xf0\x90\x80\x7f"
json: error: <stdin>:1:5:              ^
command failed: echo -e '"\xf0\x90\x80\x7f"'|json
$ echo -e '"\xf0\xbf\xbf\xc0"'|json
json: error: <stdin>:1:5: lex error: invalid utf-8 encoding
json: error: <stdin>:1:5: "\xf0\xbf\xbf\xc0"
json: error: <stdin>:1:5:              ^
command failed: echo -e '"\xf0\xbf\xbf\xc0"'|json
$ echo -e '"\xf1"'|json
json: error: <stdin>:1:3: lex error: invalid utf-8 encoding
json: error: <stdin>:1:3: "\xf1"
json: error: <stdin>:1:3:      ^
command failed: echo -e '"\xf1"'|json
$ echo -e '"\xf1\x7f"'|json
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\xf1\x7f"
json: error: <stdin>:1:3:      ^
command failed: echo -e '"\xf1\x7f"'|json
$ echo -e '"\xf1\xc0"'|json
json: error: <stdin>:1:3: lex error: invalid utf-8 encoding
json: error: <stdin>:1:3: "\xf1\xc0"
json: error: <stdin>:1:3:      ^
command failed: echo -e '"\xf1\xc0"'|json
$ echo -e '"\xf1\x80"'|json
json: error: <stdin>:1:4: lex error: invalid utf-8 encoding
json: error: <stdin>:1:4: "\xf1\x80"
json: error: <stdin>:1:4:          ^
command failed: echo -e '"\xf1\x80"'|json
$ echo -e '"\xf1\xbf"'|json
json: error: <stdin>:1:4: lex error: invalid utf-8 encoding
json: error: <stdin>:1:4: "\xf1\xbf"
json: error: <stdin>:1:4:          ^
command failed: echo -e '"\xf1\xbf"'|json
$ echo -e '"\xf1\x80\x7f"'|json
json: error: <stdin>:1:4: lex error: invalid string literal
json: error: <stdin>:1:4: "\xf1\x80\x7f"
json: error: <stdin>:1:4:          ^
command failed: echo -e '"\xf1\x80\x7f"'|json
$ echo -e '"\xf1\xbf\xc0"'|json
json: error: <stdin>:1:4: lex error: invalid utf-8 encoding
json: error: <stdin>:1:4: "\xf1\xbf\xc0"
json: error: <stdin>:1:4:          ^
command failed: echo -e '"\xf1\xbf\xc0"'|json
$ echo -e '"\xf1\x80\x80"'|json
json: error: <stdin>:1:5: lex error: invalid utf-8 encoding
json: error: <stdin>:1:5: "\xf1\x80\x80"
json: error: <stdin>:1:5:              ^
command failed: echo -e '"\xf1\x80\x80"'|json
$ echo -e '"\xf1\xbf\xbf"'|json
json: error: <stdin>:1:5: lex error: invalid utf-8 encoding
json: error: <stdin>:1:5: "\xf1\xbf\xbf"
json: error: <stdin>:1:5:              ^
command failed: echo -e '"\xf1\xbf\xbf"'|json
$ echo -e '"\xf1\x80\x80\x7f"'|json
json: error: <stdin>:1:5: lex error: invalid string literal
json: error: <stdin>:1:5: "\xf1\x80\x80\x7f"
json: error: <stdin>:1:5:              ^
command failed: echo -e '"\xf1\x80\x80\x7f"'|json
$ echo -e '"\xf1\xbf\xbf\xc0"'|json
json: error: <stdin>:1:5: lex error: invalid utf-8 encoding
json: error: <stdin>:1:5: "\xf1\xbf\xbf\xc0"
json: error: <stdin>:1:5:              ^
command failed: echo -e '"\xf1\xbf\xbf\xc0"'|json
$ echo -e '"\xf3"'|json
json: error: <stdin>:1:3: lex error: invalid utf-8 encoding
json: error: <stdin>:1:3: "\xf3"
json: error: <stdin>:1:3:      ^
command failed: echo -e '"\xf3"'|json
$ echo -e '"\xf3\x7f"'|json
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\xf3\x7f"
json: error: <stdin>:1:3:      ^
command failed: echo -e '"\xf3\x7f"'|json
$ echo -e '"\xf3\xc0"'|json
json: error: <stdin>:1:3: lex error: invalid utf-8 encoding
json: error: <stdin>:1:3: "\xf3\xc0"
json: error: <stdin>:1:3:      ^
command failed: echo -e '"\xf3\xc0"'|json
$ echo -e '"\xf3\x80"'|json
json: error: <stdin>:1:4: lex error: invalid utf-8 encoding
json: error: <stdin>:1:4: "\xf3\x80"
json: error: <stdin>:1:4:          ^
command failed: echo -e '"\xf3\x80"'|json
$ echo -e '"\xf3\xbf"'|json
json: error: <stdin>:1:4: lex error: invalid utf-8 encoding
json: error: <stdin>:1:4: "\xf3\xbf"
json: error: <stdin>:1:4:          ^
command failed: echo -e '"\xf3\xbf"'|json
$ echo -e '"\xf3\x80\x7f"'|json
json: error: <stdin>:1:4: lex error: invalid string literal
json: error: <stdin>:1:4: "\xf3\x80\x7f"
json: error: <stdin>:1:4:          ^
command failed: echo -e '"\xf3\x80\x7f"'|json
$ echo -e '"\xf3\xbf\xc0"'|json
json: error: <stdin>:1:4: lex error: invalid utf-8 encoding
json: error: <stdin>:1:4: "\xf3\xbf\xc0"
json: error: <stdin>:1:4:          ^
command failed: echo -e '"\xf3\xbf\xc0"'|json
$ echo -e '"\xf3\x80\x80"'|json
json: error: <stdin>:1:5: lex error: invalid utf-8 encoding
json: error: <stdin>:1:5: "\xf3\x80\x80"
json: error: <stdin>:1:5:              ^
command failed: echo -e '"\xf3\x80\x80"'|json
$ echo -e '"\xf3\xbf\xbf"'|json
json: error: <stdin>:1:5: lex error: invalid utf-8 encoding
json: error: <stdin>:1:5: "\xf3\xbf\xbf"
json: error: <stdin>:1:5:              ^
command failed: echo -e '"\xf3\xbf\xbf"'|json
$ echo -e '"\xf3\x80\x80\x7f"'|json
json: error: <stdin>:1:5: lex error: invalid string literal
json: error: <stdin>:1:5: "\xf3\x80\x80\x7f"
json: error: <stdin>:1:5:              ^
command failed: echo -e '"\xf3\x80\x80\x7f"'|json
$ echo -e '"\xf3\xbf\xbf\xc0"'|json
json: error: <stdin>:1:5: lex error: invalid utf-8 encoding
json: error: <stdin>:1:5: "\xf3\xbf\xbf\xc0"
json: error: <stdin>:1:5:              ^
command failed: echo -e '"\xf3\xbf\xbf\xc0"'|json
$ echo -e '"\xf4"'|json
json: error: <stdin>:1:3: lex error: invalid utf-8 encoding
json: error: <stdin>:1:3: "\xf4"
json: error: <stdin>:1:3:      ^
command failed: echo -e '"\xf4"'|json
$ echo -e '"\xf4\x7f"'|json
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\xf4\x7f"
json: error: <stdin>:1:3:      ^
command failed: echo -e '"\xf4\x7f"'|json
$ echo -e '"\xf4\x90"'|json
json: error: <stdin>:1:3: lex error: invalid utf-8 encoding
json: error: <stdin>:1:3: "\xf4\x90"
json: error: <stdin>:1:3:      ^
command failed: echo -e '"\xf4\x90"'|json
$ echo -e '"\xf4\x80"'|json
json: error: <stdin>:1:4: lex error: invalid utf-8 encoding
json: error: <stdin>:1:4: "\xf4\x80"
json: error: <stdin>:1:4:          ^
command failed: echo -e '"\xf4\x80"'|json
$ echo -e '"\xf4\x8f"'|json
json: error: <stdin>:1:4: lex error: invalid utf-8 encoding
json: error: <stdin>:1:4: "\xf4\x8f"
json: error: <stdin>:1:4:          ^
command failed: echo -e '"\xf4\x8f"'|json
$ echo -e '"\xf4\x80\x7f"'|json
json: error: <stdin>:1:4: lex error: invalid string literal
json: error: <stdin>:1:4: "\xf4\x80\x7f"
json: error: <stdin>:1:4:          ^
command failed: echo -e '"\xf4\x80\x7f"'|json
$ echo -e '"\xf4\x8f\xc0"'|json
json: error: <stdin>:1:4: lex error: invalid utf-8 encoding
json: error: <stdin>:1:4: "\xf4\x8f\xc0"
json: error: <stdin>:1:4:          ^
command failed: echo -e '"\xf4\x8f\xc0"'|json
$ echo -e '"\xf4\x80\x80"'|json
json: error: <stdin>:1:5: lex error: invalid utf-8 encoding
json: error: <stdin>:1:5: "\xf4\x80\x80"
json: error: <stdin>:1:5:              ^
command failed: echo -e '"\xf4\x80\x80"'|json
$ echo -e '"\xf4\x8f\xbf"'|json
json: error: <stdin>:1:5: lex error: invalid utf-8 encoding
json: error: <stdin>:1:5: "\xf4\x8f\xbf"
json: error: <stdin>:1:5:              ^
command failed: echo -e '"\xf4\x8f\xbf"'|json
$ echo -e '"\xf4\x80\x80\x7f"'|json
json: error: <stdin>:1:5: lex error: invalid string literal
json: error: <stdin>:1:5: "\xf4\x80\x80\x7f"
json: error: <stdin>:1:5:              ^
command failed: echo -e '"\xf4\x80\x80\x7f"'|json
$ echo -e '"\xf4\x8f\xbf\xc0"'|json
json: error: <stdin>:1:5: lex error: invalid utf-8 encoding
json: error: <stdin>:1:5: "\xf4\x8f\xbf\xc0"
json: error: <stdin>:1:5:              ^
command failed: echo -e '"\xf4\x8f\xbf\xc0"'|json
$ echo -e '"\xf5"'|json
json: error: <stdin>:1:2: lex error: invalid utf-8 encoding
json: error: <stdin>:1:2: "\xf5"
json: error: <stdin>:1:2:  ^
command failed: echo -e '"\xf5"'|json
$ echo -e '"\x41\xe2\x89\xa2\xce\x91\x2e"'|json
"A≢Α."
$

--[ string-utf8-2 ]-------------------------------------------------------------

$ json() { json0 --literal-value --no-validate-utf8 --parse "$@"; }
$ echo -e '"\xc0\x80"'|json
$ echo -e '"\xc0\xae"'|json
$ echo -e '"\xc1\x81"'|json
$ echo -e '"\x41\xe2\x89\xa2\xce\x91\x2e"'|json
$

--[ string3 ]-------------------------------------------------------------------

$ json() { json0 --literal-value "$@"; }
#
# # meta command:
# $ for v in '"foo"' '"\n"' '"\u0020"'; do n=`echo -n $v|wc -c`; for((k=1;k<=n;k++)); do for((b=1;b<=k+1;b++));do c="echo -n '${v:0:$k}'|json -b $b"; echo "$ $c"; eval "$c"; done; done; done
#
$ echo -n '"'|json -b 1
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "
json: error: <stdin>:1:2:  ^
command failed: echo -n '"'|json -b 1
$ echo -n '"'|json -b 2
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "
json: error: <stdin>:1:2:  ^
command failed: echo -n '"'|json -b 2
$ echo -n '"f'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "f
json: error: <stdin>:1:3:   ^
command failed: echo -n '"f'|json -b 1
$ echo -n '"f'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "f
json: error: <stdin>:1:3:   ^
command failed: echo -n '"f'|json -b 2
$ echo -n '"f'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "f
json: error: <stdin>:1:3:   ^
command failed: echo -n '"f'|json -b 3
$ echo -n '"fo'|json -b 1
json: error: <stdin>:1:4: lex error: invalid string literal
json: error: <stdin>:1:4: "fo
json: error: <stdin>:1:4:    ^
command failed: echo -n '"fo'|json -b 1
$ echo -n '"fo'|json -b 2
json: error: <stdin>:1:4: lex error: invalid string literal
json: error: <stdin>:1:4: "fo
json: error: <stdin>:1:4:    ^
command failed: echo -n '"fo'|json -b 2
$ echo -n '"fo'|json -b 3
json: error: <stdin>:1:4: lex error: invalid string literal
json: error: <stdin>:1:4: "fo
json: error: <stdin>:1:4:    ^
command failed: echo -n '"fo'|json -b 3
$ echo -n '"fo'|json -b 4
json: error: <stdin>:1:4: lex error: invalid string literal
json: error: <stdin>:1:4: "fo
json: error: <stdin>:1:4:    ^
command failed: echo -n '"fo'|json -b 4
$ echo -n '"foo'|json -b 1
json: error: <stdin>:1:5: lex error: invalid string literal
json: error: <stdin>:1:5: "foo
json: error: <stdin>:1:5:     ^
command failed: echo -n '"foo'|json -b 1
$ echo -n '"foo'|json -b 2
json: error: <stdin>:1:5: lex error: invalid string literal
json: error: <stdin>:1:5: "foo
json: error: <stdin>:1:5:     ^
command failed: echo -n '"foo'|json -b 2
$ echo -n '"foo'|json -b 3
json: error: <stdin>:1:5: lex error: invalid string literal
json: error: <stdin>:1:5: "foo
json: error: <stdin>:1:5:     ^
command failed: echo -n '"foo'|json -b 3
$ echo -n '"foo'|json -b 4
json: error: <stdin>:1:5: lex error: invalid string literal
json: error: <stdin>:1:5: "foo
json: error: <stdin>:1:5:     ^
command failed: echo -n '"foo'|json -b 4
$ echo -n '"foo'|json -b 5
json: error: <stdin>:1:5: lex error: invalid string literal
json: error: <stdin>:1:5: "foo
json: error: <stdin>:1:5:     ^
command failed: echo -n '"foo'|json -b 5
$ echo -n '"foo"'|json -b 1
"foo"
$ echo -n '"foo"'|json -b 2
"foo"
$ echo -n '"foo"'|json -b 3
"foo"
$ echo -n '"foo"'|json -b 4
"foo"
$ echo -n '"foo"'|json -b 5
"foo"
$ echo -n '"foo"'|json -b 6
"foo"
$ echo -n '"'|json -b 1
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "
json: error: <stdin>:1:2:  ^
command failed: echo -n '"'|json -b 1
$ echo -n '"'|json -b 2
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "
json: error: <stdin>:1:2:  ^
command failed: echo -n '"'|json -b 2
$ echo -n '"\'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\
json: error: <stdin>:1:3:    ^
command failed: echo -n '"\'|json -b 1
$ echo -n '"\'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\
json: error: <stdin>:1:3:    ^
command failed: echo -n '"\'|json -b 2
$ echo -n '"\'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\
json: error: <stdin>:1:3:    ^
command failed: echo -n '"\'|json -b 3
$ echo -n '"\n'|json -b 1
json: error: <stdin>:1:4: lex error: invalid string literal
json: error: <stdin>:1:4: "\\n
json: error: <stdin>:1:4:     ^
command failed: echo -n '"\n'|json -b 1
$ echo -n '"\n'|json -b 2
json: error: <stdin>:1:4: lex error: invalid string literal
json: error: <stdin>:1:4: "\\n
json: error: <stdin>:1:4:     ^
command failed: echo -n '"\n'|json -b 2
$ echo -n '"\n'|json -b 3
json: error: <stdin>:1:4: lex error: invalid string literal
json: error: <stdin>:1:4: "\\n
json: error: <stdin>:1:4:     ^
command failed: echo -n '"\n'|json -b 3
$ echo -n '"\n'|json -b 4
json: error: <stdin>:1:4: lex error: invalid string literal
json: error: <stdin>:1:4: "\\n
json: error: <stdin>:1:4:     ^
command failed: echo -n '"\n'|json -b 4
$ echo -n '"\n"'|json -b 1
"\n"
$ echo -n '"\n"'|json -b 2
"\n"
$ echo -n '"\n"'|json -b 3
"\n"
$ echo -n '"\n"'|json -b 4
"\n"
$ echo -n '"\n"'|json -b 5
"\n"
$ echo -n '"'|json -b 1
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "
json: error: <stdin>:1:2:  ^
command failed: echo -n '"'|json -b 1
$ echo -n '"'|json -b 2
json: error: <stdin>:1:2: lex error: invalid string literal
json: error: <stdin>:1:2: "
json: error: <stdin>:1:2:  ^
command failed: echo -n '"'|json -b 2
$ echo -n '"\'|json -b 1
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\
json: error: <stdin>:1:3:    ^
command failed: echo -n '"\'|json -b 1
$ echo -n '"\'|json -b 2
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\
json: error: <stdin>:1:3:    ^
command failed: echo -n '"\'|json -b 2
$ echo -n '"\'|json -b 3
json: error: <stdin>:1:3: lex error: invalid string literal
json: error: <stdin>:1:3: "\\
json: error: <stdin>:1:3:    ^
command failed: echo -n '"\'|json -b 3
$ echo -n '"\u'|json -b 1
json: error: <stdin>:1:4: lex error: invalid string literal
json: error: <stdin>:1:4: "\\u
json: error: <stdin>:1:4:     ^
command failed: echo -n '"\u'|json -b 1
$ echo -n '"\u'|json -b 2
json: error: <stdin>:1:4: lex error: invalid string literal
json: error: <stdin>:1:4: "\\u
json: error: <stdin>:1:4:     ^
command failed: echo -n '"\u'|json -b 2
$ echo -n '"\u'|json -b 3
json: error: <stdin>:1:4: lex error: invalid string literal
json: error: <stdin>:1:4: "\\u
json: error: <stdin>:1:4:     ^
command failed: echo -n '"\u'|json -b 3
$ echo -n '"\u'|json -b 4
json: error: <stdin>:1:4: lex error: invalid string literal
json: error: <stdin>:1:4: "\\u
json: error: <stdin>:1:4:     ^
command failed: echo -n '"\u'|json -b 4
$ echo -n '"\u0'|json -b 1
json: error: <stdin>:1:5: lex error: invalid string literal
json: error: <stdin>:1:5: "\\u0
json: error: <stdin>:1:5:      ^
command failed: echo -n '"\u0'|json -b 1
$ echo -n '"\u0'|json -b 2
json: error: <stdin>:1:5: lex error: invalid string literal
json: error: <stdin>:1:5: "\\u0
json: error: <stdin>:1:5:      ^
command failed: echo -n '"\u0'|json -b 2
$ echo -n '"\u0'|json -b 3
json: error: <stdin>:1:5: lex error: invalid string literal
json: error: <stdin>:1:5: "\\u0
json: error: <stdin>:1:5:      ^
command failed: echo -n '"\u0'|json -b 3
$ echo -n '"\u0'|json -b 4
json: error: <stdin>:1:5: lex error: invalid string literal
json: error: <stdin>:1:5: "\\u0
json: error: <stdin>:1:5:      ^
command failed: echo -n '"\u0'|json -b 4
$ echo -n '"\u0'|json -b 5
json: error: <stdin>:1:5: lex error: invalid string literal
json: error: <stdin>:1:5: "\\u0
json: error: <stdin>:1:5:      ^
command failed: echo -n '"\u0'|json -b 5
$ echo -n '"\u00'|json -b 1
json: error: <stdin>:1:6: lex error: invalid string literal
json: error: <stdin>:1:6: "\\u00
json: error: <stdin>:1:6:       ^
command failed: echo -n '"\u00'|json -b 1
$ echo -n '"\u00'|json -b 2
json: error: <stdin>:1:6: lex error: invalid string literal
json: error: <stdin>:1:6: "\\u00
json: error: <stdin>:1:6:       ^
command failed: echo -n '"\u00'|json -b 2
$ echo -n '"\u00'|json -b 3
json: error: <stdin>:1:6: lex error: invalid string literal
json: error: <stdin>:1:6: "\\u00
json: error: <stdin>:1:6:       ^
command failed: echo -n '"\u00'|json -b 3
$ echo -n '"\u00'|json -b 4
json: error: <stdin>:1:6: lex error: invalid string literal
json: error: <stdin>:1:6: "\\u00
json: error: <stdin>:1:6:       ^
command failed: echo -n '"\u00'|json -b 4
$ echo -n '"\u00'|json -b 5
json: error: <stdin>:1:6: lex error: invalid string literal
json: error: <stdin>:1:6: "\\u00
json: error: <stdin>:1:6:       ^
command failed: echo -n '"\u00'|json -b 5
$ echo -n '"\u00'|json -b 6
json: error: <stdin>:1:6: lex error: invalid string literal
json: error: <stdin>:1:6: "\\u00
json: error: <stdin>:1:6:       ^
command failed: echo -n '"\u00'|json -b 6
$ echo -n '"\u002'|json -b 1
json: error: <stdin>:1:7: lex error: invalid string literal
json: error: <stdin>:1:7: "\\u002
json: error: <stdin>:1:7:        ^
command failed: echo -n '"\u002'|json -b 1
$ echo -n '"\u002'|json -b 2
json: error: <stdin>:1:7: lex error: invalid string literal
json: error: <stdin>:1:7: "\\u002
json: error: <stdin>:1:7:        ^
command failed: echo -n '"\u002'|json -b 2
$ echo -n '"\u002'|json -b 3
json: error: <stdin>:1:7: lex error: invalid string literal
json: error: <stdin>:1:7: "\\u002
json: error: <stdin>:1:7:        ^
command failed: echo -n '"\u002'|json -b 3
$ echo -n '"\u002'|json -b 4
json: error: <stdin>:1:7: lex error: invalid string literal
json: error: <stdin>:1:7: "\\u002
json: error: <stdin>:1:7:        ^
command failed: echo -n '"\u002'|json -b 4
$ echo -n '"\u002'|json -b 5
json: error: <stdin>:1:7: lex error: invalid string literal
json: error: <stdin>:1:7: "\\u002
json: error: <stdin>:1:7:        ^
command failed: echo -n '"\u002'|json -b 5
$ echo -n '"\u002'|json -b 6
json: error: <stdin>:1:7: lex error: invalid string literal
json: error: <stdin>:1:7: "\\u002
json: error: <stdin>:1:7:        ^
command failed: echo -n '"\u002'|json -b 6
$ echo -n '"\u002'|json -b 7
json: error: <stdin>:1:7: lex error: invalid string literal
json: error: <stdin>:1:7: "\\u002
json: error: <stdin>:1:7:        ^
command failed: echo -n '"\u002'|json -b 7
$ echo -n '"\u0020'|json -b 1
json: error: <stdin>:1:8: lex error: invalid string literal
json: error: <stdin>:1:8: "\\u0020
json: error: <stdin>:1:8:         ^
command failed: echo -n '"\u0020'|json -b 1
$ echo -n '"\u0020'|json -b 2
json: error: <stdin>:1:8: lex error: invalid string literal
json: error: <stdin>:1:8: "\\u0020
json: error: <stdin>:1:8:         ^
command failed: echo -n '"\u0020'|json -b 2
$ echo -n '"\u0020'|json -b 3
json: error: <stdin>:1:8: lex error: invalid string literal
json: error: <stdin>:1:8: "\\u0020
json: error: <stdin>:1:8:         ^
command failed: echo -n '"\u0020'|json -b 3
$ echo -n '"\u0020'|json -b 4
json: error: <stdin>:1:8: lex error: invalid string literal
json: error: <stdin>:1:8: "\\u0020
json: error: <stdin>:1:8:         ^
command failed: echo -n '"\u0020'|json -b 4
$ echo -n '"\u0020'|json -b 5
json: error: <stdin>:1:8: lex error: invalid string literal
json: error: <stdin>:1:8: "\\u0020
json: error: <stdin>:1:8:         ^
command failed: echo -n '"\u0020'|json -b 5
$ echo -n '"\u0020'|json -b 6
json: error: <stdin>:1:8: lex error: invalid string literal
json: error: <stdin>:1:8: "\\u0020
json: error: <stdin>:1:8:         ^
command failed: echo -n '"\u0020'|json -b 6
$ echo -n '"\u0020'|json -b 7
json: error: <stdin>:1:8: lex error: invalid string literal
json: error: <stdin>:1:8: "\\u0020
json: error: <stdin>:1:8:         ^
command failed: echo -n '"\u0020'|json -b 7
$ echo -n '"\u0020'|json -b 8
json: error: <stdin>:1:8: lex error: invalid string literal
json: error: <stdin>:1:8: "\\u0020
json: error: <stdin>:1:8:         ^
command failed: echo -n '"\u0020'|json -b 8
$ echo -n '"\u0020"'|json -b 1
" "
$ echo -n '"\u0020"'|json -b 2
" "
$ echo -n '"\u0020"'|json -b 3
" "
$ echo -n '"\u0020"'|json -b 4
" "
$ echo -n '"\u0020"'|json -b 5
" "
$ echo -n '"\u0020"'|json -b 6
" "
$ echo -n '"\u0020"'|json -b 7
" "
$ echo -n '"\u0020"'|json -b 8
" "
$ echo -n '"\u0020"'|json -b 9
" "
$

--[ number ]--------------------------------------------------------------------

$ json() { json0 --literal-value "$@"; }
#
# # meta command:
# $ for((k=0;k<=9;k++));do for b in 1 2 3; do c="echo $k|json -b $b"; echo "$ $c"; eval "$c"; done; done
#
$ echo 0|json -b 1
0
$ echo 0|json -b 2
0
$ echo 0|json -b 3
0
$ echo 1|json -b 1
1
$ echo 1|json -b 2
1
$ echo 1|json -b 3
1
$ echo 2|json -b 1
2
$ echo 2|json -b 2
2
$ echo 2|json -b 3
2
$ echo 3|json -b 1
3
$ echo 3|json -b 2
3
$ echo 3|json -b 3
3
$ echo 4|json -b 1
4
$ echo 4|json -b 2
4
$ echo 4|json -b 3
4
$ echo 5|json -b 1
5
$ echo 5|json -b 2
5
$ echo 5|json -b 3
5
$ echo 6|json -b 1
6
$ echo 6|json -b 2
6
$ echo 6|json -b 3
6
$ echo 7|json -b 1
7
$ echo 7|json -b 2
7
$ echo 7|json -b 3
7
$ echo 8|json -b 1
8
$ echo 8|json -b 2
8
$ echo 8|json -b 3
8
$ echo 9|json -b 1
9
$ echo 9|json -b 2
9
$ echo 9|json -b 3
9
$

--[ number2 ]-------------------------------------------------------------------

$ json() { json0 --literal-value "$@"; }
#
# # meta command:
# $ for((k=0;k<=9;k++));do for b in 1 2 3 4; do c="echo -$k|json -b $b"; echo "$ $c"; eval "$c"; done; done
#
$ echo -0|json -b 1
-0
$ echo -0|json -b 2
-0
$ echo -0|json -b 3
-0
$ echo -0|json -b 4
-0
$ echo -1|json -b 1
-1
$ echo -1|json -b 2
-1
$ echo -1|json -b 3
-1
$ echo -1|json -b 4
-1
$ echo -2|json -b 1
-2
$ echo -2|json -b 2
-2
$ echo -2|json -b 3
-2
$ echo -2|json -b 4
-2
$ echo -3|json -b 1
-3
$ echo -3|json -b 2
-3
$ echo -3|json -b 3
-3
$ echo -3|json -b 4
-3
$ echo -4|json -b 1
-4
$ echo -4|json -b 2
-4
$ echo -4|json -b 3
-4
$ echo -4|json -b 4
-4
$ echo -5|json -b 1
-5
$ echo -5|json -b 2
-5
$ echo -5|json -b 3
-5
$ echo -5|json -b 4
-5
$ echo -6|json -b 1
-6
$ echo -6|json -b 2
-6
$ echo -6|json -b 3
-6
$ echo -6|json -b 4
-6
$ echo -7|json -b 1
-7
$ echo -7|json -b 2
-7
$ echo -7|json -b 3
-7
$ echo -7|json -b 4
-7
$ echo -8|json -b 1
-8
$ echo -8|json -b 2
-8
$ echo -8|json -b 3
-8
$ echo -8|json -b 4
-8
$ echo -9|json -b 1
-9
$ echo -9|json -b 2
-9
$ echo -9|json -b 3
-9
$ echo -9|json -b 4
-9
$

--[ number3 ]-------------------------------------------------------------------

$ json() { json0 --literal-value "$@"; }
#
# # meta command:
# $ for((k=0;k<=9;k++));do c="echo 0$k|json -b 1"; echo "$ $c"; eval "$c"; done
#
$ echo 00|json -b 1
json: error: <stdin>:1:2: parse error: multiple objects are not allowed
json: error: <stdin>:1:2: 00
json: error: <stdin>:1:2:  ^
0
command failed: echo 00|json -b 1
$ echo 01|json -b 1
json: error: <stdin>:1:2: parse error: multiple objects are not allowed
json: error: <stdin>:1:2: 01
json: error: <stdin>:1:2:  ^
0
command failed: echo 01|json -b 1
$ echo 02|json -b 1
json: error: <stdin>:1:2: parse error: multiple objects are not allowed
json: error: <stdin>:1:2: 02
json: error: <stdin>:1:2:  ^
0
command failed: echo 02|json -b 1
$ echo 03|json -b 1
json: error: <stdin>:1:2: parse error: multiple objects are not allowed
json: error: <stdin>:1:2: 03
json: error: <stdin>:1:2:  ^
0
command failed: echo 03|json -b 1
$ echo 04|json -b 1
json: error: <stdin>:1:2: parse error: multiple objects are not allowed
json: error: <stdin>:1:2: 04
json: error: <stdin>:1:2:  ^
0
command failed: echo 04|json -b 1
$ echo 05|json -b 1
json: error: <stdin>:1:2: parse error: multiple objects are not allowed
json: error: <stdin>:1:2: 05
json: error: <stdin>:1:2:  ^
0
command failed: echo 05|json -b 1
$ echo 06|json -b 1
json: error: <stdin>:1:2: parse error: multiple objects are not allowed
json: error: <stdin>:1:2: 06
json: error: <stdin>:1:2:  ^
0
command failed: echo 06|json -b 1
$ echo 07|json -b 1
json: error: <stdin>:1:2: parse error: multiple objects are not allowed
json: error: <stdin>:1:2: 07
json: error: <stdin>:1:2:  ^
0
command failed: echo 07|json -b 1
$ echo 08|json -b 1
json: error: <stdin>:1:2: parse error: multiple objects are not allowed
json: error: <stdin>:1:2: 08
json: error: <stdin>:1:2:  ^
0
command failed: echo 08|json -b 1
$ echo 09|json -b 1
json: error: <stdin>:1:2: parse error: multiple objects are not allowed
json: error: <stdin>:1:2: 09
json: error: <stdin>:1:2:  ^
0
command failed: echo 09|json -b 1
$

--[ number4 ]-------------------------------------------------------------------

$ json() { json0 --literal-value --multi-obj -b 1 "$@"; }
#
# # meta command:
# $ for((k=0;k<=9;k++));do c="echo 0$k|json"; echo "$ $c"; eval "$c"; done
#
$ echo 00|json
0
0
$ echo 01|json
0
1
$ echo 02|json
0
2
$ echo 03|json
0
3
$ echo 04|json
0
4
$ echo 05|json
0
5
$ echo 06|json
0
6
$ echo 07|json
0
7
$ echo 08|json
0
8
$ echo 09|json
0
9
$

--[ number5 ]-------------------------------------------------------------------

$ json() { json0 --literal-value --multi-obj -b 1 "$@"; }
#
# # meta command:
# $ for((k=0;k<=9;k++));do c="echo -0$k|json"; echo "$ $c"; eval "$c"; done
#
$ echo -00|json
-0
0
$ echo -01|json
-0
1
$ echo -02|json
-0
2
$ echo -03|json
-0
3
$ echo -04|json
-0
4
$ echo -05|json
-0
5
$ echo -06|json
-0
6
$ echo -07|json
-0
7
$ echo -08|json
-0
8
$ echo -09|json
-0
9
$

--[ number6 ]-------------------------------------------------------------------

$ json() { json0 --literal-value --multi-obj -b 1 "$@"; }
#
# # meta command:
# $ for((k=0;k<=9;k++));do c="echo 0-0$k|json"; echo "$ $c"; eval "$c"; done
#
$ echo 0-00|json
0
-0
0
$ echo 0-01|json
0
-0
1
$ echo 0-02|json
0
-0
2
$ echo 0-03|json
0
-0
3
$ echo 0-04|json
0
-0
4
$ echo 0-05|json
0
-0
5
$ echo 0-06|json
0
-0
6
$ echo 0-07|json
0
-0
7
$ echo 0-08|json
0
-0
8
$ echo 0-09|json
0
-0
9
$

--[ number7 ]-------------------------------------------------------------------

$ json() { json0 --literal-value -b 8 "$@"; }
$ json <<< 0
0
$ json <<< 1
1
$ json <<< 12
12
$ json <<< 1234
1234
$ json <<< 12345678
12345678
$ json <<< 1234567890123456
1234567890123456
$ json <<< 12345678901234567890123456789012
12345678901234567890123456789012
$ json <<< 1234567890123456789012345678901234567890123456789012345678901234
1234567890123456789012345678901234567890123456789012345678901234
$ json <<< 0.0
0.0
$ json <<< 1.1
1.1
$ json <<< 12.12
12.12
$ json <<< 1234.1234
1234.1234
$ json <<< 12345678.12345678
12345678.12345678
$ json <<< 1234567890123456.1234567890123456
1234567890123456.1234567890123456
$ json <<< 12345678901234567890123456789012.12345678901234567890123456789012
12345678901234567890123456789012.12345678901234567890123456789012
$ json <<< 1234567890123456789012345678901234567890123456789012345678901234.1234567890123456789012345678901234567890123456789012345678901234
1234567890123456789012345678901234567890123456789012345678901234.1234567890123456789012345678901234567890123456789012345678901234
$ json <<< 0e0
0e0
$ json <<< 1e1
1e1
$ json <<< 12e12
12e12
$ json <<< 1234e1234
1234e1234
$ json <<< 12345678e12345678
12345678e12345678
$ json <<< 1234567890123456e1234567890123456
1234567890123456e1234567890123456
$ json <<< 12345678901234567890123456789012e12345678901234567890123456789012
12345678901234567890123456789012e12345678901234567890123456789012
$ json <<< 1234567890123456789012345678901234567890123456789012345678901234e1234567890123456789012345678901234567890123456789012345678901234
1234567890123456789012345678901234567890123456789012345678901234e1234567890123456789012345678901234567890123456789012345678901234
$ json <<< 0E0
0E0
$ json <<< 1E1
1E1
$ json <<< 12E12
12E12
$ json <<< 1234E1234
1234E1234
$ json <<< 12345678E12345678
12345678E12345678
$ json <<< 1234567890123456E1234567890123456
1234567890123456E1234567890123456
$ json <<< 12345678901234567890123456789012E12345678901234567890123456789012
12345678901234567890123456789012E12345678901234567890123456789012
$ json <<< 1234567890123456789012345678901234567890123456789012345678901234E1234567890123456789012345678901234567890123456789012345678901234
1234567890123456789012345678901234567890123456789012345678901234E1234567890123456789012345678901234567890123456789012345678901234
$ json <<< 0e-0
0e-0
$ json <<< 1e-1
1e-1
$ json <<< 12e-12
12e-12
$ json <<< 1234e-1234
1234e-1234
$ json <<< 12345678e-12345678
12345678e-12345678
$ json <<< 1234567890123456e-1234567890123456
1234567890123456e-1234567890123456
$ json <<< 12345678901234567890123456789012e-12345678901234567890123456789012
12345678901234567890123456789012e-12345678901234567890123456789012
$ json <<< 1234567890123456789012345678901234567890123456789012345678901234e-1234567890123456789012345678901234567890123456789012345678901234
1234567890123456789012345678901234567890123456789012345678901234e-1234567890123456789012345678901234567890123456789012345678901234
$ json <<< 0E-0
0E-0
$ json <<< 1E-1
1E-1
$ json <<< 12E-12
12E-12
$ json <<< 1234E-1234
1234E-1234
$ json <<< 12345678E-12345678
12345678E-12345678
$ json <<< 1234567890123456E-1234567890123456
1234567890123456E-1234567890123456
$ json <<< 12345678901234567890123456789012E-12345678901234567890123456789012
12345678901234567890123456789012E-12345678901234567890123456789012
$ json <<< 1234567890123456789012345678901234567890123456789012345678901234E-1234567890123456789012345678901234567890123456789012345678901234
1234567890123456789012345678901234567890123456789012345678901234E-1234567890123456789012345678901234567890123456789012345678901234
$ json <<< 0e+0
0e+0
$ json <<< 1e+1
1e+1
$ json <<< 12e+12
12e+12
$ json <<< 1234e+1234
1234e+1234
$ json <<< 12345678e+12345678
12345678e+12345678
$ json <<< 1234567890123456e+1234567890123456
1234567890123456e+1234567890123456
$ json <<< 12345678901234567890123456789012e+12345678901234567890123456789012
12345678901234567890123456789012e+12345678901234567890123456789012
$ json <<< 1234567890123456789012345678901234567890123456789012345678901234e+1234567890123456789012345678901234567890123456789012345678901234
1234567890123456789012345678901234567890123456789012345678901234e+1234567890123456789012345678901234567890123456789012345678901234
$ json <<< 0E+0
0E+0
$ json <<< 1E+1
1E+1
$ json <<< 12E+12
12E+12
$ json <<< 1234E+1234
1234E+1234
$ json <<< 12345678E+12345678
12345678E+12345678
$ json <<< 1234567890123456E+1234567890123456
1234567890123456E+1234567890123456
$ json <<< 12345678901234567890123456789012E+12345678901234567890123456789012
12345678901234567890123456789012E+12345678901234567890123456789012
$ json <<< 1234567890123456789012345678901234567890123456789012345678901234E+1234567890123456789012345678901234567890123456789012345678901234
1234567890123456789012345678901234567890123456789012345678901234E+1234567890123456789012345678901234567890123456789012345678901234
$ json <<< 0.0e0
0.0e0
$ json <<< 1.1e1
1.1e1
$ json <<< 12.12e12
12.12e12
$ json <<< 1234.1234e1234
1234.1234e1234
$ json <<< 12345678.12345678e12345678
12345678.12345678e12345678
$ json <<< 1234567890123456.1234567890123456e1234567890123456
1234567890123456.1234567890123456e1234567890123456
$ json <<< 12345678901234567890123456789012.12345678901234567890123456789012e12345678901234567890123456789012
12345678901234567890123456789012.12345678901234567890123456789012e12345678901234567890123456789012
$ json <<< 1234567890123456789012345678901234567890123456789012345678901234.1234567890123456789012345678901234567890123456789012345678901234e1234567890123456789012345678901234567890123456789012345678901234
1234567890123456789012345678901234567890123456789012345678901234.1234567890123456789012345678901234567890123456789012345678901234e1234567890123456789012345678901234567890123456789012345678901234
$ json <<< 0.0E0
0.0E0
$ json <<< 1.1E1
1.1E1
$ json <<< 12.12E12
12.12E12
$ json <<< 1234.1234E1234
1234.1234E1234
$ json <<< 12345678.12345678E12345678
12345678.12345678E12345678
$ json <<< 1234567890123456.1234567890123456E1234567890123456
1234567890123456.1234567890123456E1234567890123456
$ json <<< 12345678901234567890123456789012.12345678901234567890123456789012E12345678901234567890123456789012
12345678901234567890123456789012.12345678901234567890123456789012E12345678901234567890123456789012
$ json <<< 1234567890123456789012345678901234567890123456789012345678901234.1234567890123456789012345678901234567890123456789012345678901234E1234567890123456789012345678901234567890123456789012345678901234
1234567890123456789012345678901234567890123456789012345678901234.1234567890123456789012345678901234567890123456789012345678901234E1234567890123456789012345678901234567890123456789012345678901234
$ json <<< 0.0e-0
0.0e-0
$ json <<< 1.1e-1
1.1e-1
$ json <<< 12.12e-12
12.12e-12
$ json <<< 1234.1234e-1234
1234.1234e-1234
$ json <<< 12345678.12345678e-12345678
12345678.12345678e-12345678
$ json <<< 1234567890123456.1234567890123456e-1234567890123456
1234567890123456.1234567890123456e-1234567890123456
$ json <<< 12345678901234567890123456789012.12345678901234567890123456789012e-12345678901234567890123456789012
12345678901234567890123456789012.12345678901234567890123456789012e-12345678901234567890123456789012
$ json <<< 1234567890123456789012345678901234567890123456789012345678901234.1234567890123456789012345678901234567890123456789012345678901234e-1234567890123456789012345678901234567890123456789012345678901234
1234567890123456789012345678901234567890123456789012345678901234.1234567890123456789012345678901234567890123456789012345678901234e-1234567890123456789012345678901234567890123456789012345678901234
$ json <<< 0.0E-0
0.0E-0
$ json <<< 1.1E-1
1.1E-1
$ json <<< 12.12E-12
12.12E-12
$ json <<< 1234.1234E-1234
1234.1234E-1234
$ json <<< 12345678.12345678E-12345678
12345678.12345678E-12345678
$ json <<< 1234567890123456.1234567890123456E-1234567890123456
1234567890123456.1234567890123456E-1234567890123456
$ json <<< 12345678901234567890123456789012.12345678901234567890123456789012E-12345678901234567890123456789012
12345678901234567890123456789012.12345678901234567890123456789012E-12345678901234567890123456789012
$ json <<< 1234567890123456789012345678901234567890123456789012345678901234.1234567890123456789012345678901234567890123456789012345678901234E-1234567890123456789012345678901234567890123456789012345678901234
1234567890123456789012345678901234567890123456789012345678901234.1234567890123456789012345678901234567890123456789012345678901234E-1234567890123456789012345678901234567890123456789012345678901234
$ json <<< 0.0e+0
0.0e+0
$ json <<< 1.1e+1
1.1e+1
$ json <<< 12.12e+12
12.12e+12
$ json <<< 1234.1234e+1234
1234.1234e+1234
$ json <<< 12345678.12345678e+12345678
12345678.12345678e+12345678
$ json <<< 1234567890123456.1234567890123456e+1234567890123456
1234567890123456.1234567890123456e+1234567890123456
$ json <<< 12345678901234567890123456789012.12345678901234567890123456789012e+12345678901234567890123456789012
12345678901234567890123456789012.12345678901234567890123456789012e+12345678901234567890123456789012
$ json <<< 1234567890123456789012345678901234567890123456789012345678901234.1234567890123456789012345678901234567890123456789012345678901234e+1234567890123456789012345678901234567890123456789012345678901234
1234567890123456789012345678901234567890123456789012345678901234.1234567890123456789012345678901234567890123456789012345678901234e+1234567890123456789012345678901234567890123456789012345678901234
$ json <<< 0.0E+0
0.0E+0
$ json <<< 1.1E+1
1.1E+1
$ json <<< 12.12E+12
12.12E+12
$ json <<< 1234.1234E+1234
1234.1234E+1234
$ json <<< 12345678.12345678E+12345678
12345678.12345678E+12345678
$ json <<< 1234567890123456.1234567890123456E+1234567890123456
1234567890123456.1234567890123456E+1234567890123456
$ json <<< 12345678901234567890123456789012.12345678901234567890123456789012E+12345678901234567890123456789012
12345678901234567890123456789012.12345678901234567890123456789012E+12345678901234567890123456789012
$ json <<< 1234567890123456789012345678901234567890123456789012345678901234.1234567890123456789012345678901234567890123456789012345678901234E+1234567890123456789012345678901234567890123456789012345678901234
1234567890123456789012345678901234567890123456789012345678901234.1234567890123456789012345678901234567890123456789012345678901234E+1234567890123456789012345678901234567890123456789012345678901234
$

--[ number8 ]-------------------------------------------------------------------

$ json() { json0 --literal-value -b 8 "$@"; }
#
# # meta command:
# $ for a1 in '' 0 1 ; do for a2 in '' 0 1; do for a3 in '' 0 1; do for a4 in '' 0 1; do c="json <<< $a1-$a2.${a3}e$a4"; echo "$ $c"; eval "$c"; done; done; done; done
#
$ json <<< -.e
json: error: <stdin>:1:2: lex error: invalid number literal
json: error: <stdin>:1:2: -.e
json: error: <stdin>:1:2:  ^
command failed: json <<< -.e
$ json <<< -.e0
json: error: <stdin>:1:2: lex error: invalid number literal
json: error: <stdin>:1:2: -.e0
json: error: <stdin>:1:2:  ^
command failed: json <<< -.e0
$ json <<< -.e1
json: error: <stdin>:1:2: lex error: invalid number literal
json: error: <stdin>:1:2: -.e1
json: error: <stdin>:1:2:  ^
command failed: json <<< -.e1
$ json <<< -.0e
json: error: <stdin>:1:2: lex error: invalid number literal
json: error: <stdin>:1:2: -.0e
json: error: <stdin>:1:2:  ^
command failed: json <<< -.0e
$ json <<< -.0e0
json: error: <stdin>:1:2: lex error: invalid number literal
json: error: <stdin>:1:2: -.0e0
json: error: <stdin>:1:2:  ^
command failed: json <<< -.0e0
$ json <<< -.0e1
json: error: <stdin>:1:2: lex error: invalid number literal
json: error: <stdin>:1:2: -.0e1
json: error: <stdin>:1:2:  ^
command failed: json <<< -.0e1
$ json <<< -.1e
json: error: <stdin>:1:2: lex error: invalid number literal
json: error: <stdin>:1:2: -.1e
json: error: <stdin>:1:2:  ^
command failed: json <<< -.1e
$ json <<< -.1e0
json: error: <stdin>:1:2: lex error: invalid number literal
json: error: <stdin>:1:2: -.1e0
json: error: <stdin>:1:2:  ^
command failed: json <<< -.1e0
$ json <<< -.1e1
json: error: <stdin>:1:2: lex error: invalid number literal
json: error: <stdin>:1:2: -.1e1
json: error: <stdin>:1:2:  ^
command failed: json <<< -.1e1
$ json <<< -0.e
json: error: <stdin>:1:4: lex error: invalid number literal
json: error: <stdin>:1:4: -0.e
json: error: <stdin>:1:4:    ^
command failed: json <<< -0.e
$ json <<< -0.e0
json: error: <stdin>:1:4: lex error: invalid number literal
json: error: <stdin>:1:4: -0.e0
json: error: <stdin>:1:4:    ^
command failed: json <<< -0.e0
$ json <<< -0.e1
json: error: <stdin>:1:4: lex error: invalid number literal
json: error: <stdin>:1:4: -0.e1
json: error: <stdin>:1:4:    ^
command failed: json <<< -0.e1
$ json <<< -0.0e
json: error: <stdin>:1:6: lex error: invalid number literal
json: error: <stdin>:1:6: -0.0e
json: error: <stdin>:1:6:      ^
command failed: json <<< -0.0e
$ json <<< -0.0e0
-0.0e0
$ json <<< -0.0e1
-0.0e1
$ json <<< -0.1e
json: error: <stdin>:1:6: lex error: invalid number literal
json: error: <stdin>:1:6: -0.1e
json: error: <stdin>:1:6:      ^
command failed: json <<< -0.1e
$ json <<< -0.1e0
-0.1e0
$ json <<< -0.1e1
-0.1e1
$ json <<< -1.e
json: error: <stdin>:1:4: lex error: invalid number literal
json: error: <stdin>:1:4: -1.e
json: error: <stdin>:1:4:    ^
command failed: json <<< -1.e
$ json <<< -1.e0
json: error: <stdin>:1:4: lex error: invalid number literal
json: error: <stdin>:1:4: -1.e0
json: error: <stdin>:1:4:    ^
command failed: json <<< -1.e0
$ json <<< -1.e1
json: error: <stdin>:1:4: lex error: invalid number literal
json: error: <stdin>:1:4: -1.e1
json: error: <stdin>:1:4:    ^
command failed: json <<< -1.e1
$ json <<< -1.0e
json: error: <stdin>:1:6: lex error: invalid number literal
json: error: <stdin>:1:6: -1.0e
json: error: <stdin>:1:6:      ^
command failed: json <<< -1.0e
$ json <<< -1.0e0
-1.0e0
$ json <<< -1.0e1
-1.0e1
$ json <<< -1.1e
json: error: <stdin>:1:6: lex error: invalid number literal
json: error: <stdin>:1:6: -1.1e
json: error: <stdin>:1:6:      ^
command failed: json <<< -1.1e
$ json <<< -1.1e0
-1.1e0
$ json <<< -1.1e1
-1.1e1
$ json <<< 0-.e
json: error: <stdin>:1:3: lex error: invalid number literal
json: error: <stdin>:1:3: 0-.e
json: error: <stdin>:1:3:   ^
0
command failed: json <<< 0-.e
$ json <<< 0-.e0
json: error: <stdin>:1:3: lex error: invalid number literal
json: error: <stdin>:1:3: 0-.e0
json: error: <stdin>:1:3:   ^
0
command failed: json <<< 0-.e0
$ json <<< 0-.e1
json: error: <stdin>:1:3: lex error: invalid number literal
json: error: <stdin>:1:3: 0-.e1
json: error: <stdin>:1:3:   ^
0
command failed: json <<< 0-.e1
$ json <<< 0-.0e
json: error: <stdin>:1:3: lex error: invalid number literal
json: error: <stdin>:1:3: 0-.0e
json: error: <stdin>:1:3:   ^
0
command failed: json <<< 0-.0e
$ json <<< 0-.0e0
json: error: <stdin>:1:3: lex error: invalid number literal
json: error: <stdin>:1:3: 0-.0e0
json: error: <stdin>:1:3:   ^
0
command failed: json <<< 0-.0e0
$ json <<< 0-.0e1
json: error: <stdin>:1:3: lex error: invalid number literal
json: error: <stdin>:1:3: 0-.0e1
json: error: <stdin>:1:3:   ^
0
command failed: json <<< 0-.0e1
$ json <<< 0-.1e
json: error: <stdin>:1:3: lex error: invalid number literal
json: error: <stdin>:1:3: 0-.1e
json: error: <stdin>:1:3:   ^
0
command failed: json <<< 0-.1e
$ json <<< 0-.1e0
json: error: <stdin>:1:3: lex error: invalid number literal
json: error: <stdin>:1:3: 0-.1e0
json: error: <stdin>:1:3:   ^
0
command failed: json <<< 0-.1e0
$ json <<< 0-.1e1
json: error: <stdin>:1:3: lex error: invalid number literal
json: error: <stdin>:1:3: 0-.1e1
json: error: <stdin>:1:3:   ^
0
command failed: json <<< 0-.1e1
$ json <<< 0-0.e
json: error: <stdin>:1:5: lex error: invalid number literal
json: error: <stdin>:1:5: 0-0.e
json: error: <stdin>:1:5:     ^
0
command failed: json <<< 0-0.e
$ json <<< 0-0.e0
json: error: <stdin>:1:5: lex error: invalid number literal
json: error: <stdin>:1:5: 0-0.e0
json: error: <stdin>:1:5:     ^
0
command failed: json <<< 0-0.e0
$ json <<< 0-0.e1
json: error: <stdin>:1:5: lex error: invalid number literal
json: error: <stdin>:1:5: 0-0.e1
json: error: <stdin>:1:5:     ^
0
command failed: json <<< 0-0.e1
$ json <<< 0-0.0e
json: error: <stdin>:1:7: lex error: invalid number literal
json: error: <stdin>:1:7: 0-0.0e
json: error: <stdin>:1:7:       ^
0
command failed: json <<< 0-0.0e
$ json <<< 0-0.0e0
json: error: <stdin>:1:2: parse error: multiple objects are not allowed
json: error: <stdin>:1:2: 0-0.0e0
json: error: <stdin>:1:2:  ^
0
command failed: json <<< 0-0.0e0
$ json <<< 0-0.0e1
json: error: <stdin>:1:2: parse error: multiple objects are not allowed
json: error: <stdin>:1:2: 0-0.0e1
json: error: <stdin>:1:2:  ^
0
command failed: json <<< 0-0.0e1
$ json <<< 0-0.1e
json: error: <stdin>:1:7: lex error: invalid number literal
json: error: <stdin>:1:7: 0-0.1e
json: error: <stdin>:1:7:       ^
0
command failed: json <<< 0-0.1e
$ json <<< 0-0.1e0
json: error: <stdin>:1:2: parse error: multiple objects are not allowed
json: error: <stdin>:1:2: 0-0.1e0
json: error: <stdin>:1:2:  ^
0
command failed: json <<< 0-0.1e0
$ json <<< 0-0.1e1
json: error: <stdin>:1:2: parse error: multiple objects are not allowed
json: error: <stdin>:1:2: 0-0.1e1
json: error: <stdin>:1:2:  ^
0
command failed: json <<< 0-0.1e1
$ json <<< 0-1.e
json: error: <stdin>:1:5: lex error: invalid number literal
json: error: <stdin>:1:5: 0-1.e
json: error: <stdin>:1:5:     ^
0
command failed: json <<< 0-1.e
$ json <<< 0-1.e0
json: error: <stdin>:1:5: lex error: invalid number literal
json: error: <stdin>:1:5: 0-1.e0
json: error: <stdin>:1:5:     ^
0
command failed: json <<< 0-1.e0
$ json <<< 0-1.e1
json: error: <stdin>:1:5: lex error: invalid number literal
json: error: <stdin>:1:5: 0-1.e1
json: error: <stdin>:1:5:     ^
0
command failed: json <<< 0-1.e1
$ json <<< 0-1.0e
json: error: <stdin>:1:7: lex error: invalid number literal
json: error: <stdin>:1:7: 0-1.0e
json: error: <stdin>:1:7:       ^
0
command failed: json <<< 0-1.0e
$ json <<< 0-1.0e0
json: error: <stdin>:1:2: parse error: multiple objects are not allowed
json: error: <stdin>:1:2: 0-1.0e0
json: error: <stdin>:1:2:  ^
0
command failed: json <<< 0-1.0e0
$ json <<< 0-1.0e1
json: error: <stdin>:1:2: parse error: multiple objects are not allowed
json: error: <stdin>:1:2: 0-1.0e1
json: error: <stdin>:1:2:  ^
0
command failed: json <<< 0-1.0e1
$ json <<< 0-1.1e
json: error: <stdin>:1:7: lex error: invalid number literal
json: error: <stdin>:1:7: 0-1.1e
json: error: <stdin>:1:7:       ^
0
command failed: json <<< 0-1.1e
$ json <<< 0-1.1e0
json: error: <stdin>:1:2: parse error: multiple objects are not allowed
json: error: <stdin>:1:2: 0-1.1e0
json: error: <stdin>:1:2:  ^
0
command failed: json <<< 0-1.1e0
$ json <<< 0-1.1e1
json: error: <stdin>:1:2: parse error: multiple objects are not allowed
json: error: <stdin>:1:2: 0-1.1e1
json: error: <stdin>:1:2:  ^
0
command failed: json <<< 0-1.1e1
$ json <<< 1-.e
json: error: <stdin>:1:3: lex error: invalid number literal
json: error: <stdin>:1:3: 1-.e
json: error: <stdin>:1:3:   ^
1
command failed: json <<< 1-.e
$ json <<< 1-.e0
json: error: <stdin>:1:3: lex error: invalid number literal
json: error: <stdin>:1:3: 1-.e0
json: error: <stdin>:1:3:   ^
1
command failed: json <<< 1-.e0
$ json <<< 1-.e1
json: error: <stdin>:1:3: lex error: invalid number literal
json: error: <stdin>:1:3: 1-.e1
json: error: <stdin>:1:3:   ^
1
command failed: json <<< 1-.e1
$ json <<< 1-.0e
json: error: <stdin>:1:3: lex error: invalid number literal
json: error: <stdin>:1:3: 1-.0e
json: error: <stdin>:1:3:   ^
1
command failed: json <<< 1-.0e
$ json <<< 1-.0e0
json: error: <stdin>:1:3: lex error: invalid number literal
json: error: <stdin>:1:3: 1-.0e0
json: error: <stdin>:1:3:   ^
1
command failed: json <<< 1-.0e0
$ json <<< 1-.0e1
json: error: <stdin>:1:3: lex error: invalid number literal
json: error: <stdin>:1:3: 1-.0e1
json: error: <stdin>:1:3:   ^
1
command failed: json <<< 1-.0e1
$ json <<< 1-.1e
json: error: <stdin>:1:3: lex error: invalid number literal
json: error: <stdin>:1:3: 1-.1e
json: error: <stdin>:1:3:   ^
1
command failed: json <<< 1-.1e
$ json <<< 1-.1e0
json: error: <stdin>:1:3: lex error: invalid number literal
json: error: <stdin>:1:3: 1-.1e0
json: error: <stdin>:1:3:   ^
1
command failed: json <<< 1-.1e0
$ json <<< 1-.1e1
json: error: <stdin>:1:3: lex error: invalid number literal
json: error: <stdin>:1:3: 1-.1e1
json: error: <stdin>:1:3:   ^
1
command failed: json <<< 1-.1e1
$ json <<< 1-0.e
json: error: <stdin>:1:5: lex error: invalid number literal
json: error: <stdin>:1:5: 1-0.e
json: error: <stdin>:1:5:     ^
1
command failed: json <<< 1-0.e
$ json <<< 1-0.e0
json: error: <stdin>:1:5: lex error: invalid number literal
json: error: <stdin>:1:5: 1-0.e0
json: error: <stdin>:1:5:     ^
1
command failed: json <<< 1-0.e0
$ json <<< 1-0.e1
json: error: <stdin>:1:5: lex error: invalid number literal
json: error: <stdin>:1:5: 1-0.e1
json: error: <stdin>:1:5:     ^
1
command failed: json <<< 1-0.e1
$ json <<< 1-0.0e
json: error: <stdin>:1:7: lex error: invalid number literal
json: error: <stdin>:1:7: 1-0.0e
json: error: <stdin>:1:7:       ^
1
command failed: json <<< 1-0.0e
$ json <<< 1-0.0e0
json: error: <stdin>:1:2: parse error: multiple objects are not allowed
json: error: <stdin>:1:2: 1-0.0e0
json: error: <stdin>:1:2:  ^
1
command failed: json <<< 1-0.0e0
$ json <<< 1-0.0e1
json: error: <stdin>:1:2: parse error: multiple objects are not allowed
json: error: <stdin>:1:2: 1-0.0e1
json: error: <stdin>:1:2:  ^
1
command failed: json <<< 1-0.0e1
$ json <<< 1-0.1e
json: error: <stdin>:1:7: lex error: invalid number literal
json: error: <stdin>:1:7: 1-0.1e
json: error: <stdin>:1:7:       ^
1
command failed: json <<< 1-0.1e
$ json <<< 1-0.1e0
json: error: <stdin>:1:2: parse error: multiple objects are not allowed
json: error: <stdin>:1:2: 1-0.1e0
json: error: <stdin>:1:2:  ^
1
command failed: json <<< 1-0.1e0
$ json <<< 1-0.1e1
json: error: <stdin>:1:2: parse error: multiple objects are not allowed
json: error: <stdin>:1:2: 1-0.1e1
json: error: <stdin>:1:2:  ^
1
command failed: json <<< 1-0.1e1
$ json <<< 1-1.e
json: error: <stdin>:1:5: lex error: invalid number literal
json: error: <stdin>:1:5: 1-1.e
json: error: <stdin>:1:5:     ^
1
command failed: json <<< 1-1.e
$ json <<< 1-1.e0
json: error: <stdin>:1:5: lex error: invalid number literal
json: error: <stdin>:1:5: 1-1.e0
json: error: <stdin>:1:5:     ^
1
command failed: json <<< 1-1.e0
$ json <<< 1-1.e1
json: error: <stdin>:1:5: lex error: invalid number literal
json: error: <stdin>:1:5: 1-1.e1
json: error: <stdin>:1:5:     ^
1
command failed: json <<< 1-1.e1
$ json <<< 1-1.0e
json: error: <stdin>:1:7: lex error: invalid number literal
json: error: <stdin>:1:7: 1-1.0e
json: error: <stdin>:1:7:       ^
1
command failed: json <<< 1-1.0e
$ json <<< 1-1.0e0
json: error: <stdin>:1:2: parse error: multiple objects are not allowed
json: error: <stdin>:1:2: 1-1.0e0
json: error: <stdin>:1:2:  ^
1
command failed: json <<< 1-1.0e0
$ json <<< 1-1.0e1
json: error: <stdin>:1:2: parse error: multiple objects are not allowed
json: error: <stdin>:1:2: 1-1.0e1
json: error: <stdin>:1:2:  ^
1
command failed: json <<< 1-1.0e1
$ json <<< 1-1.1e
json: error: <stdin>:1:7: lex error: invalid number literal
json: error: <stdin>:1:7: 1-1.1e
json: error: <stdin>:1:7:       ^
1
command failed: json <<< 1-1.1e
$ json <<< 1-1.1e0
json: error: <stdin>:1:2: parse error: multiple objects are not allowed
json: error: <stdin>:1:2: 1-1.1e0
json: error: <stdin>:1:2:  ^
1
command failed: json <<< 1-1.1e0
$ json <<< 1-1.1e1
json: error: <stdin>:1:2: parse error: multiple objects are not allowed
json: error: <stdin>:1:2: 1-1.1e1
json: error: <stdin>:1:2:  ^
1
command failed: json <<< 1-1.1e1
$

--[ number9 ]-------------------------------------------------------------------

$ json() { json0 --literal-value --multi-obj -b 8 "$@"; }
#
# # meta command:
# $ for a1 in '' 0 1 ; do for a2 in '' 0 1; do for a3 in '' 0 1; do for a4 in '' 0 1; do c="json <<< $a1-$a2.${a3}e$a4"; echo "$ $c"; eval "$c"; done; done; done; done
#
$ json <<< -.e
json: error: <stdin>:1:2: lex error: invalid number literal
json: error: <stdin>:1:2: -.e
json: error: <stdin>:1:2:  ^
command failed: json <<< -.e
$ json <<< -.e0
json: error: <stdin>:1:2: lex error: invalid number literal
json: error: <stdin>:1:2: -.e0
json: error: <stdin>:1:2:  ^
command failed: json <<< -.e0
$ json <<< -.e1
json: error: <stdin>:1:2: lex error: invalid number literal
json: error: <stdin>:1:2: -.e1
json: error: <stdin>:1:2:  ^
command failed: json <<< -.e1
$ json <<< -.0e
json: error: <stdin>:1:2: lex error: invalid number literal
json: error: <stdin>:1:2: -.0e
json: error: <stdin>:1:2:  ^
command failed: json <<< -.0e
$ json <<< -.0e0
json: error: <stdin>:1:2: lex error: invalid number literal
json: error: <stdin>:1:2: -.0e0
json: error: <stdin>:1:2:  ^
command failed: json <<< -.0e0
$ json <<< -.0e1
json: error: <stdin>:1:2: lex error: invalid number literal
json: error: <stdin>:1:2: -.0e1
json: error: <stdin>:1:2:  ^
command failed: json <<< -.0e1
$ json <<< -.1e
json: error: <stdin>:1:2: lex error: invalid number literal
json: error: <stdin>:1:2: -.1e
json: error: <stdin>:1:2:  ^
command failed: json <<< -.1e
$ json <<< -.1e0
json: error: <stdin>:1:2: lex error: invalid number literal
json: error: <stdin>:1:2: -.1e0
json: error: <stdin>:1:2:  ^
command failed: json <<< -.1e0
$ json <<< -.1e1
json: error: <stdin>:1:2: lex error: invalid number literal
json: error: <stdin>:1:2: -.1e1
json: error: <stdin>:1:2:  ^
command failed: json <<< -.1e1
$ json <<< -0.e
json: error: <stdin>:1:4: lex error: invalid number literal
json: error: <stdin>:1:4: -0.e
json: error: <stdin>:1:4:    ^
command failed: json <<< -0.e
$ json <<< -0.e0
json: error: <stdin>:1:4: lex error: invalid number literal
json: error: <stdin>:1:4: -0.e0
json: error: <stdin>:1:4:    ^
command failed: json <<< -0.e0
$ json <<< -0.e1
json: error: <stdin>:1:4: lex error: invalid number literal
json: error: <stdin>:1:4: -0.e1
json: error: <stdin>:1:4:    ^
command failed: json <<< -0.e1
$ json <<< -0.0e
json: error: <stdin>:1:6: lex error: invalid number literal
json: error: <stdin>:1:6: -0.0e
json: error: <stdin>:1:6:      ^
command failed: json <<< -0.0e
$ json <<< -0.0e0
-0.0e0
$ json <<< -0.0e1
-0.0e1
$ json <<< -0.1e
json: error: <stdin>:1:6: lex error: invalid number literal
json: error: <stdin>:1:6: -0.1e
json: error: <stdin>:1:6:      ^
command failed: json <<< -0.1e
$ json <<< -0.1e0
-0.1e0
$ json <<< -0.1e1
-0.1e1
$ json <<< -1.e
json: error: <stdin>:1:4: lex error: invalid number literal
json: error: <stdin>:1:4: -1.e
json: error: <stdin>:1:4:    ^
command failed: json <<< -1.e
$ json <<< -1.e0
json: error: <stdin>:1:4: lex error: invalid number literal
json: error: <stdin>:1:4: -1.e0
json: error: <stdin>:1:4:    ^
command failed: json <<< -1.e0
$ json <<< -1.e1
json: error: <stdin>:1:4: lex error: invalid number literal
json: error: <stdin>:1:4: -1.e1
json: error: <stdin>:1:4:    ^
command failed: json <<< -1.e1
$ json <<< -1.0e
json: error: <stdin>:1:6: lex error: invalid number literal
json: error: <stdin>:1:6: -1.0e
json: error: <stdin>:1:6:      ^
command failed: json <<< -1.0e
$ json <<< -1.0e0
-1.0e0
$ json <<< -1.0e1
-1.0e1
$ json <<< -1.1e
json: error: <stdin>:1:6: lex error: invalid number literal
json: error: <stdin>:1:6: -1.1e
json: error: <stdin>:1:6:      ^
command failed: json <<< -1.1e
$ json <<< -1.1e0
-1.1e0
$ json <<< -1.1e1
-1.1e1
$ json <<< 0-.e
json: error: <stdin>:1:3: lex error: invalid number literal
json: error: <stdin>:1:3: 0-.e
json: error: <stdin>:1:3:   ^
0
command failed: json <<< 0-.e
$ json <<< 0-.e0
json: error: <stdin>:1:3: lex error: invalid number literal
json: error: <stdin>:1:3: 0-.e0
json: error: <stdin>:1:3:   ^
0
command failed: json <<< 0-.e0
$ json <<< 0-.e1
json: error: <stdin>:1:3: lex error: invalid number literal
json: error: <stdin>:1:3: 0-.e1
json: error: <stdin>:1:3:   ^
0
command failed: json <<< 0-.e1
$ json <<< 0-.0e
json: error: <stdin>:1:3: lex error: invalid number literal
json: error: <stdin>:1:3: 0-.0e
json: error: <stdin>:1:3:   ^
0
command failed: json <<< 0-.0e
$ json <<< 0-.0e0
json: error: <stdin>:1:3: lex error: invalid number literal
json: error: <stdin>:1:3: 0-.0e0
json: error: <stdin>:1:3:   ^
0
command failed: json <<< 0-.0e0
$ json <<< 0-.0e1
json: error: <stdin>:1:3: lex error: invalid number literal
json: error: <stdin>:1:3: 0-.0e1
json: error: <stdin>:1:3:   ^
0
command failed: json <<< 0-.0e1
$ json <<< 0-.1e
json: error: <stdin>:1:3: lex error: invalid number literal
json: error: <stdin>:1:3: 0-.1e
json: error: <stdin>:1:3:   ^
0
command failed: json <<< 0-.1e
$ json <<< 0-.1e0
json: error: <stdin>:1:3: lex error: invalid number literal
json: error: <stdin>:1:3: 0-.1e0
json: error: <stdin>:1:3:   ^
0
command failed: json <<< 0-.1e0
$ json <<< 0-.1e1
json: error: <stdin>:1:3: lex error: invalid number literal
json: error: <stdin>:1:3: 0-.1e1
json: error: <stdin>:1:3:   ^
0
command failed: json <<< 0-.1e1
$ json <<< 0-0.e
json: error: <stdin>:1:5: lex error: invalid number literal
json: error: <stdin>:1:5: 0-0.e
json: error: <stdin>:1:5:     ^
0
command failed: json <<< 0-0.e
$ json <<< 0-0.e0
json: error: <stdin>:1:5: lex error: invalid number literal
json: error: <stdin>:1:5: 0-0.e0
json: error: <stdin>:1:5:     ^
0
command failed: json <<< 0-0.e0
$ json <<< 0-0.e1
json: error: <stdin>:1:5: lex error: invalid number literal
json: error: <stdin>:1:5: 0-0.e1
json: error: <stdin>:1:5:     ^
0
command failed: json <<< 0-0.e1
$ json <<< 0-0.0e
json: error: <stdin>:1:7: lex error: invalid number literal
json: error: <stdin>:1:7: 0-0.0e
json: error: <stdin>:1:7:       ^
0
command failed: json <<< 0-0.0e
$ json <<< 0-0.0e0
0
-0.0e0
$ json <<< 0-0.0e1
0
-0.0e1
$ json <<< 0-0.1e
json: error: <stdin>:1:7: lex error: invalid number literal
json: error: <stdin>:1:7: 0-0.1e
json: error: <stdin>:1:7:       ^
0
command failed: json <<< 0-0.1e
$ json <<< 0-0.1e0
0
-0.1e0
$ json <<< 0-0.1e1
0
-0.1e1
$ json <<< 0-1.e
json: error: <stdin>:1:5: lex error: invalid number literal
json: error: <stdin>:1:5: 0-1.e
json: error: <stdin>:1:5:     ^
0
command failed: json <<< 0-1.e
$ json <<< 0-1.e0
json: error: <stdin>:1:5: lex error: invalid number literal
json: error: <stdin>:1:5: 0-1.e0
json: error: <stdin>:1:5:     ^
0
command failed: json <<< 0-1.e0
$ json <<< 0-1.e1
json: error: <stdin>:1:5: lex error: invalid number literal
json: error: <stdin>:1:5: 0-1.e1
json: error: <stdin>:1:5:     ^
0
command failed: json <<< 0-1.e1
$ json <<< 0-1.0e
json: error: <stdin>:1:7: lex error: invalid number literal
json: error: <stdin>:1:7: 0-1.0e
json: error: <stdin>:1:7:       ^
0
command failed: json <<< 0-1.0e
$ json <<< 0-1.0e0
0
-1.0e0
$ json <<< 0-1.0e1
0
-1.0e1
$ json <<< 0-1.1e
json: error: <stdin>:1:7: lex error: invalid number literal
json: error: <stdin>:1:7: 0-1.1e
json: error: <stdin>:1:7:       ^
0
command failed: json <<< 0-1.1e
$ json <<< 0-1.1e0
0
-1.1e0
$ json <<< 0-1.1e1
0
-1.1e1
$ json <<< 1-.e
json: error: <stdin>:1:3: lex error: invalid number literal
json: error: <stdin>:1:3: 1-.e
json: error: <stdin>:1:3:   ^
1
command failed: json <<< 1-.e
$ json <<< 1-.e0
json: error: <stdin>:1:3: lex error: invalid number literal
json: error: <stdin>:1:3: 1-.e0
json: error: <stdin>:1:3:   ^
1
command failed: json <<< 1-.e0
$ json <<< 1-.e1
json: error: <stdin>:1:3: lex error: invalid number literal
json: error: <stdin>:1:3: 1-.e1
json: error: <stdin>:1:3:   ^
1
command failed: json <<< 1-.e1
$ json <<< 1-.0e
json: error: <stdin>:1:3: lex error: invalid number literal
json: error: <stdin>:1:3: 1-.0e
json: error: <stdin>:1:3:   ^
1
command failed: json <<< 1-.0e
$ json <<< 1-.0e0
json: error: <stdin>:1:3: lex error: invalid number literal
json: error: <stdin>:1:3: 1-.0e0
json: error: <stdin>:1:3:   ^
1
command failed: json <<< 1-.0e0
$ json <<< 1-.0e1
json: error: <stdin>:1:3: lex error: invalid number literal
json: error: <stdin>:1:3: 1-.0e1
json: error: <stdin>:1:3:   ^
1
command failed: json <<< 1-.0e1
$ json <<< 1-.1e
json: error: <stdin>:1:3: lex error: invalid number literal
json: error: <stdin>:1:3: 1-.1e
json: error: <stdin>:1:3:   ^
1
command failed: json <<< 1-.1e
$ json <<< 1-.1e0
json: error: <stdin>:1:3: lex error: invalid number literal
json: error: <stdin>:1:3: 1-.1e0
json: error: <stdin>:1:3:   ^
1
command failed: json <<< 1-.1e0
$ json <<< 1-.1e1
json: error: <stdin>:1:3: lex error: invalid number literal
json: error: <stdin>:1:3: 1-.1e1
json: error: <stdin>:1:3:   ^
1
command failed: json <<< 1-.1e1
$ json <<< 1-0.e
json: error: <stdin>:1:5: lex error: invalid number literal
json: error: <stdin>:1:5: 1-0.e
json: error: <stdin>:1:5:     ^
1
command failed: json <<< 1-0.e
$ json <<< 1-0.e0
json: error: <stdin>:1:5: lex error: invalid number literal
json: error: <stdin>:1:5: 1-0.e0
json: error: <stdin>:1:5:     ^
1
command failed: json <<< 1-0.e0
$ json <<< 1-0.e1
json: error: <stdin>:1:5: lex error: invalid number literal
json: error: <stdin>:1:5: 1-0.e1
json: error: <stdin>:1:5:     ^
1
command failed: json <<< 1-0.e1
$ json <<< 1-0.0e
json: error: <stdin>:1:7: lex error: invalid number literal
json: error: <stdin>:1:7: 1-0.0e
json: error: <stdin>:1:7:       ^
1
command failed: json <<< 1-0.0e
$ json <<< 1-0.0e0
1
-0.0e0
$ json <<< 1-0.0e1
1
-0.0e1
$ json <<< 1-0.1e
json: error: <stdin>:1:7: lex error: invalid number literal
json: error: <stdin>:1:7: 1-0.1e
json: error: <stdin>:1:7:       ^
1
command failed: json <<< 1-0.1e
$ json <<< 1-0.1e0
1
-0.1e0
$ json <<< 1-0.1e1
1
-0.1e1
$ json <<< 1-1.e
json: error: <stdin>:1:5: lex error: invalid number literal
json: error: <stdin>:1:5: 1-1.e
json: error: <stdin>:1:5:     ^
1
command failed: json <<< 1-1.e
$ json <<< 1-1.e0
json: error: <stdin>:1:5: lex error: invalid number literal
json: error: <stdin>:1:5: 1-1.e0
json: error: <stdin>:1:5:     ^
1
command failed: json <<< 1-1.e0
$ json <<< 1-1.e1
json: error: <stdin>:1:5: lex error: invalid number literal
json: error: <stdin>:1:5: 1-1.e1
json: error: <stdin>:1:5:     ^
1
command failed: json <<< 1-1.e1
$ json <<< 1-1.0e
json: error: <stdin>:1:7: lex error: invalid number literal
json: error: <stdin>:1:7: 1-1.0e
json: error: <stdin>:1:7:       ^
1
command failed: json <<< 1-1.0e
$ json <<< 1-1.0e0
1
-1.0e0
$ json <<< 1-1.0e1
1
-1.0e1
$ json <<< 1-1.1e
json: error: <stdin>:1:7: lex error: invalid number literal
json: error: <stdin>:1:7: 1-1.1e
json: error: <stdin>:1:7:       ^
1
command failed: json <<< 1-1.1e
$ json <<< 1-1.1e0
1
-1.1e0
$ json <<< 1-1.1e1
1
-1.1e1
$

--[ number10 ]------------------------------------------------------------------

$ json() { json0 --literal-value "$@"; }
$ json <<< 1.1.1
json: error: <stdin>:1:4: lex error: invalid char
json: error: <stdin>:1:4: 1.1.1
json: error: <stdin>:1:4:    ^
1.1
command failed: json <<< 1.1.1
$ json <<< 1.1e1e1
json: error: <stdin>:1:6: lex error: invalid char
json: error: <stdin>:1:6: 1.1e1e1
json: error: <stdin>:1:6:      ^
1.1e1
command failed: json <<< 1.1e1e1
$

--[ number11 ]------------------------------------------------------------------

$ json() { json0 --literal-value "$@"; }
$ echo -n 0|json -b 1
0
$ echo -n 0|json -b 2
0
#
# # meta command:
# $ for p in - ''; do for v in 123e456 123e-456 123e+456 123.456e789 123.456e-789 123.456e+789; do v="$p$v"; n=`echo -n $v|wc -c`; for((k=1;k<=n;k++)); do echo "${v:0:$k}"; done; done; done|sort -u|while read w; do m=`echo -n $w|wc -c`; for((b=1;b<=m+1;b++));do c="echo -n $w|json -b $b"; echo "$ $c"; eval "$c"; done; done
#
$ echo -n -|json -b 1
json: error: <stdin>:1:2: lex error: invalid number literal
json: error: <stdin>:1:2: -
json: error: <stdin>:1:2:  ^
command failed: echo -n -|json -b 1
$ echo -n -|json -b 2
json: error: <stdin>:1:2: lex error: invalid number literal
json: error: <stdin>:1:2: -
json: error: <stdin>:1:2:  ^
command failed: echo -n -|json -b 2
$ echo -n -1|json -b 1
-1
$ echo -n -1|json -b 2
-1
$ echo -n -1|json -b 3
-1
$ echo -n -12|json -b 1
-12
$ echo -n -12|json -b 2
-12
$ echo -n -12|json -b 3
-12
$ echo -n -12|json -b 4
-12
$ echo -n -123|json -b 1
-123
$ echo -n -123|json -b 2
-123
$ echo -n -123|json -b 3
-123
$ echo -n -123|json -b 4
-123
$ echo -n -123|json -b 5
-123
$ echo -n -123.|json -b 1
json: error: <stdin>:1:6: lex error: invalid number literal
json: error: <stdin>:1:6: -123.
json: error: <stdin>:1:6:      ^
command failed: echo -n -123.|json -b 1
$ echo -n -123.|json -b 2
json: error: <stdin>:1:6: lex error: invalid number literal
json: error: <stdin>:1:6: -123.
json: error: <stdin>:1:6:      ^
command failed: echo -n -123.|json -b 2
$ echo -n -123.|json -b 3
json: error: <stdin>:1:6: lex error: invalid number literal
json: error: <stdin>:1:6: -123.
json: error: <stdin>:1:6:      ^
command failed: echo -n -123.|json -b 3
$ echo -n -123.|json -b 4
json: error: <stdin>:1:6: lex error: invalid number literal
json: error: <stdin>:1:6: -123.
json: error: <stdin>:1:6:      ^
command failed: echo -n -123.|json -b 4
$ echo -n -123.|json -b 5
json: error: <stdin>:1:6: lex error: invalid number literal
json: error: <stdin>:1:6: -123.
json: error: <stdin>:1:6:      ^
command failed: echo -n -123.|json -b 5
$ echo -n -123.|json -b 6
json: error: <stdin>:1:6: lex error: invalid number literal
json: error: <stdin>:1:6: -123.
json: error: <stdin>:1:6:      ^
command failed: echo -n -123.|json -b 6
$ echo -n -123.4|json -b 1
-123.4
$ echo -n -123.4|json -b 2
-123.4
$ echo -n -123.4|json -b 3
-123.4
$ echo -n -123.4|json -b 4
-123.4
$ echo -n -123.4|json -b 5
-123.4
$ echo -n -123.4|json -b 6
-123.4
$ echo -n -123.4|json -b 7
-123.4
$ echo -n -123.45|json -b 1
-123.45
$ echo -n -123.45|json -b 2
-123.45
$ echo -n -123.45|json -b 3
-123.45
$ echo -n -123.45|json -b 4
-123.45
$ echo -n -123.45|json -b 5
-123.45
$ echo -n -123.45|json -b 6
-123.45
$ echo -n -123.45|json -b 7
-123.45
$ echo -n -123.45|json -b 8
-123.45
$ echo -n -123.456|json -b 1
-123.456
$ echo -n -123.456|json -b 2
-123.456
$ echo -n -123.456|json -b 3
-123.456
$ echo -n -123.456|json -b 4
-123.456
$ echo -n -123.456|json -b 5
-123.456
$ echo -n -123.456|json -b 6
-123.456
$ echo -n -123.456|json -b 7
-123.456
$ echo -n -123.456|json -b 8
-123.456
$ echo -n -123.456|json -b 9
-123.456
$ echo -n -123.456e|json -b 1
json: error: <stdin>:1:10: lex error: invalid number literal
json: error: <stdin>:1:10: -123.456e
json: error: <stdin>:1:10:          ^
command failed: echo -n -123.456e|json -b 1
$ echo -n -123.456e|json -b 2
json: error: <stdin>:1:10: lex error: invalid number literal
json: error: <stdin>:1:10: -123.456e
json: error: <stdin>:1:10:          ^
command failed: echo -n -123.456e|json -b 2
$ echo -n -123.456e|json -b 3
json: error: <stdin>:1:10: lex error: invalid number literal
json: error: <stdin>:1:10: -123.456e
json: error: <stdin>:1:10:          ^
command failed: echo -n -123.456e|json -b 3
$ echo -n -123.456e|json -b 4
json: error: <stdin>:1:10: lex error: invalid number literal
json: error: <stdin>:1:10: -123.456e
json: error: <stdin>:1:10:          ^
command failed: echo -n -123.456e|json -b 4
$ echo -n -123.456e|json -b 5
json: error: <stdin>:1:10: lex error: invalid number literal
json: error: <stdin>:1:10: -123.456e
json: error: <stdin>:1:10:          ^
command failed: echo -n -123.456e|json -b 5
$ echo -n -123.456e|json -b 6
json: error: <stdin>:1:10: lex error: invalid number literal
json: error: <stdin>:1:10: -123.456e
json: error: <stdin>:1:10:          ^
command failed: echo -n -123.456e|json -b 6
$ echo -n -123.456e|json -b 7
json: error: <stdin>:1:10: lex error: invalid number literal
json: error: <stdin>:1:10: -123.456e
json: error: <stdin>:1:10:          ^
command failed: echo -n -123.456e|json -b 7
$ echo -n -123.456e|json -b 8
json: error: <stdin>:1:10: lex error: invalid number literal
json: error: <stdin>:1:10: -123.456e
json: error: <stdin>:1:10:          ^
command failed: echo -n -123.456e|json -b 8
$ echo -n -123.456e|json -b 9
json: error: <stdin>:1:10: lex error: invalid number literal
json: error: <stdin>:1:10: -123.456e
json: error: <stdin>:1:10:          ^
command failed: echo -n -123.456e|json -b 9
$ echo -n -123.456e|json -b 10
json: error: <stdin>:1:10: lex error: invalid number literal
json: error: <stdin>:1:10: -123.456e
json: error: <stdin>:1:10:          ^
command failed: echo -n -123.456e|json -b 10
$ echo -n -123.456e+|json -b 1
json: error: <stdin>:1:11: lex error: invalid number literal
json: error: <stdin>:1:11: -123.456e+
json: error: <stdin>:1:11:           ^
command failed: echo -n -123.456e+|json -b 1
$ echo -n -123.456e+|json -b 2
json: error: <stdin>:1:11: lex error: invalid number literal
json: error: <stdin>:1:11: -123.456e+
json: error: <stdin>:1:11:           ^
command failed: echo -n -123.456e+|json -b 2
$ echo -n -123.456e+|json -b 3
json: error: <stdin>:1:11: lex error: invalid number literal
json: error: <stdin>:1:11: -123.456e+
json: error: <stdin>:1:11:           ^
command failed: echo -n -123.456e+|json -b 3
$ echo -n -123.456e+|json -b 4
json: error: <stdin>:1:11: lex error: invalid number literal
json: error: <stdin>:1:11: -123.456e+
json: error: <stdin>:1:11:           ^
command failed: echo -n -123.456e+|json -b 4
$ echo -n -123.456e+|json -b 5
json: error: <stdin>:1:11: lex error: invalid number literal
json: error: <stdin>:1:11: -123.456e+
json: error: <stdin>:1:11:           ^
command failed: echo -n -123.456e+|json -b 5
$ echo -n -123.456e+|json -b 6
json: error: <stdin>:1:11: lex error: invalid number literal
json: error: <stdin>:1:11: -123.456e+
json: error: <stdin>:1:11:           ^
command failed: echo -n -123.456e+|json -b 6
$ echo -n -123.456e+|json -b 7
json: error: <stdin>:1:11: lex error: invalid number literal
json: error: <stdin>:1:11: -123.456e+
json: error: <stdin>:1:11:           ^
command failed: echo -n -123.456e+|json -b 7
$ echo -n -123.456e+|json -b 8
json: error: <stdin>:1:11: lex error: invalid number literal
json: error: <stdin>:1:11: -123.456e+
json: error: <stdin>:1:11:           ^
command failed: echo -n -123.456e+|json -b 8
$ echo -n -123.456e+|json -b 9
json: error: <stdin>:1:11: lex error: invalid number literal
json: error: <stdin>:1:11: -123.456e+
json: error: <stdin>:1:11:           ^
command failed: echo -n -123.456e+|json -b 9
$ echo -n -123.456e+|json -b 10
json: error: <stdin>:1:11: lex error: invalid number literal
json: error: <stdin>:1:11: -123.456e+
json: error: <stdin>:1:11:           ^
command failed: echo -n -123.456e+|json -b 10
$ echo -n -123.456e+|json -b 11
json: error: <stdin>:1:11: lex error: invalid number literal
json: error: <stdin>:1:11: -123.456e+
json: error: <stdin>:1:11:           ^
command failed: echo -n -123.456e+|json -b 11
$ echo -n -123.456e+7|json -b 1
-123.456e+7
$ echo -n -123.456e+7|json -b 2
-123.456e+7
$ echo -n -123.456e+7|json -b 3
-123.456e+7
$ echo -n -123.456e+7|json -b 4
-123.456e+7
$ echo -n -123.456e+7|json -b 5
-123.456e+7
$ echo -n -123.456e+7|json -b 6
-123.456e+7
$ echo -n -123.456e+7|json -b 7
-123.456e+7
$ echo -n -123.456e+7|json -b 8
-123.456e+7
$ echo -n -123.456e+7|json -b 9
-123.456e+7
$ echo -n -123.456e+7|json -b 10
-123.456e+7
$ echo -n -123.456e+7|json -b 11
-123.456e+7
$ echo -n -123.456e+7|json -b 12
-123.456e+7
$ echo -n -123.456e+78|json -b 1
-123.456e+78
$ echo -n -123.456e+78|json -b 2
-123.456e+78
$ echo -n -123.456e+78|json -b 3
-123.456e+78
$ echo -n -123.456e+78|json -b 4
-123.456e+78
$ echo -n -123.456e+78|json -b 5
-123.456e+78
$ echo -n -123.456e+78|json -b 6
-123.456e+78
$ echo -n -123.456e+78|json -b 7
-123.456e+78
$ echo -n -123.456e+78|json -b 8
-123.456e+78
$ echo -n -123.456e+78|json -b 9
-123.456e+78
$ echo -n -123.456e+78|json -b 10
-123.456e+78
$ echo -n -123.456e+78|json -b 11
-123.456e+78
$ echo -n -123.456e+78|json -b 12
-123.456e+78
$ echo -n -123.456e+78|json -b 13
-123.456e+78
$ echo -n -123.456e+789|json -b 1
-123.456e+789
$ echo -n -123.456e+789|json -b 2
-123.456e+789
$ echo -n -123.456e+789|json -b 3
-123.456e+789
$ echo -n -123.456e+789|json -b 4
-123.456e+789
$ echo -n -123.456e+789|json -b 5
-123.456e+789
$ echo -n -123.456e+789|json -b 6
-123.456e+789
$ echo -n -123.456e+789|json -b 7
-123.456e+789
$ echo -n -123.456e+789|json -b 8
-123.456e+789
$ echo -n -123.456e+789|json -b 9
-123.456e+789
$ echo -n -123.456e+789|json -b 10
-123.456e+789
$ echo -n -123.456e+789|json -b 11
-123.456e+789
$ echo -n -123.456e+789|json -b 12
-123.456e+789
$ echo -n -123.456e+789|json -b 13
-123.456e+789
$ echo -n -123.456e+789|json -b 14
-123.456e+789
$ echo -n -123.456e-|json -b 1
json: error: <stdin>:1:11: lex error: invalid number literal
json: error: <stdin>:1:11: -123.456e-
json: error: <stdin>:1:11:           ^
command failed: echo -n -123.456e-|json -b 1
$ echo -n -123.456e-|json -b 2
json: error: <stdin>:1:11: lex error: invalid number literal
json: error: <stdin>:1:11: -123.456e-
json: error: <stdin>:1:11:           ^
command failed: echo -n -123.456e-|json -b 2
$ echo -n -123.456e-|json -b 3
json: error: <stdin>:1:11: lex error: invalid number literal
json: error: <stdin>:1:11: -123.456e-
json: error: <stdin>:1:11:           ^
command failed: echo -n -123.456e-|json -b 3
$ echo -n -123.456e-|json -b 4
json: error: <stdin>:1:11: lex error: invalid number literal
json: error: <stdin>:1:11: -123.456e-
json: error: <stdin>:1:11:           ^
command failed: echo -n -123.456e-|json -b 4
$ echo -n -123.456e-|json -b 5
json: error: <stdin>:1:11: lex error: invalid number literal
json: error: <stdin>:1:11: -123.456e-
json: error: <stdin>:1:11:           ^
command failed: echo -n -123.456e-|json -b 5
$ echo -n -123.456e-|json -b 6
json: error: <stdin>:1:11: lex error: invalid number literal
json: error: <stdin>:1:11: -123.456e-
json: error: <stdin>:1:11:           ^
command failed: echo -n -123.456e-|json -b 6
$ echo -n -123.456e-|json -b 7
json: error: <stdin>:1:11: lex error: invalid number literal
json: error: <stdin>:1:11: -123.456e-
json: error: <stdin>:1:11:           ^
command failed: echo -n -123.456e-|json -b 7
$ echo -n -123.456e-|json -b 8
json: error: <stdin>:1:11: lex error: invalid number literal
json: error: <stdin>:1:11: -123.456e-
json: error: <stdin>:1:11:           ^
command failed: echo -n -123.456e-|json -b 8
$ echo -n -123.456e-|json -b 9
json: error: <stdin>:1:11: lex error: invalid number literal
json: error: <stdin>:1:11: -123.456e-
json: error: <stdin>:1:11:           ^
command failed: echo -n -123.456e-|json -b 9
$ echo -n -123.456e-|json -b 10
json: error: <stdin>:1:11: lex error: invalid number literal
json: error: <stdin>:1:11: -123.456e-
json: error: <stdin>:1:11:           ^
command failed: echo -n -123.456e-|json -b 10
$ echo -n -123.456e-|json -b 11
json: error: <stdin>:1:11: lex error: invalid number literal
json: error: <stdin>:1:11: -123.456e-
json: error: <stdin>:1:11:           ^
command failed: echo -n -123.456e-|json -b 11
$ echo -n -123.456e-7|json -b 1
-123.456e-7
$ echo -n -123.456e-7|json -b 2
-123.456e-7
$ echo -n -123.456e-7|json -b 3
-123.456e-7
$ echo -n -123.456e-7|json -b 4
-123.456e-7
$ echo -n -123.456e-7|json -b 5
-123.456e-7
$ echo -n -123.456e-7|json -b 6
-123.456e-7
$ echo -n -123.456e-7|json -b 7
-123.456e-7
$ echo -n -123.456e-7|json -b 8
-123.456e-7
$ echo -n -123.456e-7|json -b 9
-123.456e-7
$ echo -n -123.456e-7|json -b 10
-123.456e-7
$ echo -n -123.456e-7|json -b 11
-123.456e-7
$ echo -n -123.456e-7|json -b 12
-123.456e-7
$ echo -n -123.456e-78|json -b 1
-123.456e-78
$ echo -n -123.456e-78|json -b 2
-123.456e-78
$ echo -n -123.456e-78|json -b 3
-123.456e-78
$ echo -n -123.456e-78|json -b 4
-123.456e-78
$ echo -n -123.456e-78|json -b 5
-123.456e-78
$ echo -n -123.456e-78|json -b 6
-123.456e-78
$ echo -n -123.456e-78|json -b 7
-123.456e-78
$ echo -n -123.456e-78|json -b 8
-123.456e-78
$ echo -n -123.456e-78|json -b 9
-123.456e-78
$ echo -n -123.456e-78|json -b 10
-123.456e-78
$ echo -n -123.456e-78|json -b 11
-123.456e-78
$ echo -n -123.456e-78|json -b 12
-123.456e-78
$ echo -n -123.456e-78|json -b 13
-123.456e-78
$ echo -n -123.456e-789|json -b 1
-123.456e-789
$ echo -n -123.456e-789|json -b 2
-123.456e-789
$ echo -n -123.456e-789|json -b 3
-123.456e-789
$ echo -n -123.456e-789|json -b 4
-123.456e-789
$ echo -n -123.456e-789|json -b 5
-123.456e-789
$ echo -n -123.456e-789|json -b 6
-123.456e-789
$ echo -n -123.456e-789|json -b 7
-123.456e-789
$ echo -n -123.456e-789|json -b 8
-123.456e-789
$ echo -n -123.456e-789|json -b 9
-123.456e-789
$ echo -n -123.456e-789|json -b 10
-123.456e-789
$ echo -n -123.456e-789|json -b 11
-123.456e-789
$ echo -n -123.456e-789|json -b 12
-123.456e-789
$ echo -n -123.456e-789|json -b 13
-123.456e-789
$ echo -n -123.456e-789|json -b 14
-123.456e-789
$ echo -n -123.456e7|json -b 1
-123.456e7
$ echo -n -123.456e7|json -b 2
-123.456e7
$ echo -n -123.456e7|json -b 3
-123.456e7
$ echo -n -123.456e7|json -b 4
-123.456e7
$ echo -n -123.456e7|json -b 5
-123.456e7
$ echo -n -123.456e7|json -b 6
-123.456e7
$ echo -n -123.456e7|json -b 7
-123.456e7
$ echo -n -123.456e7|json -b 8
-123.456e7
$ echo -n -123.456e7|json -b 9
-123.456e7
$ echo -n -123.456e7|json -b 10
-123.456e7
$ echo -n -123.456e7|json -b 11
-123.456e7
$ echo -n -123.456e78|json -b 1
-123.456e78
$ echo -n -123.456e78|json -b 2
-123.456e78
$ echo -n -123.456e78|json -b 3
-123.456e78
$ echo -n -123.456e78|json -b 4
-123.456e78
$ echo -n -123.456e78|json -b 5
-123.456e78
$ echo -n -123.456e78|json -b 6
-123.456e78
$ echo -n -123.456e78|json -b 7
-123.456e78
$ echo -n -123.456e78|json -b 8
-123.456e78
$ echo -n -123.456e78|json -b 9
-123.456e78
$ echo -n -123.456e78|json -b 10
-123.456e78
$ echo -n -123.456e78|json -b 11
-123.456e78
$ echo -n -123.456e78|json -b 12
-123.456e78
$ echo -n -123.456e789|json -b 1
-123.456e789
$ echo -n -123.456e789|json -b 2
-123.456e789
$ echo -n -123.456e789|json -b 3
-123.456e789
$ echo -n -123.456e789|json -b 4
-123.456e789
$ echo -n -123.456e789|json -b 5
-123.456e789
$ echo -n -123.456e789|json -b 6
-123.456e789
$ echo -n -123.456e789|json -b 7
-123.456e789
$ echo -n -123.456e789|json -b 8
-123.456e789
$ echo -n -123.456e789|json -b 9
-123.456e789
$ echo -n -123.456e789|json -b 10
-123.456e789
$ echo -n -123.456e789|json -b 11
-123.456e789
$ echo -n -123.456e789|json -b 12
-123.456e789
$ echo -n -123.456e789|json -b 13
-123.456e789
$ echo -n -123e|json -b 1
json: error: <stdin>:1:6: lex error: invalid number literal
json: error: <stdin>:1:6: -123e
json: error: <stdin>:1:6:      ^
command failed: echo -n -123e|json -b 1
$ echo -n -123e|json -b 2
json: error: <stdin>:1:6: lex error: invalid number literal
json: error: <stdin>:1:6: -123e
json: error: <stdin>:1:6:      ^
command failed: echo -n -123e|json -b 2
$ echo -n -123e|json -b 3
json: error: <stdin>:1:6: lex error: invalid number literal
json: error: <stdin>:1:6: -123e
json: error: <stdin>:1:6:      ^
command failed: echo -n -123e|json -b 3
$ echo -n -123e|json -b 4
json: error: <stdin>:1:6: lex error: invalid number literal
json: error: <stdin>:1:6: -123e
json: error: <stdin>:1:6:      ^
command failed: echo -n -123e|json -b 4
$ echo -n -123e|json -b 5
json: error: <stdin>:1:6: lex error: invalid number literal
json: error: <stdin>:1:6: -123e
json: error: <stdin>:1:6:      ^
command failed: echo -n -123e|json -b 5
$ echo -n -123e|json -b 6
json: error: <stdin>:1:6: lex error: invalid number literal
json: error: <stdin>:1:6: -123e
json: error: <stdin>:1:6:      ^
command failed: echo -n -123e|json -b 6
$ echo -n -123e+|json -b 1
json: error: <stdin>:1:7: lex error: invalid number literal
json: error: <stdin>:1:7: -123e+
json: error: <stdin>:1:7:       ^
command failed: echo -n -123e+|json -b 1
$ echo -n -123e+|json -b 2
json: error: <stdin>:1:7: lex error: invalid number literal
json: error: <stdin>:1:7: -123e+
json: error: <stdin>:1:7:       ^
command failed: echo -n -123e+|json -b 2
$ echo -n -123e+|json -b 3
json: error: <stdin>:1:7: lex error: invalid number literal
json: error: <stdin>:1:7: -123e+
json: error: <stdin>:1:7:       ^
command failed: echo -n -123e+|json -b 3
$ echo -n -123e+|json -b 4
json: error: <stdin>:1:7: lex error: invalid number literal
json: error: <stdin>:1:7: -123e+
json: error: <stdin>:1:7:       ^
command failed: echo -n -123e+|json -b 4
$ echo -n -123e+|json -b 5
json: error: <stdin>:1:7: lex error: invalid number literal
json: error: <stdin>:1:7: -123e+
json: error: <stdin>:1:7:       ^
command failed: echo -n -123e+|json -b 5
$ echo -n -123e+|json -b 6
json: error: <stdin>:1:7: lex error: invalid number literal
json: error: <stdin>:1:7: -123e+
json: error: <stdin>:1:7:       ^
command failed: echo -n -123e+|json -b 6
$ echo -n -123e+|json -b 7
json: error: <stdin>:1:7: lex error: invalid number literal
json: error: <stdin>:1:7: -123e+
json: error: <stdin>:1:7:       ^
command failed: echo -n -123e+|json -b 7
$ echo -n -123e+4|json -b 1
-123e+4
$ echo -n -123e+4|json -b 2
-123e+4
$ echo -n -123e+4|json -b 3
-123e+4
$ echo -n -123e+4|json -b 4
-123e+4
$ echo -n -123e+4|json -b 5
-123e+4
$ echo -n -123e+4|json -b 6
-123e+4
$ echo -n -123e+4|json -b 7
-123e+4
$ echo -n -123e+4|json -b 8
-123e+4
$ echo -n -123e+45|json -b 1
-123e+45
$ echo -n -123e+45|json -b 2
-123e+45
$ echo -n -123e+45|json -b 3
-123e+45
$ echo -n -123e+45|json -b 4
-123e+45
$ echo -n -123e+45|json -b 5
-123e+45
$ echo -n -123e+45|json -b 6
-123e+45
$ echo -n -123e+45|json -b 7
-123e+45
$ echo -n -123e+45|json -b 8
-123e+45
$ echo -n -123e+45|json -b 9
-123e+45
$ echo -n -123e+456|json -b 1
-123e+456
$ echo -n -123e+456|json -b 2
-123e+456
$ echo -n -123e+456|json -b 3
-123e+456
$ echo -n -123e+456|json -b 4
-123e+456
$ echo -n -123e+456|json -b 5
-123e+456
$ echo -n -123e+456|json -b 6
-123e+456
$ echo -n -123e+456|json -b 7
-123e+456
$ echo -n -123e+456|json -b 8
-123e+456
$ echo -n -123e+456|json -b 9
-123e+456
$ echo -n -123e+456|json -b 10
-123e+456
$ echo -n -123e-|json -b 1
json: error: <stdin>:1:7: lex error: invalid number literal
json: error: <stdin>:1:7: -123e-
json: error: <stdin>:1:7:       ^
command failed: echo -n -123e-|json -b 1
$ echo -n -123e-|json -b 2
json: error: <stdin>:1:7: lex error: invalid number literal
json: error: <stdin>:1:7: -123e-
json: error: <stdin>:1:7:       ^
command failed: echo -n -123e-|json -b 2
$ echo -n -123e-|json -b 3
json: error: <stdin>:1:7: lex error: invalid number literal
json: error: <stdin>:1:7: -123e-
json: error: <stdin>:1:7:       ^
command failed: echo -n -123e-|json -b 3
$ echo -n -123e-|json -b 4
json: error: <stdin>:1:7: lex error: invalid number literal
json: error: <stdin>:1:7: -123e-
json: error: <stdin>:1:7:       ^
command failed: echo -n -123e-|json -b 4
$ echo -n -123e-|json -b 5
json: error: <stdin>:1:7: lex error: invalid number literal
json: error: <stdin>:1:7: -123e-
json: error: <stdin>:1:7:       ^
command failed: echo -n -123e-|json -b 5
$ echo -n -123e-|json -b 6
json: error: <stdin>:1:7: lex error: invalid number literal
json: error: <stdin>:1:7: -123e-
json: error: <stdin>:1:7:       ^
command failed: echo -n -123e-|json -b 6
$ echo -n -123e-|json -b 7
json: error: <stdin>:1:7: lex error: invalid number literal
json: error: <stdin>:1:7: -123e-
json: error: <stdin>:1:7:       ^
command failed: echo -n -123e-|json -b 7
$ echo -n -123e-4|json -b 1
-123e-4
$ echo -n -123e-4|json -b 2
-123e-4
$ echo -n -123e-4|json -b 3
-123e-4
$ echo -n -123e-4|json -b 4
-123e-4
$ echo -n -123e-4|json -b 5
-123e-4
$ echo -n -123e-4|json -b 6
-123e-4
$ echo -n -123e-4|json -b 7
-123e-4
$ echo -n -123e-4|json -b 8
-123e-4
$ echo -n -123e-45|json -b 1
-123e-45
$ echo -n -123e-45|json -b 2
-123e-45
$ echo -n -123e-45|json -b 3
-123e-45
$ echo -n -123e-45|json -b 4
-123e-45
$ echo -n -123e-45|json -b 5
-123e-45
$ echo -n -123e-45|json -b 6
-123e-45
$ echo -n -123e-45|json -b 7
-123e-45
$ echo -n -123e-45|json -b 8
-123e-45
$ echo -n -123e-45|json -b 9
-123e-45
$ echo -n -123e-456|json -b 1
-123e-456
$ echo -n -123e-456|json -b 2
-123e-456
$ echo -n -123e-456|json -b 3
-123e-456
$ echo -n -123e-456|json -b 4
-123e-456
$ echo -n -123e-456|json -b 5
-123e-456
$ echo -n -123e-456|json -b 6
-123e-456
$ echo -n -123e-456|json -b 7
-123e-456
$ echo -n -123e-456|json -b 8
-123e-456
$ echo -n -123e-456|json -b 9
-123e-456
$ echo -n -123e-456|json -b 10
-123e-456
$ echo -n -123e4|json -b 1
-123e4
$ echo -n -123e4|json -b 2
-123e4
$ echo -n -123e4|json -b 3
-123e4
$ echo -n -123e4|json -b 4
-123e4
$ echo -n -123e4|json -b 5
-123e4
$ echo -n -123e4|json -b 6
-123e4
$ echo -n -123e4|json -b 7
-123e4
$ echo -n -123e45|json -b 1
-123e45
$ echo -n -123e45|json -b 2
-123e45
$ echo -n -123e45|json -b 3
-123e45
$ echo -n -123e45|json -b 4
-123e45
$ echo -n -123e45|json -b 5
-123e45
$ echo -n -123e45|json -b 6
-123e45
$ echo -n -123e45|json -b 7
-123e45
$ echo -n -123e45|json -b 8
-123e45
$ echo -n -123e456|json -b 1
-123e456
$ echo -n -123e456|json -b 2
-123e456
$ echo -n -123e456|json -b 3
-123e456
$ echo -n -123e456|json -b 4
-123e456
$ echo -n -123e456|json -b 5
-123e456
$ echo -n -123e456|json -b 6
-123e456
$ echo -n -123e456|json -b 7
-123e456
$ echo -n -123e456|json -b 8
-123e456
$ echo -n -123e456|json -b 9
-123e456
$ echo -n 1|json -b 1
1
$ echo -n 1|json -b 2
1
$ echo -n 12|json -b 1
12
$ echo -n 12|json -b 2
12
$ echo -n 12|json -b 3
12
$ echo -n 123|json -b 1
123
$ echo -n 123|json -b 2
123
$ echo -n 123|json -b 3
123
$ echo -n 123|json -b 4
123
$ echo -n 123.|json -b 1
json: error: <stdin>:1:5: lex error: invalid number literal
json: error: <stdin>:1:5: 123.
json: error: <stdin>:1:5:     ^
command failed: echo -n 123.|json -b 1
$ echo -n 123.|json -b 2
json: error: <stdin>:1:5: lex error: invalid number literal
json: error: <stdin>:1:5: 123.
json: error: <stdin>:1:5:     ^
command failed: echo -n 123.|json -b 2
$ echo -n 123.|json -b 3
json: error: <stdin>:1:5: lex error: invalid number literal
json: error: <stdin>:1:5: 123.
json: error: <stdin>:1:5:     ^
command failed: echo -n 123.|json -b 3
$ echo -n 123.|json -b 4
json: error: <stdin>:1:5: lex error: invalid number literal
json: error: <stdin>:1:5: 123.
json: error: <stdin>:1:5:     ^
command failed: echo -n 123.|json -b 4
$ echo -n 123.|json -b 5
json: error: <stdin>:1:5: lex error: invalid number literal
json: error: <stdin>:1:5: 123.
json: error: <stdin>:1:5:     ^
command failed: echo -n 123.|json -b 5
$ echo -n 123.4|json -b 1
123.4
$ echo -n 123.4|json -b 2
123.4
$ echo -n 123.4|json -b 3
123.4
$ echo -n 123.4|json -b 4
123.4
$ echo -n 123.4|json -b 5
123.4
$ echo -n 123.4|json -b 6
123.4
$ echo -n 123.45|json -b 1
123.45
$ echo -n 123.45|json -b 2
123.45
$ echo -n 123.45|json -b 3
123.45
$ echo -n 123.45|json -b 4
123.45
$ echo -n 123.45|json -b 5
123.45
$ echo -n 123.45|json -b 6
123.45
$ echo -n 123.45|json -b 7
123.45
$ echo -n 123.456|json -b 1
123.456
$ echo -n 123.456|json -b 2
123.456
$ echo -n 123.456|json -b 3
123.456
$ echo -n 123.456|json -b 4
123.456
$ echo -n 123.456|json -b 5
123.456
$ echo -n 123.456|json -b 6
123.456
$ echo -n 123.456|json -b 7
123.456
$ echo -n 123.456|json -b 8
123.456
$ echo -n 123.456e|json -b 1
json: error: <stdin>:1:9: lex error: invalid number literal
json: error: <stdin>:1:9: 123.456e
json: error: <stdin>:1:9:         ^
command failed: echo -n 123.456e|json -b 1
$ echo -n 123.456e|json -b 2
json: error: <stdin>:1:9: lex error: invalid number literal
json: error: <stdin>:1:9: 123.456e
json: error: <stdin>:1:9:         ^
command failed: echo -n 123.456e|json -b 2
$ echo -n 123.456e|json -b 3
json: error: <stdin>:1:9: lex error: invalid number literal
json: error: <stdin>:1:9: 123.456e
json: error: <stdin>:1:9:         ^
command failed: echo -n 123.456e|json -b 3
$ echo -n 123.456e|json -b 4
json: error: <stdin>:1:9: lex error: invalid number literal
json: error: <stdin>:1:9: 123.456e
json: error: <stdin>:1:9:         ^
command failed: echo -n 123.456e|json -b 4
$ echo -n 123.456e|json -b 5
json: error: <stdin>:1:9: lex error: invalid number literal
json: error: <stdin>:1:9: 123.456e
json: error: <stdin>:1:9:         ^
command failed: echo -n 123.456e|json -b 5
$ echo -n 123.456e|json -b 6
json: error: <stdin>:1:9: lex error: invalid number literal
json: error: <stdin>:1:9: 123.456e
json: error: <stdin>:1:9:         ^
command failed: echo -n 123.456e|json -b 6
$ echo -n 123.456e|json -b 7
json: error: <stdin>:1:9: lex error: invalid number literal
json: error: <stdin>:1:9: 123.456e
json: error: <stdin>:1:9:         ^
command failed: echo -n 123.456e|json -b 7
$ echo -n 123.456e|json -b 8
json: error: <stdin>:1:9: lex error: invalid number literal
json: error: <stdin>:1:9: 123.456e
json: error: <stdin>:1:9:         ^
command failed: echo -n 123.456e|json -b 8
$ echo -n 123.456e|json -b 9
json: error: <stdin>:1:9: lex error: invalid number literal
json: error: <stdin>:1:9: 123.456e
json: error: <stdin>:1:9:         ^
command failed: echo -n 123.456e|json -b 9
$ echo -n 123.456e+|json -b 1
json: error: <stdin>:1:10: lex error: invalid number literal
json: error: <stdin>:1:10: 123.456e+
json: error: <stdin>:1:10:          ^
command failed: echo -n 123.456e+|json -b 1
$ echo -n 123.456e+|json -b 2
json: error: <stdin>:1:10: lex error: invalid number literal
json: error: <stdin>:1:10: 123.456e+
json: error: <stdin>:1:10:          ^
command failed: echo -n 123.456e+|json -b 2
$ echo -n 123.456e+|json -b 3
json: error: <stdin>:1:10: lex error: invalid number literal
json: error: <stdin>:1:10: 123.456e+
json: error: <stdin>:1:10:          ^
command failed: echo -n 123.456e+|json -b 3
$ echo -n 123.456e+|json -b 4
json: error: <stdin>:1:10: lex error: invalid number literal
json: error: <stdin>:1:10: 123.456e+
json: error: <stdin>:1:10:          ^
command failed: echo -n 123.456e+|json -b 4
$ echo -n 123.456e+|json -b 5
json: error: <stdin>:1:10: lex error: invalid number literal
json: error: <stdin>:1:10: 123.456e+
json: error: <stdin>:1:10:          ^
command failed: echo -n 123.456e+|json -b 5
$ echo -n 123.456e+|json -b 6
json: error: <stdin>:1:10: lex error: invalid number literal
json: error: <stdin>:1:10: 123.456e+
json: error: <stdin>:1:10:          ^
command failed: echo -n 123.456e+|json -b 6
$ echo -n 123.456e+|json -b 7
json: error: <stdin>:1:10: lex error: invalid number literal
json: error: <stdin>:1:10: 123.456e+
json: error: <stdin>:1:10:          ^
command failed: echo -n 123.456e+|json -b 7
$ echo -n 123.456e+|json -b 8
json: error: <stdin>:1:10: lex error: invalid number literal
json: error: <stdin>:1:10: 123.456e+
json: error: <stdin>:1:10:          ^
command failed: echo -n 123.456e+|json -b 8
$ echo -n 123.456e+|json -b 9
json: error: <stdin>:1:10: lex error: invalid number literal
json: error: <stdin>:1:10: 123.456e+
json: error: <stdin>:1:10:          ^
command failed: echo -n 123.456e+|json -b 9
$ echo -n 123.456e+|json -b 10
json: error: <stdin>:1:10: lex error: invalid number literal
json: error: <stdin>:1:10: 123.456e+
json: error: <stdin>:1:10:          ^
command failed: echo -n 123.456e+|json -b 10
$ echo -n 123.456e+7|json -b 1
123.456e+7
$ echo -n 123.456e+7|json -b 2
123.456e+7
$ echo -n 123.456e+7|json -b 3
123.456e+7
$ echo -n 123.456e+7|json -b 4
123.456e+7
$ echo -n 123.456e+7|json -b 5
123.456e+7
$ echo -n 123.456e+7|json -b 6
123.456e+7
$ echo -n 123.456e+7|json -b 7
123.456e+7
$ echo -n 123.456e+7|json -b 8
123.456e+7
$ echo -n 123.456e+7|json -b 9
123.456e+7
$ echo -n 123.456e+7|json -b 10
123.456e+7
$ echo -n 123.456e+7|json -b 11
123.456e+7
$ echo -n 123.456e+78|json -b 1
123.456e+78
$ echo -n 123.456e+78|json -b 2
123.456e+78
$ echo -n 123.456e+78|json -b 3
123.456e+78
$ echo -n 123.456e+78|json -b 4
123.456e+78
$ echo -n 123.456e+78|json -b 5
123.456e+78
$ echo -n 123.456e+78|json -b 6
123.456e+78
$ echo -n 123.456e+78|json -b 7
123.456e+78
$ echo -n 123.456e+78|json -b 8
123.456e+78
$ echo -n 123.456e+78|json -b 9
123.456e+78
$ echo -n 123.456e+78|json -b 10
123.456e+78
$ echo -n 123.456e+78|json -b 11
123.456e+78
$ echo -n 123.456e+78|json -b 12
123.456e+78
$ echo -n 123.456e+789|json -b 1
123.456e+789
$ echo -n 123.456e+789|json -b 2
123.456e+789
$ echo -n 123.456e+789|json -b 3
123.456e+789
$ echo -n 123.456e+789|json -b 4
123.456e+789
$ echo -n 123.456e+789|json -b 5
123.456e+789
$ echo -n 123.456e+789|json -b 6
123.456e+789
$ echo -n 123.456e+789|json -b 7
123.456e+789
$ echo -n 123.456e+789|json -b 8
123.456e+789
$ echo -n 123.456e+789|json -b 9
123.456e+789
$ echo -n 123.456e+789|json -b 10
123.456e+789
$ echo -n 123.456e+789|json -b 11
123.456e+789
$ echo -n 123.456e+789|json -b 12
123.456e+789
$ echo -n 123.456e+789|json -b 13
123.456e+789
$ echo -n 123.456e-|json -b 1
json: error: <stdin>:1:10: lex error: invalid number literal
json: error: <stdin>:1:10: 123.456e-
json: error: <stdin>:1:10:          ^
command failed: echo -n 123.456e-|json -b 1
$ echo -n 123.456e-|json -b 2
json: error: <stdin>:1:10: lex error: invalid number literal
json: error: <stdin>:1:10: 123.456e-
json: error: <stdin>:1:10:          ^
command failed: echo -n 123.456e-|json -b 2
$ echo -n 123.456e-|json -b 3
json: error: <stdin>:1:10: lex error: invalid number literal
json: error: <stdin>:1:10: 123.456e-
json: error: <stdin>:1:10:          ^
command failed: echo -n 123.456e-|json -b 3
$ echo -n 123.456e-|json -b 4
json: error: <stdin>:1:10: lex error: invalid number literal
json: error: <stdin>:1:10: 123.456e-
json: error: <stdin>:1:10:          ^
command failed: echo -n 123.456e-|json -b 4
$ echo -n 123.456e-|json -b 5
json: error: <stdin>:1:10: lex error: invalid number literal
json: error: <stdin>:1:10: 123.456e-
json: error: <stdin>:1:10:          ^
command failed: echo -n 123.456e-|json -b 5
$ echo -n 123.456e-|json -b 6
json: error: <stdin>:1:10: lex error: invalid number literal
json: error: <stdin>:1:10: 123.456e-
json: error: <stdin>:1:10:          ^
command failed: echo -n 123.456e-|json -b 6
$ echo -n 123.456e-|json -b 7
json: error: <stdin>:1:10: lex error: invalid number literal
json: error: <stdin>:1:10: 123.456e-
json: error: <stdin>:1:10:          ^
command failed: echo -n 123.456e-|json -b 7
$ echo -n 123.456e-|json -b 8
json: error: <stdin>:1:10: lex error: invalid number literal
json: error: <stdin>:1:10: 123.456e-
json: error: <stdin>:1:10:          ^
command failed: echo -n 123.456e-|json -b 8
$ echo -n 123.456e-|json -b 9
json: error: <stdin>:1:10: lex error: invalid number literal
json: error: <stdin>:1:10: 123.456e-
json: error: <stdin>:1:10:          ^
command failed: echo -n 123.456e-|json -b 9
$ echo -n 123.456e-|json -b 10
json: error: <stdin>:1:10: lex error: invalid number literal
json: error: <stdin>:1:10: 123.456e-
json: error: <stdin>:1:10:          ^
command failed: echo -n 123.456e-|json -b 10
$ echo -n 123.456e-7|json -b 1
123.456e-7
$ echo -n 123.456e-7|json -b 2
123.456e-7
$ echo -n 123.456e-7|json -b 3
123.456e-7
$ echo -n 123.456e-7|json -b 4
123.456e-7
$ echo -n 123.456e-7|json -b 5
123.456e-7
$ echo -n 123.456e-7|json -b 6
123.456e-7
$ echo -n 123.456e-7|json -b 7
123.456e-7
$ echo -n 123.456e-7|json -b 8
123.456e-7
$ echo -n 123.456e-7|json -b 9
123.456e-7
$ echo -n 123.456e-7|json -b 10
123.456e-7
$ echo -n 123.456e-7|json -b 11
123.456e-7
$ echo -n 123.456e-78|json -b 1
123.456e-78
$ echo -n 123.456e-78|json -b 2
123.456e-78
$ echo -n 123.456e-78|json -b 3
123.456e-78
$ echo -n 123.456e-78|json -b 4
123.456e-78
$ echo -n 123.456e-78|json -b 5
123.456e-78
$ echo -n 123.456e-78|json -b 6
123.456e-78
$ echo -n 123.456e-78|json -b 7
123.456e-78
$ echo -n 123.456e-78|json -b 8
123.456e-78
$ echo -n 123.456e-78|json -b 9
123.456e-78
$ echo -n 123.456e-78|json -b 10
123.456e-78
$ echo -n 123.456e-78|json -b 11
123.456e-78
$ echo -n 123.456e-78|json -b 12
123.456e-78
$ echo -n 123.456e-789|json -b 1
123.456e-789
$ echo -n 123.456e-789|json -b 2
123.456e-789
$ echo -n 123.456e-789|json -b 3
123.456e-789
$ echo -n 123.456e-789|json -b 4
123.456e-789
$ echo -n 123.456e-789|json -b 5
123.456e-789
$ echo -n 123.456e-789|json -b 6
123.456e-789
$ echo -n 123.456e-789|json -b 7
123.456e-789
$ echo -n 123.456e-789|json -b 8
123.456e-789
$ echo -n 123.456e-789|json -b 9
123.456e-789
$ echo -n 123.456e-789|json -b 10
123.456e-789
$ echo -n 123.456e-789|json -b 11
123.456e-789
$ echo -n 123.456e-789|json -b 12
123.456e-789
$ echo -n 123.456e-789|json -b 13
123.456e-789
$ echo -n 123.456e7|json -b 1
123.456e7
$ echo -n 123.456e7|json -b 2
123.456e7
$ echo -n 123.456e7|json -b 3
123.456e7
$ echo -n 123.456e7|json -b 4
123.456e7
$ echo -n 123.456e7|json -b 5
123.456e7
$ echo -n 123.456e7|json -b 6
123.456e7
$ echo -n 123.456e7|json -b 7
123.456e7
$ echo -n 123.456e7|json -b 8
123.456e7
$ echo -n 123.456e7|json -b 9
123.456e7
$ echo -n 123.456e7|json -b 10
123.456e7
$ echo -n 123.456e78|json -b 1
123.456e78
$ echo -n 123.456e78|json -b 2
123.456e78
$ echo -n 123.456e78|json -b 3
123.456e78
$ echo -n 123.456e78|json -b 4
123.456e78
$ echo -n 123.456e78|json -b 5
123.456e78
$ echo -n 123.456e78|json -b 6
123.456e78
$ echo -n 123.456e78|json -b 7
123.456e78
$ echo -n 123.456e78|json -b 8
123.456e78
$ echo -n 123.456e78|json -b 9
123.456e78
$ echo -n 123.456e78|json -b 10
123.456e78
$ echo -n 123.456e78|json -b 11
123.456e78
$ echo -n 123.456e789|json -b 1
123.456e789
$ echo -n 123.456e789|json -b 2
123.456e789
$ echo -n 123.456e789|json -b 3
123.456e789
$ echo -n 123.456e789|json -b 4
123.456e789
$ echo -n 123.456e789|json -b 5
123.456e789
$ echo -n 123.456e789|json -b 6
123.456e789
$ echo -n 123.456e789|json -b 7
123.456e789
$ echo -n 123.456e789|json -b 8
123.456e789
$ echo -n 123.456e789|json -b 9
123.456e789
$ echo -n 123.456e789|json -b 10
123.456e789
$ echo -n 123.456e789|json -b 11
123.456e789
$ echo -n 123.456e789|json -b 12
123.456e789
$ echo -n 123e|json -b 1
json: error: <stdin>:1:5: lex error: invalid number literal
json: error: <stdin>:1:5: 123e
json: error: <stdin>:1:5:     ^
command failed: echo -n 123e|json -b 1
$ echo -n 123e|json -b 2
json: error: <stdin>:1:5: lex error: invalid number literal
json: error: <stdin>:1:5: 123e
json: error: <stdin>:1:5:     ^
command failed: echo -n 123e|json -b 2
$ echo -n 123e|json -b 3
json: error: <stdin>:1:5: lex error: invalid number literal
json: error: <stdin>:1:5: 123e
json: error: <stdin>:1:5:     ^
command failed: echo -n 123e|json -b 3
$ echo -n 123e|json -b 4
json: error: <stdin>:1:5: lex error: invalid number literal
json: error: <stdin>:1:5: 123e
json: error: <stdin>:1:5:     ^
command failed: echo -n 123e|json -b 4
$ echo -n 123e|json -b 5
json: error: <stdin>:1:5: lex error: invalid number literal
json: error: <stdin>:1:5: 123e
json: error: <stdin>:1:5:     ^
command failed: echo -n 123e|json -b 5
$ echo -n 123e+|json -b 1
json: error: <stdin>:1:6: lex error: invalid number literal
json: error: <stdin>:1:6: 123e+
json: error: <stdin>:1:6:      ^
command failed: echo -n 123e+|json -b 1
$ echo -n 123e+|json -b 2
json: error: <stdin>:1:6: lex error: invalid number literal
json: error: <stdin>:1:6: 123e+
json: error: <stdin>:1:6:      ^
command failed: echo -n 123e+|json -b 2
$ echo -n 123e+|json -b 3
json: error: <stdin>:1:6: lex error: invalid number literal
json: error: <stdin>:1:6: 123e+
json: error: <stdin>:1:6:      ^
command failed: echo -n 123e+|json -b 3
$ echo -n 123e+|json -b 4
json: error: <stdin>:1:6: lex error: invalid number literal
json: error: <stdin>:1:6: 123e+
json: error: <stdin>:1:6:      ^
command failed: echo -n 123e+|json -b 4
$ echo -n 123e+|json -b 5
json: error: <stdin>:1:6: lex error: invalid number literal
json: error: <stdin>:1:6: 123e+
json: error: <stdin>:1:6:      ^
command failed: echo -n 123e+|json -b 5
$ echo -n 123e+|json -b 6
json: error: <stdin>:1:6: lex error: invalid number literal
json: error: <stdin>:1:6: 123e+
json: error: <stdin>:1:6:      ^
command failed: echo -n 123e+|json -b 6
$ echo -n 123e+4|json -b 1
123e+4
$ echo -n 123e+4|json -b 2
123e+4
$ echo -n 123e+4|json -b 3
123e+4
$ echo -n 123e+4|json -b 4
123e+4
$ echo -n 123e+4|json -b 5
123e+4
$ echo -n 123e+4|json -b 6
123e+4
$ echo -n 123e+4|json -b 7
123e+4
$ echo -n 123e+45|json -b 1
123e+45
$ echo -n 123e+45|json -b 2
123e+45
$ echo -n 123e+45|json -b 3
123e+45
$ echo -n 123e+45|json -b 4
123e+45
$ echo -n 123e+45|json -b 5
123e+45
$ echo -n 123e+45|json -b 6
123e+45
$ echo -n 123e+45|json -b 7
123e+45
$ echo -n 123e+45|json -b 8
123e+45
$ echo -n 123e+456|json -b 1
123e+456
$ echo -n 123e+456|json -b 2
123e+456
$ echo -n 123e+456|json -b 3
123e+456
$ echo -n 123e+456|json -b 4
123e+456
$ echo -n 123e+456|json -b 5
123e+456
$ echo -n 123e+456|json -b 6
123e+456
$ echo -n 123e+456|json -b 7
123e+456
$ echo -n 123e+456|json -b 8
123e+456
$ echo -n 123e+456|json -b 9
123e+456
$ echo -n 123e-|json -b 1
json: error: <stdin>:1:6: lex error: invalid number literal
json: error: <stdin>:1:6: 123e-
json: error: <stdin>:1:6:      ^
command failed: echo -n 123e-|json -b 1
$ echo -n 123e-|json -b 2
json: error: <stdin>:1:6: lex error: invalid number literal
json: error: <stdin>:1:6: 123e-
json: error: <stdin>:1:6:      ^
command failed: echo -n 123e-|json -b 2
$ echo -n 123e-|json -b 3
json: error: <stdin>:1:6: lex error: invalid number literal
json: error: <stdin>:1:6: 123e-
json: error: <stdin>:1:6:      ^
command failed: echo -n 123e-|json -b 3
$ echo -n 123e-|json -b 4
json: error: <stdin>:1:6: lex error: invalid number literal
json: error: <stdin>:1:6: 123e-
json: error: <stdin>:1:6:      ^
command failed: echo -n 123e-|json -b 4
$ echo -n 123e-|json -b 5
json: error: <stdin>:1:6: lex error: invalid number literal
json: error: <stdin>:1:6: 123e-
json: error: <stdin>:1:6:      ^
command failed: echo -n 123e-|json -b 5
$ echo -n 123e-|json -b 6
json: error: <stdin>:1:6: lex error: invalid number literal
json: error: <stdin>:1:6: 123e-
json: error: <stdin>:1:6:      ^
command failed: echo -n 123e-|json -b 6
$ echo -n 123e-4|json -b 1
123e-4
$ echo -n 123e-4|json -b 2
123e-4
$ echo -n 123e-4|json -b 3
123e-4
$ echo -n 123e-4|json -b 4
123e-4
$ echo -n 123e-4|json -b 5
123e-4
$ echo -n 123e-4|json -b 6
123e-4
$ echo -n 123e-4|json -b 7
123e-4
$ echo -n 123e-45|json -b 1
123e-45
$ echo -n 123e-45|json -b 2
123e-45
$ echo -n 123e-45|json -b 3
123e-45
$ echo -n 123e-45|json -b 4
123e-45
$ echo -n 123e-45|json -b 5
123e-45
$ echo -n 123e-45|json -b 6
123e-45
$ echo -n 123e-45|json -b 7
123e-45
$ echo -n 123e-45|json -b 8
123e-45
$ echo -n 123e-456|json -b 1
123e-456
$ echo -n 123e-456|json -b 2
123e-456
$ echo -n 123e-456|json -b 3
123e-456
$ echo -n 123e-456|json -b 4
123e-456
$ echo -n 123e-456|json -b 5
123e-456
$ echo -n 123e-456|json -b 6
123e-456
$ echo -n 123e-456|json -b 7
123e-456
$ echo -n 123e-456|json -b 8
123e-456
$ echo -n 123e-456|json -b 9
123e-456
$ echo -n 123e4|json -b 1
123e4
$ echo -n 123e4|json -b 2
123e4
$ echo -n 123e4|json -b 3
123e4
$ echo -n 123e4|json -b 4
123e4
$ echo -n 123e4|json -b 5
123e4
$ echo -n 123e4|json -b 6
123e4
$ echo -n 123e45|json -b 1
123e45
$ echo -n 123e45|json -b 2
123e45
$ echo -n 123e45|json -b 3
123e45
$ echo -n 123e45|json -b 4
123e45
$ echo -n 123e45|json -b 5
123e45
$ echo -n 123e45|json -b 6
123e45
$ echo -n 123e45|json -b 7
123e45
$ echo -n 123e456|json -b 1
123e456
$ echo -n 123e456|json -b 2
123e456
$ echo -n 123e456|json -b 3
123e456
$ echo -n 123e456|json -b 4
123e456
$ echo -n 123e456|json -b 5
123e456
$ echo -n 123e456|json -b 6
123e456
$ echo -n 123e456|json -b 7
123e456
$ echo -n 123e456|json -b 8
123e456
$ 

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

$ json() { json0 --terse "$@"; }
$ json <<< '[]'
[]
$ json <<< '[null]'
[null]
$ json <<< '[false]'
[false]
$ json <<< '[true]'
[true]
$ json <<< '[1]'
[1]
$ json <<< '[""]'
[""]
$ json <<< '["foo"]'
["foo"]
$ json <<< '[[]]'
[[]]
$ json <<< '[[[[]]]]'
[[[[]]]]
$ json <<< '[[[[[[[[]]]]]]]]'
[[[[[[[[]]]]]]]]
$ json <<< '[[[[[[[[[[[[[[[[]]]]]]]]]]]]]]]]'
[[[[[[[[[[[[[[[[]]]]]]]]]]]]]]]]
$ json <<< '[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]'
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
$ json <<< '[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]'
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
$ json <<< '[null,null]'
[null,null]
$ json <<< '[null,false]'
[null,false]
$ json <<< '[null,true]'
[null,true]
$ json <<< '[null,123]'
[null,123]
$ json <<< '[null,"foo"]'
[null,"foo"]
$ json <<< '[null,[]]'
[null,[]]
$ json <<< '[false,null]'
[false,null]
$ json <<< '[true,null]'
[true,null]
$ json <<< '[123,null]'
[123,null]
$ json <<< '["foo",null]'
["foo",null]
$ json <<< '[[],null]'
[[],null]
$ json <<< '[0]'
[0]
$ json <<< '[0,1]'
[0,1]
$ json <<< '[0,1,2]'
[0,1,2]
$ json <<< '[0,1,2,3]'
[0,1,2,3]
$ json <<< '[0,1,2,3,4]'
[0,1,2,3,4]
$ json <<< '[0,1,2,3,4,5]'
[0,1,2,3,4,5]
$ json <<< '[0,1,2,3,4,5,6]'
[0,1,2,3,4,5,6]
$ json <<< '[0,1,2,3,4,5,6,7]'
[0,1,2,3,4,5,6,7]
$ json <<< '[0,1,2,3,4,5,6,7,8]'
[0,1,2,3,4,5,6,7,8]
$ json <<< '[0,1,2,3,4,5,6,7,8,9]'
[0,1,2,3,4,5,6,7,8,9]
$ json <<< '[0,1,2,3,4,5,6,7,8,9,10]'
[0,1,2,3,4,5,6,7,8,9,10]
$ json <<< '[0,1,2,3,4,5,6,7,8,9,10,11]'
[0,1,2,3,4,5,6,7,8,9,10,11]
$ json <<< '[0,1,2,3,4,5,6,7,8,9,10,11,12]'
[0,1,2,3,4,5,6,7,8,9,10,11,12]
$ json <<< '[0,1,2,3,4,5,6,7,8,9,10,11,12,13]'
[0,1,2,3,4,5,6,7,8,9,10,11,12,13]
$ json <<< '[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14]'
[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14]
$ json <<< '[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]'
[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]
$

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

$ json() { json0 --parse --verbose "$@"; }
$ json <<< '['
json: error: <stdin>:2:1: parse error: unexpected token
json: error: <stdin>:2:1: [
json: error: <stdin>:2:1:  ^
command failed: json <<< '['
$ json <<< ']'
json: error: <stdin>:1:1: parse error: unexpected token
json: error: <stdin>:1:1: ]
json: error: <stdin>:1:1: ^
command failed: json <<< ']'
$ json <<< '[,]'
json: error: <stdin>:1:2: parse error: unexpected token
json: error: <stdin>:1:2: [,]
json: error: <stdin>:1:2:  ^
command failed: json <<< '[,]'
$ json <<< '[:]'
json: error: <stdin>:1:2: parse error: unexpected token
json: error: <stdin>:1:2: [:]
json: error: <stdin>:1:2:  ^
command failed: json <<< '[:]'
$ json <<< '[null,]'
json: error: <stdin>:1:7: parse error: unexpected token
json: error: <stdin>:1:7: [null,]
json: error: <stdin>:1:7:       ^
command failed: json <<< '[null,]'
$ json <<< '[,null]'
json: error: <stdin>:1:2: parse error: unexpected token
json: error: <stdin>:1:2: [,null]
json: error: <stdin>:1:2:  ^
command failed: json <<< '[,null]'
$ json <<< '[false:]'
json: error: <stdin>:1:7: parse error: unexpected token
json: error: <stdin>:1:7: [false:]
json: error: <stdin>:1:7:       ^
command failed: json <<< '[false:]'
$ json <<< '[:false]'
json: error: <stdin>:1:2: parse error: unexpected token
json: error: <stdin>:1:2: [:false]
json: error: <stdin>:1:2:  ^
command failed: json <<< '[:false]'
$ json <<< '[0,1,]'
json: error: <stdin>:1:6: parse error: unexpected token
json: error: <stdin>:1:6: [0,1,]
json: error: <stdin>:1:6:      ^
command failed: json <<< '[0,1,]'
$ json <<< '[0,1:]'
json: error: <stdin>:1:5: parse error: unexpected token
json: error: <stdin>:1:5: [0,1:]
json: error: <stdin>:1:5:     ^
command failed: json <<< '[0,1:]'
$ json <<< '[0,1,2,3,]'
json: error: <stdin>:1:10: parse error: unexpected token
json: error: <stdin>:1:10: [0,1,2,3,]
json: error: <stdin>:1:10:          ^
command failed: json <<< '[0,1,2,3,]'
$ json <<< '[0,1,2,3:]'
json: error: <stdin>:1:9: parse error: unexpected token
json: error: <stdin>:1:9: [0,1,2,3:]
json: error: <stdin>:1:9:         ^
command failed: json <<< '[0,1,2,3:]'
$

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

$ json() { json0 --terse "$@"; }
$ json <<< '{}'
{}
$ json <<< '{"":null}'
{"":null}
$ json <<< '{"":false}'
{"":false}
$ json <<< '{"":true}'
{"":true}
$ json <<< '{"":1}'
{"":1}
$ json <<< '{"":""}'
{"":""}
$ json <<< '{"":"foo"}'
{"":"foo"}
$ json <<< '{"":[]}'
{"":[]}
$ json <<< '{"":[null]}'
{"":[null]}
$ json <<< '{"":[false]}'
{"":[false]}
$ json <<< '{"":[true]}'
{"":[true]}
$ json <<< '{"":[1]}'
{"":[1]}
$ json <<< '{"":[""]}'
{"":[""]}
$ json <<< '{"":["foo"]}'
{"":["foo"]}
$ json <<< '{"foo":null}'
{"foo":null}
$ json <<< '{"foo":false}'
{"foo":false}
$ json <<< '{"foo":true}'
{"foo":true}
$ json <<< '{"foo":1}'
{"foo":1}
$ json <<< '{"foo":""}'
{"foo":""}
$ json <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json <<< '{"foo":[]}'
{"foo":[]}
$ json <<< '{"foo":[null]}'
{"foo":[null]}
$ json <<< '{"foo":[false]}'
{"foo":[false]}
$ json <<< '{"foo":[true]}'
{"foo":[true]}
$ json <<< '{"foo":[1]}'
{"foo":[1]}
$ json <<< '{"foo":[""]}'
{"foo":[""]}
$ json <<< '{"foo":["bar"]}'
{"foo":["bar"]}
$ json <<< '{"foo":null,"bar":null}'
{"foo":null,"bar":null}
$ json <<< '{"foo":null,"bar":false}'
{"foo":null,"bar":false}
$ json <<< '{"foo":null,"bar":true}'
{"foo":null,"bar":true}
$ json <<< '{"foo":null,"bar":123}'
{"foo":null,"bar":123}
$ json <<< '{"foo":null,"bar":[]}'
{"foo":null,"bar":[]}
$ json <<< '{"foo":null,"bar":{}}'
{"foo":null,"bar":{}}
$ json <<< '{"foo":false,"bar":null}'
{"foo":false,"bar":null}
$ json <<< '{"foo":true,"bar":null}'
{"foo":true,"bar":null}
$ json <<< '{"foo":123,"bar":null}'
{"foo":123,"bar":null}
$ json <<< '{"foo":[],"bar":null}'
{"foo":[],"bar":null}
$ json <<< '{"foo":{},"bar":null}'
{"foo":{},"bar":null}
$ json <<< '{"0":null}'
{"0":null}
$ json <<< '{"0":null,"1":null}'
{"0":null,"1":null}
$ json <<< '{"0":null,"1":null,"2":null}'
{"0":null,"1":null,"2":null}
$ json <<< '{"0":null,"1":null,"2":null,"3":null}'
{"0":null,"1":null,"2":null,"3":null}
$ json <<< '{"0":null,"1":null,"2":null,"3":null,"4":null}'
{"0":null,"1":null,"2":null,"3":null,"4":null}
$ json <<< '{"0":null,"1":null,"2":null,"3":null,"4":null,"5":null}'
{"0":null,"1":null,"2":null,"3":null,"4":null,"5":null}
$ json <<< '{"0":null,"1":null,"2":null,"3":null,"4":null,"5":null,"6":null}'
{"0":null,"1":null,"2":null,"3":null,"4":null,"5":null,"6":null}
$ json <<< '{"0":null,"1":null,"2":null,"3":null,"4":null,"5":null,"6":null,"7":null}'
{"0":null,"1":null,"2":null,"3":null,"4":null,"5":null,"6":null,"7":null}
$ json <<< '{"0":null,"1":null,"2":null,"3":null,"4":null,"5":null,"6":null,"7":null,"8":null}'
{"0":null,"1":null,"2":null,"3":null,"4":null,"5":null,"6":null,"7":null,"8":null}
$ json <<< '{"0":null,"1":null,"2":null,"3":null,"4":null,"5":null,"6":null,"7":null,"8":null,"9":null}'
{"0":null,"1":null,"2":null,"3":null,"4":null,"5":null,"6":null,"7":null,"8":null,"9":null}
$ json <<< '{"0":null,"1":null,"2":null,"3":null,"4":null,"5":null,"6":null,"7":null,"8":null,"9":null,"10":null}'
{"0":null,"1":null,"2":null,"3":null,"4":null,"5":null,"6":null,"7":null,"8":null,"9":null,"10":null}
$ json <<< '{"0":null,"1":null,"2":null,"3":null,"4":null,"5":null,"6":null,"7":null,"8":null,"9":null,"10":null,"11":null}'
{"0":null,"1":null,"2":null,"3":null,"4":null,"5":null,"6":null,"7":null,"8":null,"9":null,"10":null,"11":null}
$ json <<< '{"0":null,"1":null,"2":null,"3":null,"4":null,"5":null,"6":null,"7":null,"8":null,"9":null,"10":null,"11":null,"12":null}'
{"0":null,"1":null,"2":null,"3":null,"4":null,"5":null,"6":null,"7":null,"8":null,"9":null,"10":null,"11":null,"12":null}
$ json <<< '{"0":null,"1":null,"2":null,"3":null,"4":null,"5":null,"6":null,"7":null,"8":null,"9":null,"10":null,"11":null,"12":null,"13":null}'
{"0":null,"1":null,"2":null,"3":null,"4":null,"5":null,"6":null,"7":null,"8":null,"9":null,"10":null,"11":null,"12":null,"13":null}
$ json <<< '{"0":null,"1":null,"2":null,"3":null,"4":null,"5":null,"6":null,"7":null,"8":null,"9":null,"10":null,"11":null,"12":null,"13":null,"14":null}'
{"0":null,"1":null,"2":null,"3":null,"4":null,"5":null,"6":null,"7":null,"8":null,"9":null,"10":null,"11":null,"12":null,"13":null,"14":null}
$ json <<< '{"0":null,"1":null,"2":null,"3":null,"4":null,"5":null,"6":null,"7":null,"8":null,"9":null,"10":null,"11":null,"12":null,"13":null,"14":null,"15":null}'
{"0":null,"1":null,"2":null,"3":null,"4":null,"5":null,"6":null,"7":null,"8":null,"9":null,"10":null,"11":null,"12":null,"13":null,"14":null,"15":null}
$ json <<< '{"0":{}}'
{"0":{}}
$ json <<< '{"0":{},"1":{}}'
{"0":{},"1":{}}
$ json <<< '{"0":{},"1":{},"2":{}}'
{"0":{},"1":{},"2":{}}
$ json <<< '{"0":{},"1":{},"2":{},"3":{}}'
{"0":{},"1":{},"2":{},"3":{}}
$ json <<< '{"0":{},"1":{},"2":{},"3":{},"4":{}}'
{"0":{},"1":{},"2":{},"3":{},"4":{}}
$ json <<< '{"0":{},"1":{},"2":{},"3":{},"4":{},"5":{}}'
{"0":{},"1":{},"2":{},"3":{},"4":{},"5":{}}
$ json <<< '{"0":{},"1":{},"2":{},"3":{},"4":{},"5":{},"6":{}}'
{"0":{},"1":{},"2":{},"3":{},"4":{},"5":{},"6":{}}
$ json <<< '{"0":{},"1":{},"2":{},"3":{},"4":{},"5":{},"6":{},"7":{}}'
{"0":{},"1":{},"2":{},"3":{},"4":{},"5":{},"6":{},"7":{}}
$ json <<< '{"0":{},"1":{},"2":{},"3":{},"4":{},"5":{},"6":{},"7":{},"8":{}}'
{"0":{},"1":{},"2":{},"3":{},"4":{},"5":{},"6":{},"7":{},"8":{}}
$ json <<< '{"0":{},"1":{},"2":{},"3":{},"4":{},"5":{},"6":{},"7":{},"8":{},"9":{}}'
{"0":{},"1":{},"2":{},"3":{},"4":{},"5":{},"6":{},"7":{},"8":{},"9":{}}
$ json <<< '{"0":{},"1":{},"2":{},"3":{},"4":{},"5":{},"6":{},"7":{},"8":{},"9":{},"10":{}}'
{"0":{},"1":{},"2":{},"3":{},"4":{},"5":{},"6":{},"7":{},"8":{},"9":{},"10":{}}
$ json <<< '{"0":{},"1":{},"2":{},"3":{},"4":{},"5":{},"6":{},"7":{},"8":{},"9":{},"10":{},"11":{}}'
{"0":{},"1":{},"2":{},"3":{},"4":{},"5":{},"6":{},"7":{},"8":{},"9":{},"10":{},"11":{}}
$ json <<< '{"0":{},"1":{},"2":{},"3":{},"4":{},"5":{},"6":{},"7":{},"8":{},"9":{},"10":{},"11":{},"12":{}}'
{"0":{},"1":{},"2":{},"3":{},"4":{},"5":{},"6":{},"7":{},"8":{},"9":{},"10":{},"11":{},"12":{}}
$ json <<< '{"0":{},"1":{},"2":{},"3":{},"4":{},"5":{},"6":{},"7":{},"8":{},"9":{},"10":{},"11":{},"12":{},"13":{}}'
{"0":{},"1":{},"2":{},"3":{},"4":{},"5":{},"6":{},"7":{},"8":{},"9":{},"10":{},"11":{},"12":{},"13":{}}
$ json <<< '{"0":{},"1":{},"2":{},"3":{},"4":{},"5":{},"6":{},"7":{},"8":{},"9":{},"10":{},"11":{},"12":{},"13":{},"14":{}}'
{"0":{},"1":{},"2":{},"3":{},"4":{},"5":{},"6":{},"7":{},"8":{},"9":{},"10":{},"11":{},"12":{},"13":{},"14":{}}
$ json <<< '{"0":{},"1":{},"2":{},"3":{},"4":{},"5":{},"6":{},"7":{},"8":{},"9":{},"10":{},"11":{},"12":{},"13":{},"14":{},"15":{}}'
{"0":{},"1":{},"2":{},"3":{},"4":{},"5":{},"6":{},"7":{},"8":{},"9":{},"10":{},"11":{},"12":{},"13":{},"14":{},"15":{}}
$ json <<< '{"0":{}}'
{"0":{}}
$ json <<< '{"0":{"1":{}}}'
{"0":{"1":{}}}
$ json <<< '{"0":{"1":{"2":{}}}}'
{"0":{"1":{"2":{}}}}
$ json <<< '{"0":{"1":{"2":{"3":{}}}}}'
{"0":{"1":{"2":{"3":{}}}}}
$ json <<< '{"0":{"1":{"2":{"3":{"4":{}}}}}}'
{"0":{"1":{"2":{"3":{"4":{}}}}}}
$ json <<< '{"0":{"1":{"2":{"3":{"4":{"5":{}}}}}}}'
{"0":{"1":{"2":{"3":{"4":{"5":{}}}}}}}
$ json <<< '{"0":{"1":{"2":{"3":{"4":{"5":{"6":{}}}}}}}}'
{"0":{"1":{"2":{"3":{"4":{"5":{"6":{}}}}}}}}
$ json <<< '{"0":{"1":{"2":{"3":{"4":{"5":{"6":{"7":{}}}}}}}}}'
{"0":{"1":{"2":{"3":{"4":{"5":{"6":{"7":{}}}}}}}}}
$ json <<< '{"0":{"1":{"2":{"3":{"4":{"5":{"6":{"7":{"8":{}}}}}}}}}}'
{"0":{"1":{"2":{"3":{"4":{"5":{"6":{"7":{"8":{}}}}}}}}}}
$ json <<< '{"0":{"1":{"2":{"3":{"4":{"5":{"6":{"7":{"8":{"9":{}}}}}}}}}}}'
{"0":{"1":{"2":{"3":{"4":{"5":{"6":{"7":{"8":{"9":{}}}}}}}}}}}
$ json <<< '{"0":{"1":{"2":{"3":{"4":{"5":{"6":{"7":{"8":{"9":{"10":{}}}}}}}}}}}}'
{"0":{"1":{"2":{"3":{"4":{"5":{"6":{"7":{"8":{"9":{"10":{}}}}}}}}}}}}
$ json <<< '{"0":{"1":{"2":{"3":{"4":{"5":{"6":{"7":{"8":{"9":{"10":{"11":{}}}}}}}}}}}}}'
{"0":{"1":{"2":{"3":{"4":{"5":{"6":{"7":{"8":{"9":{"10":{"11":{}}}}}}}}}}}}}
$ json <<< '{"0":{"1":{"2":{"3":{"4":{"5":{"6":{"7":{"8":{"9":{"10":{"11":{"12":{}}}}}}}}}}}}}}'
{"0":{"1":{"2":{"3":{"4":{"5":{"6":{"7":{"8":{"9":{"10":{"11":{"12":{}}}}}}}}}}}}}}
$ json <<< '{"0":{"1":{"2":{"3":{"4":{"5":{"6":{"7":{"8":{"9":{"10":{"11":{"12":{"13":{}}}}}}}}}}}}}}}'
{"0":{"1":{"2":{"3":{"4":{"5":{"6":{"7":{"8":{"9":{"10":{"11":{"12":{"13":{}}}}}}}}}}}}}}}
$ json <<< '{"0":{"1":{"2":{"3":{"4":{"5":{"6":{"7":{"8":{"9":{"10":{"11":{"12":{"13":{"14":{}}}}}}}}}}}}}}}}'
{"0":{"1":{"2":{"3":{"4":{"5":{"6":{"7":{"8":{"9":{"10":{"11":{"12":{"13":{"14":{}}}}}}}}}}}}}}}}
$ json <<< '{"0":{"1":{"2":{"3":{"4":{"5":{"6":{"7":{"8":{"9":{"10":{"11":{"12":{"13":{"14":{"15":{}}}}}}}}}}}}}}}}}'
{"0":{"1":{"2":{"3":{"4":{"5":{"6":{"7":{"8":{"9":{"10":{"11":{"12":{"13":{"14":{"15":{}}}}}}}}}}}}}}}}}
$

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

$ json() { json0 --parse "$@"; }
$ json <<< '{'
json: error: <stdin>:2:1: parse error: unexpected token
json: error: <stdin>:2:1: {
json: error: <stdin>:2:1:  ^
command failed: json <<< '{'
$ json <<< '}'
json: error: <stdin>:1:1: parse error: unexpected token
json: error: <stdin>:1:1: }
json: error: <stdin>:1:1: ^
command failed: json <<< '}'
$ json <<< '{,}'
json: error: <stdin>:1:2: parse error: unexpected token
json: error: <stdin>:1:2: {,}
json: error: <stdin>:1:2:  ^
command failed: json <<< '{,}'
$ json <<< '{:0}'
json: error: <stdin>:1:2: parse error: unexpected token
json: error: <stdin>:1:2: {:0}
json: error: <stdin>:1:2:  ^
command failed: json <<< '{:0}'
$ json <<< '{null:0}'
json: error: <stdin>:1:2: parse error: unexpected token
json: error: <stdin>:1:2: {null:0}
json: error: <stdin>:1:2:  ^
command failed: json <<< '{null:0}'
$ json <<< '{false:0}'
json: error: <stdin>:1:2: parse error: unexpected token
json: error: <stdin>:1:2: {false:0}
json: error: <stdin>:1:2:  ^
command failed: json <<< '{false:0}'
$ json <<< '{true:0}'
json: error: <stdin>:1:2: parse error: unexpected token
json: error: <stdin>:1:2: {true:0}
json: error: <stdin>:1:2:  ^
command failed: json <<< '{true:0}'
$ json <<< '{123:0}'
json: error: <stdin>:1:2: parse error: unexpected token
json: error: <stdin>:1:2: {123:0}
json: error: <stdin>:1:2:  ^
command failed: json <<< '{123:0}'
$ json <<< '{{}:0}'
json: error: <stdin>:1:2: parse error: unexpected token
json: error: <stdin>:1:2: {{}:0}
json: error: <stdin>:1:2:  ^
command failed: json <<< '{{}:0}'
$ json <<< '{[]:0}'
json: error: <stdin>:1:2: parse error: unexpected token
json: error: <stdin>:1:2: {[]:0}
json: error: <stdin>:1:2:  ^
command failed: json <<< '{[]:0}'
$ json <<< '{"foo":}'
json: error: <stdin>:1:8: parse error: unexpected token
json: error: <stdin>:1:8: {"foo":}
json: error: <stdin>:1:8:        ^
command failed: json <<< '{"foo":}'
$ json <<< '{"foo",}'
json: error: <stdin>:1:7: parse error: unexpected token
json: error: <stdin>:1:7: {"foo",}
json: error: <stdin>:1:7:       ^
command failed: json <<< '{"foo",}'
$ json <<< '{"foo"null}'
json: error: <stdin>:1:7: parse error: unexpected token
json: error: <stdin>:1:7: {"foo"null}
json: error: <stdin>:1:7:       ^
command failed: json <<< '{"foo"null}'
$ json <<< '{"foo"false}'
json: error: <stdin>:1:7: parse error: unexpected token
json: error: <stdin>:1:7: {"foo"false}
json: error: <stdin>:1:7:       ^
command failed: json <<< '{"foo"false}'
$ json <<< '{"foo"true}'
json: error: <stdin>:1:7: parse error: unexpected token
json: error: <stdin>:1:7: {"foo"true}
json: error: <stdin>:1:7:       ^
command failed: json <<< '{"foo"true}'
$ json <<< '{"foo"123}'
json: error: <stdin>:1:7: parse error: unexpected token
json: error: <stdin>:1:7: {"foo"123}
json: error: <stdin>:1:7:       ^
command failed: json <<< '{"foo"123}'
$ json <<< '{"foo"{}}'
json: error: <stdin>:1:7: parse error: unexpected token
json: error: <stdin>:1:7: {"foo"{}}
json: error: <stdin>:1:7:       ^
command failed: json <<< '{"foo"{}}'
$ json <<< '{"foo"[]}'
json: error: <stdin>:1:7: parse error: unexpected token
json: error: <stdin>:1:7: {"foo"[]}
json: error: <stdin>:1:7:       ^
command failed: json <<< '{"foo"[]}'
$ json <<< '{"foo":null,}'
json: error: <stdin>:1:13: parse error: unexpected token
json: error: <stdin>:1:13: {"foo":null,}
json: error: <stdin>:1:13:             ^
command failed: json <<< '{"foo":null,}'
$ json <<< '{"foo":false,}'
json: error: <stdin>:1:14: parse error: unexpected token
json: error: <stdin>:1:14: {"foo":false,}
json: error: <stdin>:1:14:              ^
command failed: json <<< '{"foo":false,}'
$ json <<< '{"foo":true,}'
json: error: <stdin>:1:13: parse error: unexpected token
json: error: <stdin>:1:13: {"foo":true,}
json: error: <stdin>:1:13:             ^
command failed: json <<< '{"foo":true,}'
$ json <<< '{"foo":123,}'
json: error: <stdin>:1:12: parse error: unexpected token
json: error: <stdin>:1:12: {"foo":123,}
json: error: <stdin>:1:12:            ^
command failed: json <<< '{"foo":123,}'
$ json <<< '{"foo":{},}'
json: error: <stdin>:1:11: parse error: unexpected token
json: error: <stdin>:1:11: {"foo":{},}
json: error: <stdin>:1:11:           ^
command failed: json <<< '{"foo":{},}'
$ json <<< '{"foo":[],}'
json: error: <stdin>:1:11: parse error: unexpected token
json: error: <stdin>:1:11: {"foo":[],}
json: error: <stdin>:1:11:           ^
command failed: json <<< '{"foo":[],}'
$ json <<< '{"foo":null null}'
json: error: <stdin>:1:13: parse error: unexpected token
json: error: <stdin>:1:13: {"foo":null null}
json: error: <stdin>:1:13:             ^
command failed: json <<< '{"foo":null null}'
$ json <<< '{"foo":false true}'
json: error: <stdin>:1:14: parse error: unexpected token
json: error: <stdin>:1:14: {"foo":false true}
json: error: <stdin>:1:14:              ^
command failed: json <<< '{"foo":false true}'
$ json <<< '{"foo":true false}'
json: error: <stdin>:1:13: parse error: unexpected token
json: error: <stdin>:1:13: {"foo":true false}
json: error: <stdin>:1:13:             ^
command failed: json <<< '{"foo":true false}'
$ json <<< '{"foo":123 321}'
json: error: <stdin>:1:12: parse error: unexpected token
json: error: <stdin>:1:12: {"foo":123 321}
json: error: <stdin>:1:12:            ^
command failed: json <<< '{"foo":123 321}'
$ json <<< '{"foo":{} []}'
json: error: <stdin>:1:11: parse error: unexpected token
json: error: <stdin>:1:11: {"foo":{} []}
json: error: <stdin>:1:11:           ^
command failed: json <<< '{"foo":{} []}'
$ json <<< '{"foo":[] {}}'
json: error: <stdin>:1:11: parse error: unexpected token
json: error: <stdin>:1:11: {"foo":[] {}}
json: error: <stdin>:1:11:           ^
command failed: json <<< '{"foo":[] {}}'
$ json <<< '{"foo":null,null}'
json: error: <stdin>:1:13: parse error: unexpected token
json: error: <stdin>:1:13: {"foo":null,null}
json: error: <stdin>:1:13:             ^
command failed: json <<< '{"foo":null,null}'
$ json <<< '{"foo":false,true}'
json: error: <stdin>:1:14: parse error: unexpected token
json: error: <stdin>:1:14: {"foo":false,true}
json: error: <stdin>:1:14:              ^
command failed: json <<< '{"foo":false,true}'
$ json <<< '{"foo":true,false}'
json: error: <stdin>:1:13: parse error: unexpected token
json: error: <stdin>:1:13: {"foo":true,false}
json: error: <stdin>:1:13:             ^
command failed: json <<< '{"foo":true,false}'
$ json <<< '{"foo":123,321}'
json: error: <stdin>:1:12: parse error: unexpected token
json: error: <stdin>:1:12: {"foo":123,321}
json: error: <stdin>:1:12:            ^
command failed: json <<< '{"foo":123,321}'
$ json <<< '{"foo":{},[]}'
json: error: <stdin>:1:11: parse error: unexpected token
json: error: <stdin>:1:11: {"foo":{},[]}
json: error: <stdin>:1:11:           ^
command failed: json <<< '{"foo":{},[]}'
$ json <<< '{"foo":[],{}}'
json: error: <stdin>:1:11: parse error: unexpected token
json: error: <stdin>:1:11: {"foo":[],{}}
json: error: <stdin>:1:11:           ^
command failed: json <<< '{"foo":[],{}}'
$

--[ error-context ]-------------------------------------------------------------

$ json() { json0 -lOV "$@"; }
#
# # meta command:
# # gen [-l|-r|-b] -[LRB]NUM NUM
# $ gen() { local t='b'; [[ "$1" =~ ^-[lrb]$ ]] && { t="${1:1}"; shift; }; local T=''; local N=0; [[ "$1" =~ ^-[LRB][0-9]+$ ]] && { T="${1:1:1}"; N="${1:2}"; shift; }; [[ "$1" =~ ^[0-9]+$ ]] || { error "invalid arg '$1'"; return 1; }; awk -v t="$t" -v T="$T" -v N="$N" -v n="$1" 'function pn(i){printf"%d",i%10}function ps(s){printf"%s",s}function nl(k){while(k--)ps("\\n")}BEGIN{if(t!="r")for(i=n;i>0;i--)pn(i);if(T=="L"||T=="B")nl(N);ps("~");if(T=="R"||T=="B")nl(N);if(t!="l")for(i=1;i<=n;i++)pn(i);ps("\n")}'; }
# # json-base-test [-c] [-l|-r|-b] -[LRB]NUM [NUM]
# $ json-base-test() { local c=''; [ "$1" == '-c' ] && { c='c'; shift; }; local t='b'; [[ "$1" =~ ^-[lrb]$ ]] && { t="${1:1}"; shift; }; local T=''; [[ "$1" =~ ^-[LRB][0-9]+$ ]] && { T="${1:1}"; shift; }; local g="${1:-8}"; [[ "$g" =~ ^[1-9][0-9]*$ ]] || { error "invalid arg '$1'"; return 1; }; local e; local b; local i; i="$(gen -$t ${T:+-$T} $g)" || { error "inner command failed: gen"; return 1; }; quote2 i; test -n "$T" && i="\$$i"; for((e=1;e<=$((${T:1} + g + 2));e++)); do for((b=1;b<=$((2*g + 3));b++)); do c2="json -b$b -e$e <<< $i"; echo ${c:+-e} "${c:+$COLOR_RED}$ $c2${c:+$COLOR_CLOSE}"; eval "$c2"; done; done; }
# $ json-base-test -l
#
$ json -b1 -e1 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 1~
json: error: <stdin>:1:9:  ^
command failed: json -b1 -e1 <<< '87654321~'
$ json -b2 -e1 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 1~
json: error: <stdin>:1:9:  ^
command failed: json -b2 -e1 <<< '87654321~'
$ json -b3 -e1 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 1~
json: error: <stdin>:1:9:  ^
command failed: json -b3 -e1 <<< '87654321~'
$ json -b4 -e1 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 1~
json: error: <stdin>:1:9:  ^
command failed: json -b4 -e1 <<< '87654321~'
$ json -b5 -e1 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 1~
json: error: <stdin>:1:9:  ^
command failed: json -b5 -e1 <<< '87654321~'
$ json -b6 -e1 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 1~
json: error: <stdin>:1:9:  ^
command failed: json -b6 -e1 <<< '87654321~'
$ json -b7 -e1 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 1~
json: error: <stdin>:1:9:  ^
command failed: json -b7 -e1 <<< '87654321~'
$ json -b8 -e1 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 1~
json: error: <stdin>:1:9:  ^
command failed: json -b8 -e1 <<< '87654321~'
$ json -b9 -e1 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 1~
json: error: <stdin>:1:9:  ^
command failed: json -b9 -e1 <<< '87654321~'
$ json -b10 -e1 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 1~
json: error: <stdin>:1:9:  ^
command failed: json -b10 -e1 <<< '87654321~'
$ json -b11 -e1 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 1~
json: error: <stdin>:1:9:  ^
command failed: json -b11 -e1 <<< '87654321~'
$ json -b12 -e1 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 1~
json: error: <stdin>:1:9:  ^
command failed: json -b12 -e1 <<< '87654321~'
$ json -b13 -e1 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 1~
json: error: <stdin>:1:9:  ^
command failed: json -b13 -e1 <<< '87654321~'
$ json -b14 -e1 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 1~
json: error: <stdin>:1:9:  ^
command failed: json -b14 -e1 <<< '87654321~'
$ json -b15 -e1 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 1~
json: error: <stdin>:1:9:  ^
command failed: json -b15 -e1 <<< '87654321~'
$ json -b16 -e1 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 1~
json: error: <stdin>:1:9:  ^
command failed: json -b16 -e1 <<< '87654321~'
$ json -b17 -e1 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 1~
json: error: <stdin>:1:9:  ^
command failed: json -b17 -e1 <<< '87654321~'
$ json -b18 -e1 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 1~
json: error: <stdin>:1:9:  ^
command failed: json -b18 -e1 <<< '87654321~'
$ json -b19 -e1 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 1~
json: error: <stdin>:1:9:  ^
command failed: json -b19 -e1 <<< '87654321~'
$ json -b1 -e2 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 21~
json: error: <stdin>:1:9:   ^
command failed: json -b1 -e2 <<< '87654321~'
$ json -b2 -e2 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 21~
json: error: <stdin>:1:9:   ^
command failed: json -b2 -e2 <<< '87654321~'
$ json -b3 -e2 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 21~
json: error: <stdin>:1:9:   ^
command failed: json -b3 -e2 <<< '87654321~'
$ json -b4 -e2 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 21~
json: error: <stdin>:1:9:   ^
command failed: json -b4 -e2 <<< '87654321~'
$ json -b5 -e2 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 21~
json: error: <stdin>:1:9:   ^
command failed: json -b5 -e2 <<< '87654321~'
$ json -b6 -e2 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 21~
json: error: <stdin>:1:9:   ^
command failed: json -b6 -e2 <<< '87654321~'
$ json -b7 -e2 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 21~
json: error: <stdin>:1:9:   ^
command failed: json -b7 -e2 <<< '87654321~'
$ json -b8 -e2 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 21~
json: error: <stdin>:1:9:   ^
command failed: json -b8 -e2 <<< '87654321~'
$ json -b9 -e2 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 21~
json: error: <stdin>:1:9:   ^
command failed: json -b9 -e2 <<< '87654321~'
$ json -b10 -e2 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 21~
json: error: <stdin>:1:9:   ^
command failed: json -b10 -e2 <<< '87654321~'
$ json -b11 -e2 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 21~
json: error: <stdin>:1:9:   ^
command failed: json -b11 -e2 <<< '87654321~'
$ json -b12 -e2 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 21~
json: error: <stdin>:1:9:   ^
command failed: json -b12 -e2 <<< '87654321~'
$ json -b13 -e2 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 21~
json: error: <stdin>:1:9:   ^
command failed: json -b13 -e2 <<< '87654321~'
$ json -b14 -e2 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 21~
json: error: <stdin>:1:9:   ^
command failed: json -b14 -e2 <<< '87654321~'
$ json -b15 -e2 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 21~
json: error: <stdin>:1:9:   ^
command failed: json -b15 -e2 <<< '87654321~'
$ json -b16 -e2 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 21~
json: error: <stdin>:1:9:   ^
command failed: json -b16 -e2 <<< '87654321~'
$ json -b17 -e2 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 21~
json: error: <stdin>:1:9:   ^
command failed: json -b17 -e2 <<< '87654321~'
$ json -b18 -e2 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 21~
json: error: <stdin>:1:9:   ^
command failed: json -b18 -e2 <<< '87654321~'
$ json -b19 -e2 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 21~
json: error: <stdin>:1:9:   ^
command failed: json -b19 -e2 <<< '87654321~'
$ json -b1 -e3 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 321~
json: error: <stdin>:1:9:    ^
command failed: json -b1 -e3 <<< '87654321~'
$ json -b2 -e3 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 321~
json: error: <stdin>:1:9:    ^
command failed: json -b2 -e3 <<< '87654321~'
$ json -b3 -e3 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 321~
json: error: <stdin>:1:9:    ^
command failed: json -b3 -e3 <<< '87654321~'
$ json -b4 -e3 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 321~
json: error: <stdin>:1:9:    ^
command failed: json -b4 -e3 <<< '87654321~'
$ json -b5 -e3 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 321~
json: error: <stdin>:1:9:    ^
command failed: json -b5 -e3 <<< '87654321~'
$ json -b6 -e3 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 321~
json: error: <stdin>:1:9:    ^
command failed: json -b6 -e3 <<< '87654321~'
$ json -b7 -e3 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 321~
json: error: <stdin>:1:9:    ^
command failed: json -b7 -e3 <<< '87654321~'
$ json -b8 -e3 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 321~
json: error: <stdin>:1:9:    ^
command failed: json -b8 -e3 <<< '87654321~'
$ json -b9 -e3 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 321~
json: error: <stdin>:1:9:    ^
command failed: json -b9 -e3 <<< '87654321~'
$ json -b10 -e3 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 321~
json: error: <stdin>:1:9:    ^
command failed: json -b10 -e3 <<< '87654321~'
$ json -b11 -e3 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 321~
json: error: <stdin>:1:9:    ^
command failed: json -b11 -e3 <<< '87654321~'
$ json -b12 -e3 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 321~
json: error: <stdin>:1:9:    ^
command failed: json -b12 -e3 <<< '87654321~'
$ json -b13 -e3 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 321~
json: error: <stdin>:1:9:    ^
command failed: json -b13 -e3 <<< '87654321~'
$ json -b14 -e3 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 321~
json: error: <stdin>:1:9:    ^
command failed: json -b14 -e3 <<< '87654321~'
$ json -b15 -e3 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 321~
json: error: <stdin>:1:9:    ^
command failed: json -b15 -e3 <<< '87654321~'
$ json -b16 -e3 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 321~
json: error: <stdin>:1:9:    ^
command failed: json -b16 -e3 <<< '87654321~'
$ json -b17 -e3 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 321~
json: error: <stdin>:1:9:    ^
command failed: json -b17 -e3 <<< '87654321~'
$ json -b18 -e3 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 321~
json: error: <stdin>:1:9:    ^
command failed: json -b18 -e3 <<< '87654321~'
$ json -b19 -e3 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 321~
json: error: <stdin>:1:9:    ^
command failed: json -b19 -e3 <<< '87654321~'
$ json -b1 -e4 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 4321~
json: error: <stdin>:1:9:     ^
command failed: json -b1 -e4 <<< '87654321~'
$ json -b2 -e4 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 4321~
json: error: <stdin>:1:9:     ^
command failed: json -b2 -e4 <<< '87654321~'
$ json -b3 -e4 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 4321~
json: error: <stdin>:1:9:     ^
command failed: json -b3 -e4 <<< '87654321~'
$ json -b4 -e4 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 4321~
json: error: <stdin>:1:9:     ^
command failed: json -b4 -e4 <<< '87654321~'
$ json -b5 -e4 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 4321~
json: error: <stdin>:1:9:     ^
command failed: json -b5 -e4 <<< '87654321~'
$ json -b6 -e4 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 4321~
json: error: <stdin>:1:9:     ^
command failed: json -b6 -e4 <<< '87654321~'
$ json -b7 -e4 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 4321~
json: error: <stdin>:1:9:     ^
command failed: json -b7 -e4 <<< '87654321~'
$ json -b8 -e4 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 4321~
json: error: <stdin>:1:9:     ^
command failed: json -b8 -e4 <<< '87654321~'
$ json -b9 -e4 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 4321~
json: error: <stdin>:1:9:     ^
command failed: json -b9 -e4 <<< '87654321~'
$ json -b10 -e4 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 4321~
json: error: <stdin>:1:9:     ^
command failed: json -b10 -e4 <<< '87654321~'
$ json -b11 -e4 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 4321~
json: error: <stdin>:1:9:     ^
command failed: json -b11 -e4 <<< '87654321~'
$ json -b12 -e4 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 4321~
json: error: <stdin>:1:9:     ^
command failed: json -b12 -e4 <<< '87654321~'
$ json -b13 -e4 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 4321~
json: error: <stdin>:1:9:     ^
command failed: json -b13 -e4 <<< '87654321~'
$ json -b14 -e4 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 4321~
json: error: <stdin>:1:9:     ^
command failed: json -b14 -e4 <<< '87654321~'
$ json -b15 -e4 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 4321~
json: error: <stdin>:1:9:     ^
command failed: json -b15 -e4 <<< '87654321~'
$ json -b16 -e4 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 4321~
json: error: <stdin>:1:9:     ^
command failed: json -b16 -e4 <<< '87654321~'
$ json -b17 -e4 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 4321~
json: error: <stdin>:1:9:     ^
command failed: json -b17 -e4 <<< '87654321~'
$ json -b18 -e4 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 4321~
json: error: <stdin>:1:9:     ^
command failed: json -b18 -e4 <<< '87654321~'
$ json -b19 -e4 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 4321~
json: error: <stdin>:1:9:     ^
command failed: json -b19 -e4 <<< '87654321~'
$ json -b1 -e5 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 54321~
json: error: <stdin>:1:9:      ^
command failed: json -b1 -e5 <<< '87654321~'
$ json -b2 -e5 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 54321~
json: error: <stdin>:1:9:      ^
command failed: json -b2 -e5 <<< '87654321~'
$ json -b3 -e5 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 54321~
json: error: <stdin>:1:9:      ^
command failed: json -b3 -e5 <<< '87654321~'
$ json -b4 -e5 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 54321~
json: error: <stdin>:1:9:      ^
command failed: json -b4 -e5 <<< '87654321~'
$ json -b5 -e5 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 54321~
json: error: <stdin>:1:9:      ^
command failed: json -b5 -e5 <<< '87654321~'
$ json -b6 -e5 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 54321~
json: error: <stdin>:1:9:      ^
command failed: json -b6 -e5 <<< '87654321~'
$ json -b7 -e5 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 54321~
json: error: <stdin>:1:9:      ^
command failed: json -b7 -e5 <<< '87654321~'
$ json -b8 -e5 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 54321~
json: error: <stdin>:1:9:      ^
command failed: json -b8 -e5 <<< '87654321~'
$ json -b9 -e5 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 54321~
json: error: <stdin>:1:9:      ^
command failed: json -b9 -e5 <<< '87654321~'
$ json -b10 -e5 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 54321~
json: error: <stdin>:1:9:      ^
command failed: json -b10 -e5 <<< '87654321~'
$ json -b11 -e5 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 54321~
json: error: <stdin>:1:9:      ^
command failed: json -b11 -e5 <<< '87654321~'
$ json -b12 -e5 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 54321~
json: error: <stdin>:1:9:      ^
command failed: json -b12 -e5 <<< '87654321~'
$ json -b13 -e5 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 54321~
json: error: <stdin>:1:9:      ^
command failed: json -b13 -e5 <<< '87654321~'
$ json -b14 -e5 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 54321~
json: error: <stdin>:1:9:      ^
command failed: json -b14 -e5 <<< '87654321~'
$ json -b15 -e5 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 54321~
json: error: <stdin>:1:9:      ^
command failed: json -b15 -e5 <<< '87654321~'
$ json -b16 -e5 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 54321~
json: error: <stdin>:1:9:      ^
command failed: json -b16 -e5 <<< '87654321~'
$ json -b17 -e5 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 54321~
json: error: <stdin>:1:9:      ^
command failed: json -b17 -e5 <<< '87654321~'
$ json -b18 -e5 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 54321~
json: error: <stdin>:1:9:      ^
command failed: json -b18 -e5 <<< '87654321~'
$ json -b19 -e5 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 54321~
json: error: <stdin>:1:9:      ^
command failed: json -b19 -e5 <<< '87654321~'
$ json -b1 -e6 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 654321~
json: error: <stdin>:1:9:       ^
command failed: json -b1 -e6 <<< '87654321~'
$ json -b2 -e6 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 654321~
json: error: <stdin>:1:9:       ^
command failed: json -b2 -e6 <<< '87654321~'
$ json -b3 -e6 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 654321~
json: error: <stdin>:1:9:       ^
command failed: json -b3 -e6 <<< '87654321~'
$ json -b4 -e6 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 654321~
json: error: <stdin>:1:9:       ^
command failed: json -b4 -e6 <<< '87654321~'
$ json -b5 -e6 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 654321~
json: error: <stdin>:1:9:       ^
command failed: json -b5 -e6 <<< '87654321~'
$ json -b6 -e6 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 654321~
json: error: <stdin>:1:9:       ^
command failed: json -b6 -e6 <<< '87654321~'
$ json -b7 -e6 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 654321~
json: error: <stdin>:1:9:       ^
command failed: json -b7 -e6 <<< '87654321~'
$ json -b8 -e6 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 654321~
json: error: <stdin>:1:9:       ^
command failed: json -b8 -e6 <<< '87654321~'
$ json -b9 -e6 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 654321~
json: error: <stdin>:1:9:       ^
command failed: json -b9 -e6 <<< '87654321~'
$ json -b10 -e6 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 654321~
json: error: <stdin>:1:9:       ^
command failed: json -b10 -e6 <<< '87654321~'
$ json -b11 -e6 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 654321~
json: error: <stdin>:1:9:       ^
command failed: json -b11 -e6 <<< '87654321~'
$ json -b12 -e6 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 654321~
json: error: <stdin>:1:9:       ^
command failed: json -b12 -e6 <<< '87654321~'
$ json -b13 -e6 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 654321~
json: error: <stdin>:1:9:       ^
command failed: json -b13 -e6 <<< '87654321~'
$ json -b14 -e6 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 654321~
json: error: <stdin>:1:9:       ^
command failed: json -b14 -e6 <<< '87654321~'
$ json -b15 -e6 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 654321~
json: error: <stdin>:1:9:       ^
command failed: json -b15 -e6 <<< '87654321~'
$ json -b16 -e6 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 654321~
json: error: <stdin>:1:9:       ^
command failed: json -b16 -e6 <<< '87654321~'
$ json -b17 -e6 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 654321~
json: error: <stdin>:1:9:       ^
command failed: json -b17 -e6 <<< '87654321~'
$ json -b18 -e6 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 654321~
json: error: <stdin>:1:9:       ^
command failed: json -b18 -e6 <<< '87654321~'
$ json -b19 -e6 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 654321~
json: error: <stdin>:1:9:       ^
command failed: json -b19 -e6 <<< '87654321~'
$ json -b1 -e7 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 7654321~
json: error: <stdin>:1:9:        ^
command failed: json -b1 -e7 <<< '87654321~'
$ json -b2 -e7 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 7654321~
json: error: <stdin>:1:9:        ^
command failed: json -b2 -e7 <<< '87654321~'
$ json -b3 -e7 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 7654321~
json: error: <stdin>:1:9:        ^
command failed: json -b3 -e7 <<< '87654321~'
$ json -b4 -e7 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 7654321~
json: error: <stdin>:1:9:        ^
command failed: json -b4 -e7 <<< '87654321~'
$ json -b5 -e7 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 7654321~
json: error: <stdin>:1:9:        ^
command failed: json -b5 -e7 <<< '87654321~'
$ json -b6 -e7 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 7654321~
json: error: <stdin>:1:9:        ^
command failed: json -b6 -e7 <<< '87654321~'
$ json -b7 -e7 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 7654321~
json: error: <stdin>:1:9:        ^
command failed: json -b7 -e7 <<< '87654321~'
$ json -b8 -e7 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 7654321~
json: error: <stdin>:1:9:        ^
command failed: json -b8 -e7 <<< '87654321~'
$ json -b9 -e7 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 7654321~
json: error: <stdin>:1:9:        ^
command failed: json -b9 -e7 <<< '87654321~'
$ json -b10 -e7 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 7654321~
json: error: <stdin>:1:9:        ^
command failed: json -b10 -e7 <<< '87654321~'
$ json -b11 -e7 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 7654321~
json: error: <stdin>:1:9:        ^
command failed: json -b11 -e7 <<< '87654321~'
$ json -b12 -e7 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 7654321~
json: error: <stdin>:1:9:        ^
command failed: json -b12 -e7 <<< '87654321~'
$ json -b13 -e7 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 7654321~
json: error: <stdin>:1:9:        ^
command failed: json -b13 -e7 <<< '87654321~'
$ json -b14 -e7 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 7654321~
json: error: <stdin>:1:9:        ^
command failed: json -b14 -e7 <<< '87654321~'
$ json -b15 -e7 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 7654321~
json: error: <stdin>:1:9:        ^
command failed: json -b15 -e7 <<< '87654321~'
$ json -b16 -e7 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 7654321~
json: error: <stdin>:1:9:        ^
command failed: json -b16 -e7 <<< '87654321~'
$ json -b17 -e7 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 7654321~
json: error: <stdin>:1:9:        ^
command failed: json -b17 -e7 <<< '87654321~'
$ json -b18 -e7 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 7654321~
json: error: <stdin>:1:9:        ^
command failed: json -b18 -e7 <<< '87654321~'
$ json -b19 -e7 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 7654321~
json: error: <stdin>:1:9:        ^
command failed: json -b19 -e7 <<< '87654321~'
$ json -b1 -e8 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~
json: error: <stdin>:1:9:         ^
command failed: json -b1 -e8 <<< '87654321~'
$ json -b2 -e8 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~
json: error: <stdin>:1:9:         ^
command failed: json -b2 -e8 <<< '87654321~'
$ json -b3 -e8 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~
json: error: <stdin>:1:9:         ^
command failed: json -b3 -e8 <<< '87654321~'
$ json -b4 -e8 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~
json: error: <stdin>:1:9:         ^
command failed: json -b4 -e8 <<< '87654321~'
$ json -b5 -e8 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~
json: error: <stdin>:1:9:         ^
command failed: json -b5 -e8 <<< '87654321~'
$ json -b6 -e8 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~
json: error: <stdin>:1:9:         ^
command failed: json -b6 -e8 <<< '87654321~'
$ json -b7 -e8 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~
json: error: <stdin>:1:9:         ^
command failed: json -b7 -e8 <<< '87654321~'
$ json -b8 -e8 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~
json: error: <stdin>:1:9:         ^
command failed: json -b8 -e8 <<< '87654321~'
$ json -b9 -e8 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~
json: error: <stdin>:1:9:         ^
command failed: json -b9 -e8 <<< '87654321~'
$ json -b10 -e8 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~
json: error: <stdin>:1:9:         ^
command failed: json -b10 -e8 <<< '87654321~'
$ json -b11 -e8 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~
json: error: <stdin>:1:9:         ^
command failed: json -b11 -e8 <<< '87654321~'
$ json -b12 -e8 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~
json: error: <stdin>:1:9:         ^
command failed: json -b12 -e8 <<< '87654321~'
$ json -b13 -e8 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~
json: error: <stdin>:1:9:         ^
command failed: json -b13 -e8 <<< '87654321~'
$ json -b14 -e8 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~
json: error: <stdin>:1:9:         ^
command failed: json -b14 -e8 <<< '87654321~'
$ json -b15 -e8 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~
json: error: <stdin>:1:9:         ^
command failed: json -b15 -e8 <<< '87654321~'
$ json -b16 -e8 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~
json: error: <stdin>:1:9:         ^
command failed: json -b16 -e8 <<< '87654321~'
$ json -b17 -e8 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~
json: error: <stdin>:1:9:         ^
command failed: json -b17 -e8 <<< '87654321~'
$ json -b18 -e8 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~
json: error: <stdin>:1:9:         ^
command failed: json -b18 -e8 <<< '87654321~'
$ json -b19 -e8 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~
json: error: <stdin>:1:9:         ^
command failed: json -b19 -e8 <<< '87654321~'
$ json -b1 -e9 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~
json: error: <stdin>:1:9:         ^
command failed: json -b1 -e9 <<< '87654321~'
$ json -b2 -e9 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~
json: error: <stdin>:1:9:         ^
command failed: json -b2 -e9 <<< '87654321~'
$ json -b3 -e9 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~
json: error: <stdin>:1:9:         ^
command failed: json -b3 -e9 <<< '87654321~'
$ json -b4 -e9 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~
json: error: <stdin>:1:9:         ^
command failed: json -b4 -e9 <<< '87654321~'
$ json -b5 -e9 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~
json: error: <stdin>:1:9:         ^
command failed: json -b5 -e9 <<< '87654321~'
$ json -b6 -e9 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~
json: error: <stdin>:1:9:         ^
command failed: json -b6 -e9 <<< '87654321~'
$ json -b7 -e9 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~
json: error: <stdin>:1:9:         ^
command failed: json -b7 -e9 <<< '87654321~'
$ json -b8 -e9 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~
json: error: <stdin>:1:9:         ^
command failed: json -b8 -e9 <<< '87654321~'
$ json -b9 -e9 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~
json: error: <stdin>:1:9:         ^
command failed: json -b9 -e9 <<< '87654321~'
$ json -b10 -e9 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~
json: error: <stdin>:1:9:         ^
command failed: json -b10 -e9 <<< '87654321~'
$ json -b11 -e9 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~
json: error: <stdin>:1:9:         ^
command failed: json -b11 -e9 <<< '87654321~'
$ json -b12 -e9 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~
json: error: <stdin>:1:9:         ^
command failed: json -b12 -e9 <<< '87654321~'
$ json -b13 -e9 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~
json: error: <stdin>:1:9:         ^
command failed: json -b13 -e9 <<< '87654321~'
$ json -b14 -e9 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~
json: error: <stdin>:1:9:         ^
command failed: json -b14 -e9 <<< '87654321~'
$ json -b15 -e9 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~
json: error: <stdin>:1:9:         ^
command failed: json -b15 -e9 <<< '87654321~'
$ json -b16 -e9 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~
json: error: <stdin>:1:9:         ^
command failed: json -b16 -e9 <<< '87654321~'
$ json -b17 -e9 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~
json: error: <stdin>:1:9:         ^
command failed: json -b17 -e9 <<< '87654321~'
$ json -b18 -e9 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~
json: error: <stdin>:1:9:         ^
command failed: json -b18 -e9 <<< '87654321~'
$ json -b19 -e9 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~
json: error: <stdin>:1:9:         ^
command failed: json -b19 -e9 <<< '87654321~'
$ json -b1 -e10 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~
json: error: <stdin>:1:9:         ^
command failed: json -b1 -e10 <<< '87654321~'
$ json -b2 -e10 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~
json: error: <stdin>:1:9:         ^
command failed: json -b2 -e10 <<< '87654321~'
$ json -b3 -e10 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~
json: error: <stdin>:1:9:         ^
command failed: json -b3 -e10 <<< '87654321~'
$ json -b4 -e10 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~
json: error: <stdin>:1:9:         ^
command failed: json -b4 -e10 <<< '87654321~'
$ json -b5 -e10 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~
json: error: <stdin>:1:9:         ^
command failed: json -b5 -e10 <<< '87654321~'
$ json -b6 -e10 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~
json: error: <stdin>:1:9:         ^
command failed: json -b6 -e10 <<< '87654321~'
$ json -b7 -e10 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~
json: error: <stdin>:1:9:         ^
command failed: json -b7 -e10 <<< '87654321~'
$ json -b8 -e10 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~
json: error: <stdin>:1:9:         ^
command failed: json -b8 -e10 <<< '87654321~'
$ json -b9 -e10 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~
json: error: <stdin>:1:9:         ^
command failed: json -b9 -e10 <<< '87654321~'
$ json -b10 -e10 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~
json: error: <stdin>:1:9:         ^
command failed: json -b10 -e10 <<< '87654321~'
$ json -b11 -e10 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~
json: error: <stdin>:1:9:         ^
command failed: json -b11 -e10 <<< '87654321~'
$ json -b12 -e10 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~
json: error: <stdin>:1:9:         ^
command failed: json -b12 -e10 <<< '87654321~'
$ json -b13 -e10 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~
json: error: <stdin>:1:9:         ^
command failed: json -b13 -e10 <<< '87654321~'
$ json -b14 -e10 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~
json: error: <stdin>:1:9:         ^
command failed: json -b14 -e10 <<< '87654321~'
$ json -b15 -e10 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~
json: error: <stdin>:1:9:         ^
command failed: json -b15 -e10 <<< '87654321~'
$ json -b16 -e10 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~
json: error: <stdin>:1:9:         ^
command failed: json -b16 -e10 <<< '87654321~'
$ json -b17 -e10 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~
json: error: <stdin>:1:9:         ^
command failed: json -b17 -e10 <<< '87654321~'
$ json -b18 -e10 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~
json: error: <stdin>:1:9:         ^
command failed: json -b18 -e10 <<< '87654321~'
$ json -b19 -e10 <<< '87654321~'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~
json: error: <stdin>:1:9:         ^
command failed: json -b19 -e10 <<< '87654321~'
$

--[ error-context2 ]------------------------------------------------------------

$ json() { json0 -lOV "$@"; }
#
# # meta command:
# $ json-base-test -r
#
$ json -b1 -e1 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~1
json: error: <stdin>:1:1: ^
command failed: json -b1 -e1 <<< '~12345678'
$ json -b2 -e1 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~1
json: error: <stdin>:1:1: ^
command failed: json -b2 -e1 <<< '~12345678'
$ json -b3 -e1 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~1
json: error: <stdin>:1:1: ^
command failed: json -b3 -e1 <<< '~12345678'
$ json -b4 -e1 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~1
json: error: <stdin>:1:1: ^
command failed: json -b4 -e1 <<< '~12345678'
$ json -b5 -e1 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~1
json: error: <stdin>:1:1: ^
command failed: json -b5 -e1 <<< '~12345678'
$ json -b6 -e1 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~1
json: error: <stdin>:1:1: ^
command failed: json -b6 -e1 <<< '~12345678'
$ json -b7 -e1 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~1
json: error: <stdin>:1:1: ^
command failed: json -b7 -e1 <<< '~12345678'
$ json -b8 -e1 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~1
json: error: <stdin>:1:1: ^
command failed: json -b8 -e1 <<< '~12345678'
$ json -b9 -e1 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~1
json: error: <stdin>:1:1: ^
command failed: json -b9 -e1 <<< '~12345678'
$ json -b10 -e1 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~1
json: error: <stdin>:1:1: ^
command failed: json -b10 -e1 <<< '~12345678'
$ json -b11 -e1 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~1
json: error: <stdin>:1:1: ^
command failed: json -b11 -e1 <<< '~12345678'
$ json -b12 -e1 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~1
json: error: <stdin>:1:1: ^
command failed: json -b12 -e1 <<< '~12345678'
$ json -b13 -e1 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~1
json: error: <stdin>:1:1: ^
command failed: json -b13 -e1 <<< '~12345678'
$ json -b14 -e1 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~1
json: error: <stdin>:1:1: ^
command failed: json -b14 -e1 <<< '~12345678'
$ json -b15 -e1 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~1
json: error: <stdin>:1:1: ^
command failed: json -b15 -e1 <<< '~12345678'
$ json -b16 -e1 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~1
json: error: <stdin>:1:1: ^
command failed: json -b16 -e1 <<< '~12345678'
$ json -b17 -e1 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~1
json: error: <stdin>:1:1: ^
command failed: json -b17 -e1 <<< '~12345678'
$ json -b18 -e1 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~1
json: error: <stdin>:1:1: ^
command failed: json -b18 -e1 <<< '~12345678'
$ json -b19 -e1 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~1
json: error: <stdin>:1:1: ^
command failed: json -b19 -e1 <<< '~12345678'
$ json -b1 -e2 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12
json: error: <stdin>:1:1: ^
command failed: json -b1 -e2 <<< '~12345678'
$ json -b2 -e2 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12
json: error: <stdin>:1:1: ^
command failed: json -b2 -e2 <<< '~12345678'
$ json -b3 -e2 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12
json: error: <stdin>:1:1: ^
command failed: json -b3 -e2 <<< '~12345678'
$ json -b4 -e2 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12
json: error: <stdin>:1:1: ^
command failed: json -b4 -e2 <<< '~12345678'
$ json -b5 -e2 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12
json: error: <stdin>:1:1: ^
command failed: json -b5 -e2 <<< '~12345678'
$ json -b6 -e2 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12
json: error: <stdin>:1:1: ^
command failed: json -b6 -e2 <<< '~12345678'
$ json -b7 -e2 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12
json: error: <stdin>:1:1: ^
command failed: json -b7 -e2 <<< '~12345678'
$ json -b8 -e2 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12
json: error: <stdin>:1:1: ^
command failed: json -b8 -e2 <<< '~12345678'
$ json -b9 -e2 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12
json: error: <stdin>:1:1: ^
command failed: json -b9 -e2 <<< '~12345678'
$ json -b10 -e2 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12
json: error: <stdin>:1:1: ^
command failed: json -b10 -e2 <<< '~12345678'
$ json -b11 -e2 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12
json: error: <stdin>:1:1: ^
command failed: json -b11 -e2 <<< '~12345678'
$ json -b12 -e2 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12
json: error: <stdin>:1:1: ^
command failed: json -b12 -e2 <<< '~12345678'
$ json -b13 -e2 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12
json: error: <stdin>:1:1: ^
command failed: json -b13 -e2 <<< '~12345678'
$ json -b14 -e2 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12
json: error: <stdin>:1:1: ^
command failed: json -b14 -e2 <<< '~12345678'
$ json -b15 -e2 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12
json: error: <stdin>:1:1: ^
command failed: json -b15 -e2 <<< '~12345678'
$ json -b16 -e2 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12
json: error: <stdin>:1:1: ^
command failed: json -b16 -e2 <<< '~12345678'
$ json -b17 -e2 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12
json: error: <stdin>:1:1: ^
command failed: json -b17 -e2 <<< '~12345678'
$ json -b18 -e2 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12
json: error: <stdin>:1:1: ^
command failed: json -b18 -e2 <<< '~12345678'
$ json -b19 -e2 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12
json: error: <stdin>:1:1: ^
command failed: json -b19 -e2 <<< '~12345678'
$ json -b1 -e3 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~123
json: error: <stdin>:1:1: ^
command failed: json -b1 -e3 <<< '~12345678'
$ json -b2 -e3 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~123
json: error: <stdin>:1:1: ^
command failed: json -b2 -e3 <<< '~12345678'
$ json -b3 -e3 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~123
json: error: <stdin>:1:1: ^
command failed: json -b3 -e3 <<< '~12345678'
$ json -b4 -e3 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~123
json: error: <stdin>:1:1: ^
command failed: json -b4 -e3 <<< '~12345678'
$ json -b5 -e3 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~123
json: error: <stdin>:1:1: ^
command failed: json -b5 -e3 <<< '~12345678'
$ json -b6 -e3 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~123
json: error: <stdin>:1:1: ^
command failed: json -b6 -e3 <<< '~12345678'
$ json -b7 -e3 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~123
json: error: <stdin>:1:1: ^
command failed: json -b7 -e3 <<< '~12345678'
$ json -b8 -e3 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~123
json: error: <stdin>:1:1: ^
command failed: json -b8 -e3 <<< '~12345678'
$ json -b9 -e3 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~123
json: error: <stdin>:1:1: ^
command failed: json -b9 -e3 <<< '~12345678'
$ json -b10 -e3 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~123
json: error: <stdin>:1:1: ^
command failed: json -b10 -e3 <<< '~12345678'
$ json -b11 -e3 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~123
json: error: <stdin>:1:1: ^
command failed: json -b11 -e3 <<< '~12345678'
$ json -b12 -e3 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~123
json: error: <stdin>:1:1: ^
command failed: json -b12 -e3 <<< '~12345678'
$ json -b13 -e3 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~123
json: error: <stdin>:1:1: ^
command failed: json -b13 -e3 <<< '~12345678'
$ json -b14 -e3 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~123
json: error: <stdin>:1:1: ^
command failed: json -b14 -e3 <<< '~12345678'
$ json -b15 -e3 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~123
json: error: <stdin>:1:1: ^
command failed: json -b15 -e3 <<< '~12345678'
$ json -b16 -e3 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~123
json: error: <stdin>:1:1: ^
command failed: json -b16 -e3 <<< '~12345678'
$ json -b17 -e3 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~123
json: error: <stdin>:1:1: ^
command failed: json -b17 -e3 <<< '~12345678'
$ json -b18 -e3 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~123
json: error: <stdin>:1:1: ^
command failed: json -b18 -e3 <<< '~12345678'
$ json -b19 -e3 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~123
json: error: <stdin>:1:1: ^
command failed: json -b19 -e3 <<< '~12345678'
$ json -b1 -e4 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~1234
json: error: <stdin>:1:1: ^
command failed: json -b1 -e4 <<< '~12345678'
$ json -b2 -e4 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~1234
json: error: <stdin>:1:1: ^
command failed: json -b2 -e4 <<< '~12345678'
$ json -b3 -e4 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~1234
json: error: <stdin>:1:1: ^
command failed: json -b3 -e4 <<< '~12345678'
$ json -b4 -e4 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~1234
json: error: <stdin>:1:1: ^
command failed: json -b4 -e4 <<< '~12345678'
$ json -b5 -e4 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~1234
json: error: <stdin>:1:1: ^
command failed: json -b5 -e4 <<< '~12345678'
$ json -b6 -e4 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~1234
json: error: <stdin>:1:1: ^
command failed: json -b6 -e4 <<< '~12345678'
$ json -b7 -e4 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~1234
json: error: <stdin>:1:1: ^
command failed: json -b7 -e4 <<< '~12345678'
$ json -b8 -e4 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~1234
json: error: <stdin>:1:1: ^
command failed: json -b8 -e4 <<< '~12345678'
$ json -b9 -e4 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~1234
json: error: <stdin>:1:1: ^
command failed: json -b9 -e4 <<< '~12345678'
$ json -b10 -e4 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~1234
json: error: <stdin>:1:1: ^
command failed: json -b10 -e4 <<< '~12345678'
$ json -b11 -e4 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~1234
json: error: <stdin>:1:1: ^
command failed: json -b11 -e4 <<< '~12345678'
$ json -b12 -e4 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~1234
json: error: <stdin>:1:1: ^
command failed: json -b12 -e4 <<< '~12345678'
$ json -b13 -e4 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~1234
json: error: <stdin>:1:1: ^
command failed: json -b13 -e4 <<< '~12345678'
$ json -b14 -e4 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~1234
json: error: <stdin>:1:1: ^
command failed: json -b14 -e4 <<< '~12345678'
$ json -b15 -e4 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~1234
json: error: <stdin>:1:1: ^
command failed: json -b15 -e4 <<< '~12345678'
$ json -b16 -e4 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~1234
json: error: <stdin>:1:1: ^
command failed: json -b16 -e4 <<< '~12345678'
$ json -b17 -e4 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~1234
json: error: <stdin>:1:1: ^
command failed: json -b17 -e4 <<< '~12345678'
$ json -b18 -e4 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~1234
json: error: <stdin>:1:1: ^
command failed: json -b18 -e4 <<< '~12345678'
$ json -b19 -e4 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~1234
json: error: <stdin>:1:1: ^
command failed: json -b19 -e4 <<< '~12345678'
$ json -b1 -e5 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345
json: error: <stdin>:1:1: ^
command failed: json -b1 -e5 <<< '~12345678'
$ json -b2 -e5 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345
json: error: <stdin>:1:1: ^
command failed: json -b2 -e5 <<< '~12345678'
$ json -b3 -e5 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345
json: error: <stdin>:1:1: ^
command failed: json -b3 -e5 <<< '~12345678'
$ json -b4 -e5 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345
json: error: <stdin>:1:1: ^
command failed: json -b4 -e5 <<< '~12345678'
$ json -b5 -e5 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345
json: error: <stdin>:1:1: ^
command failed: json -b5 -e5 <<< '~12345678'
$ json -b6 -e5 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345
json: error: <stdin>:1:1: ^
command failed: json -b6 -e5 <<< '~12345678'
$ json -b7 -e5 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345
json: error: <stdin>:1:1: ^
command failed: json -b7 -e5 <<< '~12345678'
$ json -b8 -e5 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345
json: error: <stdin>:1:1: ^
command failed: json -b8 -e5 <<< '~12345678'
$ json -b9 -e5 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345
json: error: <stdin>:1:1: ^
command failed: json -b9 -e5 <<< '~12345678'
$ json -b10 -e5 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345
json: error: <stdin>:1:1: ^
command failed: json -b10 -e5 <<< '~12345678'
$ json -b11 -e5 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345
json: error: <stdin>:1:1: ^
command failed: json -b11 -e5 <<< '~12345678'
$ json -b12 -e5 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345
json: error: <stdin>:1:1: ^
command failed: json -b12 -e5 <<< '~12345678'
$ json -b13 -e5 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345
json: error: <stdin>:1:1: ^
command failed: json -b13 -e5 <<< '~12345678'
$ json -b14 -e5 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345
json: error: <stdin>:1:1: ^
command failed: json -b14 -e5 <<< '~12345678'
$ json -b15 -e5 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345
json: error: <stdin>:1:1: ^
command failed: json -b15 -e5 <<< '~12345678'
$ json -b16 -e5 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345
json: error: <stdin>:1:1: ^
command failed: json -b16 -e5 <<< '~12345678'
$ json -b17 -e5 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345
json: error: <stdin>:1:1: ^
command failed: json -b17 -e5 <<< '~12345678'
$ json -b18 -e5 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345
json: error: <stdin>:1:1: ^
command failed: json -b18 -e5 <<< '~12345678'
$ json -b19 -e5 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345
json: error: <stdin>:1:1: ^
command failed: json -b19 -e5 <<< '~12345678'
$ json -b1 -e6 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~123456
json: error: <stdin>:1:1: ^
command failed: json -b1 -e6 <<< '~12345678'
$ json -b2 -e6 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~123456
json: error: <stdin>:1:1: ^
command failed: json -b2 -e6 <<< '~12345678'
$ json -b3 -e6 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~123456
json: error: <stdin>:1:1: ^
command failed: json -b3 -e6 <<< '~12345678'
$ json -b4 -e6 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~123456
json: error: <stdin>:1:1: ^
command failed: json -b4 -e6 <<< '~12345678'
$ json -b5 -e6 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~123456
json: error: <stdin>:1:1: ^
command failed: json -b5 -e6 <<< '~12345678'
$ json -b6 -e6 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~123456
json: error: <stdin>:1:1: ^
command failed: json -b6 -e6 <<< '~12345678'
$ json -b7 -e6 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~123456
json: error: <stdin>:1:1: ^
command failed: json -b7 -e6 <<< '~12345678'
$ json -b8 -e6 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~123456
json: error: <stdin>:1:1: ^
command failed: json -b8 -e6 <<< '~12345678'
$ json -b9 -e6 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~123456
json: error: <stdin>:1:1: ^
command failed: json -b9 -e6 <<< '~12345678'
$ json -b10 -e6 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~123456
json: error: <stdin>:1:1: ^
command failed: json -b10 -e6 <<< '~12345678'
$ json -b11 -e6 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~123456
json: error: <stdin>:1:1: ^
command failed: json -b11 -e6 <<< '~12345678'
$ json -b12 -e6 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~123456
json: error: <stdin>:1:1: ^
command failed: json -b12 -e6 <<< '~12345678'
$ json -b13 -e6 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~123456
json: error: <stdin>:1:1: ^
command failed: json -b13 -e6 <<< '~12345678'
$ json -b14 -e6 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~123456
json: error: <stdin>:1:1: ^
command failed: json -b14 -e6 <<< '~12345678'
$ json -b15 -e6 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~123456
json: error: <stdin>:1:1: ^
command failed: json -b15 -e6 <<< '~12345678'
$ json -b16 -e6 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~123456
json: error: <stdin>:1:1: ^
command failed: json -b16 -e6 <<< '~12345678'
$ json -b17 -e6 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~123456
json: error: <stdin>:1:1: ^
command failed: json -b17 -e6 <<< '~12345678'
$ json -b18 -e6 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~123456
json: error: <stdin>:1:1: ^
command failed: json -b18 -e6 <<< '~12345678'
$ json -b19 -e6 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~123456
json: error: <stdin>:1:1: ^
command failed: json -b19 -e6 <<< '~12345678'
$ json -b1 -e7 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~1234567
json: error: <stdin>:1:1: ^
command failed: json -b1 -e7 <<< '~12345678'
$ json -b2 -e7 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~1234567
json: error: <stdin>:1:1: ^
command failed: json -b2 -e7 <<< '~12345678'
$ json -b3 -e7 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~1234567
json: error: <stdin>:1:1: ^
command failed: json -b3 -e7 <<< '~12345678'
$ json -b4 -e7 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~1234567
json: error: <stdin>:1:1: ^
command failed: json -b4 -e7 <<< '~12345678'
$ json -b5 -e7 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~1234567
json: error: <stdin>:1:1: ^
command failed: json -b5 -e7 <<< '~12345678'
$ json -b6 -e7 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~1234567
json: error: <stdin>:1:1: ^
command failed: json -b6 -e7 <<< '~12345678'
$ json -b7 -e7 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~1234567
json: error: <stdin>:1:1: ^
command failed: json -b7 -e7 <<< '~12345678'
$ json -b8 -e7 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~1234567
json: error: <stdin>:1:1: ^
command failed: json -b8 -e7 <<< '~12345678'
$ json -b9 -e7 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~1234567
json: error: <stdin>:1:1: ^
command failed: json -b9 -e7 <<< '~12345678'
$ json -b10 -e7 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~1234567
json: error: <stdin>:1:1: ^
command failed: json -b10 -e7 <<< '~12345678'
$ json -b11 -e7 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~1234567
json: error: <stdin>:1:1: ^
command failed: json -b11 -e7 <<< '~12345678'
$ json -b12 -e7 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~1234567
json: error: <stdin>:1:1: ^
command failed: json -b12 -e7 <<< '~12345678'
$ json -b13 -e7 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~1234567
json: error: <stdin>:1:1: ^
command failed: json -b13 -e7 <<< '~12345678'
$ json -b14 -e7 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~1234567
json: error: <stdin>:1:1: ^
command failed: json -b14 -e7 <<< '~12345678'
$ json -b15 -e7 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~1234567
json: error: <stdin>:1:1: ^
command failed: json -b15 -e7 <<< '~12345678'
$ json -b16 -e7 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~1234567
json: error: <stdin>:1:1: ^
command failed: json -b16 -e7 <<< '~12345678'
$ json -b17 -e7 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~1234567
json: error: <stdin>:1:1: ^
command failed: json -b17 -e7 <<< '~12345678'
$ json -b18 -e7 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~1234567
json: error: <stdin>:1:1: ^
command failed: json -b18 -e7 <<< '~12345678'
$ json -b19 -e7 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~1234567
json: error: <stdin>:1:1: ^
command failed: json -b19 -e7 <<< '~12345678'
$ json -b1 -e8 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345678
json: error: <stdin>:1:1: ^
command failed: json -b1 -e8 <<< '~12345678'
$ json -b2 -e8 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345678
json: error: <stdin>:1:1: ^
command failed: json -b2 -e8 <<< '~12345678'
$ json -b3 -e8 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345678
json: error: <stdin>:1:1: ^
command failed: json -b3 -e8 <<< '~12345678'
$ json -b4 -e8 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345678
json: error: <stdin>:1:1: ^
command failed: json -b4 -e8 <<< '~12345678'
$ json -b5 -e8 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345678
json: error: <stdin>:1:1: ^
command failed: json -b5 -e8 <<< '~12345678'
$ json -b6 -e8 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345678
json: error: <stdin>:1:1: ^
command failed: json -b6 -e8 <<< '~12345678'
$ json -b7 -e8 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345678
json: error: <stdin>:1:1: ^
command failed: json -b7 -e8 <<< '~12345678'
$ json -b8 -e8 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345678
json: error: <stdin>:1:1: ^
command failed: json -b8 -e8 <<< '~12345678'
$ json -b9 -e8 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345678
json: error: <stdin>:1:1: ^
command failed: json -b9 -e8 <<< '~12345678'
$ json -b10 -e8 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345678
json: error: <stdin>:1:1: ^
command failed: json -b10 -e8 <<< '~12345678'
$ json -b11 -e8 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345678
json: error: <stdin>:1:1: ^
command failed: json -b11 -e8 <<< '~12345678'
$ json -b12 -e8 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345678
json: error: <stdin>:1:1: ^
command failed: json -b12 -e8 <<< '~12345678'
$ json -b13 -e8 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345678
json: error: <stdin>:1:1: ^
command failed: json -b13 -e8 <<< '~12345678'
$ json -b14 -e8 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345678
json: error: <stdin>:1:1: ^
command failed: json -b14 -e8 <<< '~12345678'
$ json -b15 -e8 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345678
json: error: <stdin>:1:1: ^
command failed: json -b15 -e8 <<< '~12345678'
$ json -b16 -e8 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345678
json: error: <stdin>:1:1: ^
command failed: json -b16 -e8 <<< '~12345678'
$ json -b17 -e8 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345678
json: error: <stdin>:1:1: ^
command failed: json -b17 -e8 <<< '~12345678'
$ json -b18 -e8 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345678
json: error: <stdin>:1:1: ^
command failed: json -b18 -e8 <<< '~12345678'
$ json -b19 -e8 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345678
json: error: <stdin>:1:1: ^
command failed: json -b19 -e8 <<< '~12345678'
$ json -b1 -e9 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345678
json: error: <stdin>:1:1: ^
command failed: json -b1 -e9 <<< '~12345678'
$ json -b2 -e9 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345678
json: error: <stdin>:1:1: ^
command failed: json -b2 -e9 <<< '~12345678'
$ json -b3 -e9 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345678
json: error: <stdin>:1:1: ^
command failed: json -b3 -e9 <<< '~12345678'
$ json -b4 -e9 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345678
json: error: <stdin>:1:1: ^
command failed: json -b4 -e9 <<< '~12345678'
$ json -b5 -e9 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345678
json: error: <stdin>:1:1: ^
command failed: json -b5 -e9 <<< '~12345678'
$ json -b6 -e9 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345678
json: error: <stdin>:1:1: ^
command failed: json -b6 -e9 <<< '~12345678'
$ json -b7 -e9 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345678
json: error: <stdin>:1:1: ^
command failed: json -b7 -e9 <<< '~12345678'
$ json -b8 -e9 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345678
json: error: <stdin>:1:1: ^
command failed: json -b8 -e9 <<< '~12345678'
$ json -b9 -e9 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345678
json: error: <stdin>:1:1: ^
command failed: json -b9 -e9 <<< '~12345678'
$ json -b10 -e9 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345678
json: error: <stdin>:1:1: ^
command failed: json -b10 -e9 <<< '~12345678'
$ json -b11 -e9 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345678
json: error: <stdin>:1:1: ^
command failed: json -b11 -e9 <<< '~12345678'
$ json -b12 -e9 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345678
json: error: <stdin>:1:1: ^
command failed: json -b12 -e9 <<< '~12345678'
$ json -b13 -e9 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345678
json: error: <stdin>:1:1: ^
command failed: json -b13 -e9 <<< '~12345678'
$ json -b14 -e9 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345678
json: error: <stdin>:1:1: ^
command failed: json -b14 -e9 <<< '~12345678'
$ json -b15 -e9 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345678
json: error: <stdin>:1:1: ^
command failed: json -b15 -e9 <<< '~12345678'
$ json -b16 -e9 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345678
json: error: <stdin>:1:1: ^
command failed: json -b16 -e9 <<< '~12345678'
$ json -b17 -e9 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345678
json: error: <stdin>:1:1: ^
command failed: json -b17 -e9 <<< '~12345678'
$ json -b18 -e9 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345678
json: error: <stdin>:1:1: ^
command failed: json -b18 -e9 <<< '~12345678'
$ json -b19 -e9 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345678
json: error: <stdin>:1:1: ^
command failed: json -b19 -e9 <<< '~12345678'
$ json -b1 -e10 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345678
json: error: <stdin>:1:1: ^
command failed: json -b1 -e10 <<< '~12345678'
$ json -b2 -e10 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345678
json: error: <stdin>:1:1: ^
command failed: json -b2 -e10 <<< '~12345678'
$ json -b3 -e10 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345678
json: error: <stdin>:1:1: ^
command failed: json -b3 -e10 <<< '~12345678'
$ json -b4 -e10 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345678
json: error: <stdin>:1:1: ^
command failed: json -b4 -e10 <<< '~12345678'
$ json -b5 -e10 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345678
json: error: <stdin>:1:1: ^
command failed: json -b5 -e10 <<< '~12345678'
$ json -b6 -e10 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345678
json: error: <stdin>:1:1: ^
command failed: json -b6 -e10 <<< '~12345678'
$ json -b7 -e10 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345678
json: error: <stdin>:1:1: ^
command failed: json -b7 -e10 <<< '~12345678'
$ json -b8 -e10 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345678
json: error: <stdin>:1:1: ^
command failed: json -b8 -e10 <<< '~12345678'
$ json -b9 -e10 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345678
json: error: <stdin>:1:1: ^
command failed: json -b9 -e10 <<< '~12345678'
$ json -b10 -e10 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345678
json: error: <stdin>:1:1: ^
command failed: json -b10 -e10 <<< '~12345678'
$ json -b11 -e10 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345678
json: error: <stdin>:1:1: ^
command failed: json -b11 -e10 <<< '~12345678'
$ json -b12 -e10 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345678
json: error: <stdin>:1:1: ^
command failed: json -b12 -e10 <<< '~12345678'
$ json -b13 -e10 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345678
json: error: <stdin>:1:1: ^
command failed: json -b13 -e10 <<< '~12345678'
$ json -b14 -e10 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345678
json: error: <stdin>:1:1: ^
command failed: json -b14 -e10 <<< '~12345678'
$ json -b15 -e10 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345678
json: error: <stdin>:1:1: ^
command failed: json -b15 -e10 <<< '~12345678'
$ json -b16 -e10 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345678
json: error: <stdin>:1:1: ^
command failed: json -b16 -e10 <<< '~12345678'
$ json -b17 -e10 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345678
json: error: <stdin>:1:1: ^
command failed: json -b17 -e10 <<< '~12345678'
$ json -b18 -e10 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345678
json: error: <stdin>:1:1: ^
command failed: json -b18 -e10 <<< '~12345678'
$ json -b19 -e10 <<< '~12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~12345678
json: error: <stdin>:1:1: ^
command failed: json -b19 -e10 <<< '~12345678'
$

--[ error-context3 ]------------------------------------------------------------

$ json() { json0 -lOV "$@"; }
#
# # meta command:
# $ json-base-test -b
#
$ json -b1 -e1 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 1~1
json: error: <stdin>:1:9:  ^
command failed: json -b1 -e1 <<< '87654321~12345678'
$ json -b2 -e1 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 1~1
json: error: <stdin>:1:9:  ^
command failed: json -b2 -e1 <<< '87654321~12345678'
$ json -b3 -e1 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 1~1
json: error: <stdin>:1:9:  ^
command failed: json -b3 -e1 <<< '87654321~12345678'
$ json -b4 -e1 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 1~1
json: error: <stdin>:1:9:  ^
command failed: json -b4 -e1 <<< '87654321~12345678'
$ json -b5 -e1 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 1~1
json: error: <stdin>:1:9:  ^
command failed: json -b5 -e1 <<< '87654321~12345678'
$ json -b6 -e1 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 1~1
json: error: <stdin>:1:9:  ^
command failed: json -b6 -e1 <<< '87654321~12345678'
$ json -b7 -e1 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 1~1
json: error: <stdin>:1:9:  ^
command failed: json -b7 -e1 <<< '87654321~12345678'
$ json -b8 -e1 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 1~1
json: error: <stdin>:1:9:  ^
command failed: json -b8 -e1 <<< '87654321~12345678'
$ json -b9 -e1 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 1~1
json: error: <stdin>:1:9:  ^
command failed: json -b9 -e1 <<< '87654321~12345678'
$ json -b10 -e1 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 1~1
json: error: <stdin>:1:9:  ^
command failed: json -b10 -e1 <<< '87654321~12345678'
$ json -b11 -e1 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 1~1
json: error: <stdin>:1:9:  ^
command failed: json -b11 -e1 <<< '87654321~12345678'
$ json -b12 -e1 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 1~1
json: error: <stdin>:1:9:  ^
command failed: json -b12 -e1 <<< '87654321~12345678'
$ json -b13 -e1 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 1~1
json: error: <stdin>:1:9:  ^
command failed: json -b13 -e1 <<< '87654321~12345678'
$ json -b14 -e1 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 1~1
json: error: <stdin>:1:9:  ^
command failed: json -b14 -e1 <<< '87654321~12345678'
$ json -b15 -e1 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 1~1
json: error: <stdin>:1:9:  ^
command failed: json -b15 -e1 <<< '87654321~12345678'
$ json -b16 -e1 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 1~1
json: error: <stdin>:1:9:  ^
command failed: json -b16 -e1 <<< '87654321~12345678'
$ json -b17 -e1 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 1~1
json: error: <stdin>:1:9:  ^
command failed: json -b17 -e1 <<< '87654321~12345678'
$ json -b18 -e1 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 1~1
json: error: <stdin>:1:9:  ^
command failed: json -b18 -e1 <<< '87654321~12345678'
$ json -b19 -e1 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 1~1
json: error: <stdin>:1:9:  ^
command failed: json -b19 -e1 <<< '87654321~12345678'
$ json -b1 -e2 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 21~12
json: error: <stdin>:1:9:   ^
command failed: json -b1 -e2 <<< '87654321~12345678'
$ json -b2 -e2 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 21~12
json: error: <stdin>:1:9:   ^
command failed: json -b2 -e2 <<< '87654321~12345678'
$ json -b3 -e2 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 21~12
json: error: <stdin>:1:9:   ^
command failed: json -b3 -e2 <<< '87654321~12345678'
$ json -b4 -e2 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 21~12
json: error: <stdin>:1:9:   ^
command failed: json -b4 -e2 <<< '87654321~12345678'
$ json -b5 -e2 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 21~12
json: error: <stdin>:1:9:   ^
command failed: json -b5 -e2 <<< '87654321~12345678'
$ json -b6 -e2 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 21~12
json: error: <stdin>:1:9:   ^
command failed: json -b6 -e2 <<< '87654321~12345678'
$ json -b7 -e2 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 21~12
json: error: <stdin>:1:9:   ^
command failed: json -b7 -e2 <<< '87654321~12345678'
$ json -b8 -e2 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 21~12
json: error: <stdin>:1:9:   ^
command failed: json -b8 -e2 <<< '87654321~12345678'
$ json -b9 -e2 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 21~12
json: error: <stdin>:1:9:   ^
command failed: json -b9 -e2 <<< '87654321~12345678'
$ json -b10 -e2 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 21~12
json: error: <stdin>:1:9:   ^
command failed: json -b10 -e2 <<< '87654321~12345678'
$ json -b11 -e2 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 21~12
json: error: <stdin>:1:9:   ^
command failed: json -b11 -e2 <<< '87654321~12345678'
$ json -b12 -e2 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 21~12
json: error: <stdin>:1:9:   ^
command failed: json -b12 -e2 <<< '87654321~12345678'
$ json -b13 -e2 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 21~12
json: error: <stdin>:1:9:   ^
command failed: json -b13 -e2 <<< '87654321~12345678'
$ json -b14 -e2 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 21~12
json: error: <stdin>:1:9:   ^
command failed: json -b14 -e2 <<< '87654321~12345678'
$ json -b15 -e2 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 21~12
json: error: <stdin>:1:9:   ^
command failed: json -b15 -e2 <<< '87654321~12345678'
$ json -b16 -e2 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 21~12
json: error: <stdin>:1:9:   ^
command failed: json -b16 -e2 <<< '87654321~12345678'
$ json -b17 -e2 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 21~12
json: error: <stdin>:1:9:   ^
command failed: json -b17 -e2 <<< '87654321~12345678'
$ json -b18 -e2 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 21~12
json: error: <stdin>:1:9:   ^
command failed: json -b18 -e2 <<< '87654321~12345678'
$ json -b19 -e2 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 21~12
json: error: <stdin>:1:9:   ^
command failed: json -b19 -e2 <<< '87654321~12345678'
$ json -b1 -e3 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 321~123
json: error: <stdin>:1:9:    ^
command failed: json -b1 -e3 <<< '87654321~12345678'
$ json -b2 -e3 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 321~123
json: error: <stdin>:1:9:    ^
command failed: json -b2 -e3 <<< '87654321~12345678'
$ json -b3 -e3 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 321~123
json: error: <stdin>:1:9:    ^
command failed: json -b3 -e3 <<< '87654321~12345678'
$ json -b4 -e3 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 321~123
json: error: <stdin>:1:9:    ^
command failed: json -b4 -e3 <<< '87654321~12345678'
$ json -b5 -e3 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 321~123
json: error: <stdin>:1:9:    ^
command failed: json -b5 -e3 <<< '87654321~12345678'
$ json -b6 -e3 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 321~123
json: error: <stdin>:1:9:    ^
command failed: json -b6 -e3 <<< '87654321~12345678'
$ json -b7 -e3 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 321~123
json: error: <stdin>:1:9:    ^
command failed: json -b7 -e3 <<< '87654321~12345678'
$ json -b8 -e3 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 321~123
json: error: <stdin>:1:9:    ^
command failed: json -b8 -e3 <<< '87654321~12345678'
$ json -b9 -e3 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 321~123
json: error: <stdin>:1:9:    ^
command failed: json -b9 -e3 <<< '87654321~12345678'
$ json -b10 -e3 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 321~123
json: error: <stdin>:1:9:    ^
command failed: json -b10 -e3 <<< '87654321~12345678'
$ json -b11 -e3 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 321~123
json: error: <stdin>:1:9:    ^
command failed: json -b11 -e3 <<< '87654321~12345678'
$ json -b12 -e3 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 321~123
json: error: <stdin>:1:9:    ^
command failed: json -b12 -e3 <<< '87654321~12345678'
$ json -b13 -e3 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 321~123
json: error: <stdin>:1:9:    ^
command failed: json -b13 -e3 <<< '87654321~12345678'
$ json -b14 -e3 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 321~123
json: error: <stdin>:1:9:    ^
command failed: json -b14 -e3 <<< '87654321~12345678'
$ json -b15 -e3 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 321~123
json: error: <stdin>:1:9:    ^
command failed: json -b15 -e3 <<< '87654321~12345678'
$ json -b16 -e3 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 321~123
json: error: <stdin>:1:9:    ^
command failed: json -b16 -e3 <<< '87654321~12345678'
$ json -b17 -e3 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 321~123
json: error: <stdin>:1:9:    ^
command failed: json -b17 -e3 <<< '87654321~12345678'
$ json -b18 -e3 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 321~123
json: error: <stdin>:1:9:    ^
command failed: json -b18 -e3 <<< '87654321~12345678'
$ json -b19 -e3 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 321~123
json: error: <stdin>:1:9:    ^
command failed: json -b19 -e3 <<< '87654321~12345678'
$ json -b1 -e4 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 4321~1234
json: error: <stdin>:1:9:     ^
command failed: json -b1 -e4 <<< '87654321~12345678'
$ json -b2 -e4 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 4321~1234
json: error: <stdin>:1:9:     ^
command failed: json -b2 -e4 <<< '87654321~12345678'
$ json -b3 -e4 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 4321~1234
json: error: <stdin>:1:9:     ^
command failed: json -b3 -e4 <<< '87654321~12345678'
$ json -b4 -e4 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 4321~1234
json: error: <stdin>:1:9:     ^
command failed: json -b4 -e4 <<< '87654321~12345678'
$ json -b5 -e4 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 4321~1234
json: error: <stdin>:1:9:     ^
command failed: json -b5 -e4 <<< '87654321~12345678'
$ json -b6 -e4 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 4321~1234
json: error: <stdin>:1:9:     ^
command failed: json -b6 -e4 <<< '87654321~12345678'
$ json -b7 -e4 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 4321~1234
json: error: <stdin>:1:9:     ^
command failed: json -b7 -e4 <<< '87654321~12345678'
$ json -b8 -e4 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 4321~1234
json: error: <stdin>:1:9:     ^
command failed: json -b8 -e4 <<< '87654321~12345678'
$ json -b9 -e4 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 4321~1234
json: error: <stdin>:1:9:     ^
command failed: json -b9 -e4 <<< '87654321~12345678'
$ json -b10 -e4 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 4321~1234
json: error: <stdin>:1:9:     ^
command failed: json -b10 -e4 <<< '87654321~12345678'
$ json -b11 -e4 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 4321~1234
json: error: <stdin>:1:9:     ^
command failed: json -b11 -e4 <<< '87654321~12345678'
$ json -b12 -e4 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 4321~1234
json: error: <stdin>:1:9:     ^
command failed: json -b12 -e4 <<< '87654321~12345678'
$ json -b13 -e4 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 4321~1234
json: error: <stdin>:1:9:     ^
command failed: json -b13 -e4 <<< '87654321~12345678'
$ json -b14 -e4 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 4321~1234
json: error: <stdin>:1:9:     ^
command failed: json -b14 -e4 <<< '87654321~12345678'
$ json -b15 -e4 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 4321~1234
json: error: <stdin>:1:9:     ^
command failed: json -b15 -e4 <<< '87654321~12345678'
$ json -b16 -e4 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 4321~1234
json: error: <stdin>:1:9:     ^
command failed: json -b16 -e4 <<< '87654321~12345678'
$ json -b17 -e4 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 4321~1234
json: error: <stdin>:1:9:     ^
command failed: json -b17 -e4 <<< '87654321~12345678'
$ json -b18 -e4 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 4321~1234
json: error: <stdin>:1:9:     ^
command failed: json -b18 -e4 <<< '87654321~12345678'
$ json -b19 -e4 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 4321~1234
json: error: <stdin>:1:9:     ^
command failed: json -b19 -e4 <<< '87654321~12345678'
$ json -b1 -e5 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 54321~12345
json: error: <stdin>:1:9:      ^
command failed: json -b1 -e5 <<< '87654321~12345678'
$ json -b2 -e5 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 54321~12345
json: error: <stdin>:1:9:      ^
command failed: json -b2 -e5 <<< '87654321~12345678'
$ json -b3 -e5 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 54321~12345
json: error: <stdin>:1:9:      ^
command failed: json -b3 -e5 <<< '87654321~12345678'
$ json -b4 -e5 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 54321~12345
json: error: <stdin>:1:9:      ^
command failed: json -b4 -e5 <<< '87654321~12345678'
$ json -b5 -e5 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 54321~12345
json: error: <stdin>:1:9:      ^
command failed: json -b5 -e5 <<< '87654321~12345678'
$ json -b6 -e5 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 54321~12345
json: error: <stdin>:1:9:      ^
command failed: json -b6 -e5 <<< '87654321~12345678'
$ json -b7 -e5 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 54321~12345
json: error: <stdin>:1:9:      ^
command failed: json -b7 -e5 <<< '87654321~12345678'
$ json -b8 -e5 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 54321~12345
json: error: <stdin>:1:9:      ^
command failed: json -b8 -e5 <<< '87654321~12345678'
$ json -b9 -e5 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 54321~12345
json: error: <stdin>:1:9:      ^
command failed: json -b9 -e5 <<< '87654321~12345678'
$ json -b10 -e5 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 54321~12345
json: error: <stdin>:1:9:      ^
command failed: json -b10 -e5 <<< '87654321~12345678'
$ json -b11 -e5 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 54321~12345
json: error: <stdin>:1:9:      ^
command failed: json -b11 -e5 <<< '87654321~12345678'
$ json -b12 -e5 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 54321~12345
json: error: <stdin>:1:9:      ^
command failed: json -b12 -e5 <<< '87654321~12345678'
$ json -b13 -e5 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 54321~12345
json: error: <stdin>:1:9:      ^
command failed: json -b13 -e5 <<< '87654321~12345678'
$ json -b14 -e5 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 54321~12345
json: error: <stdin>:1:9:      ^
command failed: json -b14 -e5 <<< '87654321~12345678'
$ json -b15 -e5 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 54321~12345
json: error: <stdin>:1:9:      ^
command failed: json -b15 -e5 <<< '87654321~12345678'
$ json -b16 -e5 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 54321~12345
json: error: <stdin>:1:9:      ^
command failed: json -b16 -e5 <<< '87654321~12345678'
$ json -b17 -e5 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 54321~12345
json: error: <stdin>:1:9:      ^
command failed: json -b17 -e5 <<< '87654321~12345678'
$ json -b18 -e5 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 54321~12345
json: error: <stdin>:1:9:      ^
command failed: json -b18 -e5 <<< '87654321~12345678'
$ json -b19 -e5 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 54321~12345
json: error: <stdin>:1:9:      ^
command failed: json -b19 -e5 <<< '87654321~12345678'
$ json -b1 -e6 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 654321~123456
json: error: <stdin>:1:9:       ^
command failed: json -b1 -e6 <<< '87654321~12345678'
$ json -b2 -e6 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 654321~123456
json: error: <stdin>:1:9:       ^
command failed: json -b2 -e6 <<< '87654321~12345678'
$ json -b3 -e6 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 654321~123456
json: error: <stdin>:1:9:       ^
command failed: json -b3 -e6 <<< '87654321~12345678'
$ json -b4 -e6 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 654321~123456
json: error: <stdin>:1:9:       ^
command failed: json -b4 -e6 <<< '87654321~12345678'
$ json -b5 -e6 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 654321~123456
json: error: <stdin>:1:9:       ^
command failed: json -b5 -e6 <<< '87654321~12345678'
$ json -b6 -e6 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 654321~123456
json: error: <stdin>:1:9:       ^
command failed: json -b6 -e6 <<< '87654321~12345678'
$ json -b7 -e6 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 654321~123456
json: error: <stdin>:1:9:       ^
command failed: json -b7 -e6 <<< '87654321~12345678'
$ json -b8 -e6 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 654321~123456
json: error: <stdin>:1:9:       ^
command failed: json -b8 -e6 <<< '87654321~12345678'
$ json -b9 -e6 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 654321~123456
json: error: <stdin>:1:9:       ^
command failed: json -b9 -e6 <<< '87654321~12345678'
$ json -b10 -e6 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 654321~123456
json: error: <stdin>:1:9:       ^
command failed: json -b10 -e6 <<< '87654321~12345678'
$ json -b11 -e6 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 654321~123456
json: error: <stdin>:1:9:       ^
command failed: json -b11 -e6 <<< '87654321~12345678'
$ json -b12 -e6 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 654321~123456
json: error: <stdin>:1:9:       ^
command failed: json -b12 -e6 <<< '87654321~12345678'
$ json -b13 -e6 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 654321~123456
json: error: <stdin>:1:9:       ^
command failed: json -b13 -e6 <<< '87654321~12345678'
$ json -b14 -e6 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 654321~123456
json: error: <stdin>:1:9:       ^
command failed: json -b14 -e6 <<< '87654321~12345678'
$ json -b15 -e6 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 654321~123456
json: error: <stdin>:1:9:       ^
command failed: json -b15 -e6 <<< '87654321~12345678'
$ json -b16 -e6 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 654321~123456
json: error: <stdin>:1:9:       ^
command failed: json -b16 -e6 <<< '87654321~12345678'
$ json -b17 -e6 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 654321~123456
json: error: <stdin>:1:9:       ^
command failed: json -b17 -e6 <<< '87654321~12345678'
$ json -b18 -e6 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 654321~123456
json: error: <stdin>:1:9:       ^
command failed: json -b18 -e6 <<< '87654321~12345678'
$ json -b19 -e6 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 654321~123456
json: error: <stdin>:1:9:       ^
command failed: json -b19 -e6 <<< '87654321~12345678'
$ json -b1 -e7 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 7654321~1234567
json: error: <stdin>:1:9:        ^
command failed: json -b1 -e7 <<< '87654321~12345678'
$ json -b2 -e7 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 7654321~1234567
json: error: <stdin>:1:9:        ^
command failed: json -b2 -e7 <<< '87654321~12345678'
$ json -b3 -e7 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 7654321~1234567
json: error: <stdin>:1:9:        ^
command failed: json -b3 -e7 <<< '87654321~12345678'
$ json -b4 -e7 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 7654321~1234567
json: error: <stdin>:1:9:        ^
command failed: json -b4 -e7 <<< '87654321~12345678'
$ json -b5 -e7 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 7654321~1234567
json: error: <stdin>:1:9:        ^
command failed: json -b5 -e7 <<< '87654321~12345678'
$ json -b6 -e7 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 7654321~1234567
json: error: <stdin>:1:9:        ^
command failed: json -b6 -e7 <<< '87654321~12345678'
$ json -b7 -e7 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 7654321~1234567
json: error: <stdin>:1:9:        ^
command failed: json -b7 -e7 <<< '87654321~12345678'
$ json -b8 -e7 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 7654321~1234567
json: error: <stdin>:1:9:        ^
command failed: json -b8 -e7 <<< '87654321~12345678'
$ json -b9 -e7 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 7654321~1234567
json: error: <stdin>:1:9:        ^
command failed: json -b9 -e7 <<< '87654321~12345678'
$ json -b10 -e7 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 7654321~1234567
json: error: <stdin>:1:9:        ^
command failed: json -b10 -e7 <<< '87654321~12345678'
$ json -b11 -e7 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 7654321~1234567
json: error: <stdin>:1:9:        ^
command failed: json -b11 -e7 <<< '87654321~12345678'
$ json -b12 -e7 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 7654321~1234567
json: error: <stdin>:1:9:        ^
command failed: json -b12 -e7 <<< '87654321~12345678'
$ json -b13 -e7 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 7654321~1234567
json: error: <stdin>:1:9:        ^
command failed: json -b13 -e7 <<< '87654321~12345678'
$ json -b14 -e7 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 7654321~1234567
json: error: <stdin>:1:9:        ^
command failed: json -b14 -e7 <<< '87654321~12345678'
$ json -b15 -e7 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 7654321~1234567
json: error: <stdin>:1:9:        ^
command failed: json -b15 -e7 <<< '87654321~12345678'
$ json -b16 -e7 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 7654321~1234567
json: error: <stdin>:1:9:        ^
command failed: json -b16 -e7 <<< '87654321~12345678'
$ json -b17 -e7 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 7654321~1234567
json: error: <stdin>:1:9:        ^
command failed: json -b17 -e7 <<< '87654321~12345678'
$ json -b18 -e7 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 7654321~1234567
json: error: <stdin>:1:9:        ^
command failed: json -b18 -e7 <<< '87654321~12345678'
$ json -b19 -e7 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 7654321~1234567
json: error: <stdin>:1:9:        ^
command failed: json -b19 -e7 <<< '87654321~12345678'
$ json -b1 -e8 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~12345678
json: error: <stdin>:1:9:         ^
command failed: json -b1 -e8 <<< '87654321~12345678'
$ json -b2 -e8 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~12345678
json: error: <stdin>:1:9:         ^
command failed: json -b2 -e8 <<< '87654321~12345678'
$ json -b3 -e8 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~12345678
json: error: <stdin>:1:9:         ^
command failed: json -b3 -e8 <<< '87654321~12345678'
$ json -b4 -e8 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~12345678
json: error: <stdin>:1:9:         ^
command failed: json -b4 -e8 <<< '87654321~12345678'
$ json -b5 -e8 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~12345678
json: error: <stdin>:1:9:         ^
command failed: json -b5 -e8 <<< '87654321~12345678'
$ json -b6 -e8 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~12345678
json: error: <stdin>:1:9:         ^
command failed: json -b6 -e8 <<< '87654321~12345678'
$ json -b7 -e8 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~12345678
json: error: <stdin>:1:9:         ^
command failed: json -b7 -e8 <<< '87654321~12345678'
$ json -b8 -e8 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~12345678
json: error: <stdin>:1:9:         ^
command failed: json -b8 -e8 <<< '87654321~12345678'
$ json -b9 -e8 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~12345678
json: error: <stdin>:1:9:         ^
command failed: json -b9 -e8 <<< '87654321~12345678'
$ json -b10 -e8 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~12345678
json: error: <stdin>:1:9:         ^
command failed: json -b10 -e8 <<< '87654321~12345678'
$ json -b11 -e8 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~12345678
json: error: <stdin>:1:9:         ^
command failed: json -b11 -e8 <<< '87654321~12345678'
$ json -b12 -e8 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~12345678
json: error: <stdin>:1:9:         ^
command failed: json -b12 -e8 <<< '87654321~12345678'
$ json -b13 -e8 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~12345678
json: error: <stdin>:1:9:         ^
command failed: json -b13 -e8 <<< '87654321~12345678'
$ json -b14 -e8 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~12345678
json: error: <stdin>:1:9:         ^
command failed: json -b14 -e8 <<< '87654321~12345678'
$ json -b15 -e8 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~12345678
json: error: <stdin>:1:9:         ^
command failed: json -b15 -e8 <<< '87654321~12345678'
$ json -b16 -e8 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~12345678
json: error: <stdin>:1:9:         ^
command failed: json -b16 -e8 <<< '87654321~12345678'
$ json -b17 -e8 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~12345678
json: error: <stdin>:1:9:         ^
command failed: json -b17 -e8 <<< '87654321~12345678'
$ json -b18 -e8 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~12345678
json: error: <stdin>:1:9:         ^
command failed: json -b18 -e8 <<< '87654321~12345678'
$ json -b19 -e8 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~12345678
json: error: <stdin>:1:9:         ^
command failed: json -b19 -e8 <<< '87654321~12345678'
$ json -b1 -e9 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~12345678
json: error: <stdin>:1:9:         ^
command failed: json -b1 -e9 <<< '87654321~12345678'
$ json -b2 -e9 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~12345678
json: error: <stdin>:1:9:         ^
command failed: json -b2 -e9 <<< '87654321~12345678'
$ json -b3 -e9 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~12345678
json: error: <stdin>:1:9:         ^
command failed: json -b3 -e9 <<< '87654321~12345678'
$ json -b4 -e9 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~12345678
json: error: <stdin>:1:9:         ^
command failed: json -b4 -e9 <<< '87654321~12345678'
$ json -b5 -e9 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~12345678
json: error: <stdin>:1:9:         ^
command failed: json -b5 -e9 <<< '87654321~12345678'
$ json -b6 -e9 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~12345678
json: error: <stdin>:1:9:         ^
command failed: json -b6 -e9 <<< '87654321~12345678'
$ json -b7 -e9 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~12345678
json: error: <stdin>:1:9:         ^
command failed: json -b7 -e9 <<< '87654321~12345678'
$ json -b8 -e9 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~12345678
json: error: <stdin>:1:9:         ^
command failed: json -b8 -e9 <<< '87654321~12345678'
$ json -b9 -e9 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~12345678
json: error: <stdin>:1:9:         ^
command failed: json -b9 -e9 <<< '87654321~12345678'
$ json -b10 -e9 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~12345678
json: error: <stdin>:1:9:         ^
command failed: json -b10 -e9 <<< '87654321~12345678'
$ json -b11 -e9 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~12345678
json: error: <stdin>:1:9:         ^
command failed: json -b11 -e9 <<< '87654321~12345678'
$ json -b12 -e9 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~12345678
json: error: <stdin>:1:9:         ^
command failed: json -b12 -e9 <<< '87654321~12345678'
$ json -b13 -e9 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~12345678
json: error: <stdin>:1:9:         ^
command failed: json -b13 -e9 <<< '87654321~12345678'
$ json -b14 -e9 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~12345678
json: error: <stdin>:1:9:         ^
command failed: json -b14 -e9 <<< '87654321~12345678'
$ json -b15 -e9 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~12345678
json: error: <stdin>:1:9:         ^
command failed: json -b15 -e9 <<< '87654321~12345678'
$ json -b16 -e9 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~12345678
json: error: <stdin>:1:9:         ^
command failed: json -b16 -e9 <<< '87654321~12345678'
$ json -b17 -e9 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~12345678
json: error: <stdin>:1:9:         ^
command failed: json -b17 -e9 <<< '87654321~12345678'
$ json -b18 -e9 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~12345678
json: error: <stdin>:1:9:         ^
command failed: json -b18 -e9 <<< '87654321~12345678'
$ json -b19 -e9 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~12345678
json: error: <stdin>:1:9:         ^
command failed: json -b19 -e9 <<< '87654321~12345678'
$ json -b1 -e10 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~12345678
json: error: <stdin>:1:9:         ^
command failed: json -b1 -e10 <<< '87654321~12345678'
$ json -b2 -e10 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~12345678
json: error: <stdin>:1:9:         ^
command failed: json -b2 -e10 <<< '87654321~12345678'
$ json -b3 -e10 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~12345678
json: error: <stdin>:1:9:         ^
command failed: json -b3 -e10 <<< '87654321~12345678'
$ json -b4 -e10 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~12345678
json: error: <stdin>:1:9:         ^
command failed: json -b4 -e10 <<< '87654321~12345678'
$ json -b5 -e10 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~12345678
json: error: <stdin>:1:9:         ^
command failed: json -b5 -e10 <<< '87654321~12345678'
$ json -b6 -e10 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~12345678
json: error: <stdin>:1:9:         ^
command failed: json -b6 -e10 <<< '87654321~12345678'
$ json -b7 -e10 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~12345678
json: error: <stdin>:1:9:         ^
command failed: json -b7 -e10 <<< '87654321~12345678'
$ json -b8 -e10 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~12345678
json: error: <stdin>:1:9:         ^
command failed: json -b8 -e10 <<< '87654321~12345678'
$ json -b9 -e10 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~12345678
json: error: <stdin>:1:9:         ^
command failed: json -b9 -e10 <<< '87654321~12345678'
$ json -b10 -e10 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~12345678
json: error: <stdin>:1:9:         ^
command failed: json -b10 -e10 <<< '87654321~12345678'
$ json -b11 -e10 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~12345678
json: error: <stdin>:1:9:         ^
command failed: json -b11 -e10 <<< '87654321~12345678'
$ json -b12 -e10 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~12345678
json: error: <stdin>:1:9:         ^
command failed: json -b12 -e10 <<< '87654321~12345678'
$ json -b13 -e10 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~12345678
json: error: <stdin>:1:9:         ^
command failed: json -b13 -e10 <<< '87654321~12345678'
$ json -b14 -e10 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~12345678
json: error: <stdin>:1:9:         ^
command failed: json -b14 -e10 <<< '87654321~12345678'
$ json -b15 -e10 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~12345678
json: error: <stdin>:1:9:         ^
command failed: json -b15 -e10 <<< '87654321~12345678'
$ json -b16 -e10 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~12345678
json: error: <stdin>:1:9:         ^
command failed: json -b16 -e10 <<< '87654321~12345678'
$ json -b17 -e10 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~12345678
json: error: <stdin>:1:9:         ^
command failed: json -b17 -e10 <<< '87654321~12345678'
$ json -b18 -e10 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~12345678
json: error: <stdin>:1:9:         ^
command failed: json -b18 -e10 <<< '87654321~12345678'
$ json -b19 -e10 <<< '87654321~12345678'
json: error: <stdin>:1:9: lex error: invalid char
json: error: <stdin>:1:9: 87654321~12345678
json: error: <stdin>:1:9:         ^
command failed: json -b19 -e10 <<< '87654321~12345678'
$

--[ error-context4 ]------------------------------------------------------------

$ json() { json0 -lOV "$@"; }
#
# # meta command:
# $ json-base-test -l -L2
#
$ json -b1 -e1 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n~
json: error: <stdin>:3:1:   ^
command failed: json -b1 -e1 <<< $'87654321\n\n~'
$ json -b2 -e1 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n~
json: error: <stdin>:3:1:   ^
command failed: json -b2 -e1 <<< $'87654321\n\n~'
$ json -b3 -e1 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n~
json: error: <stdin>:3:1:   ^
command failed: json -b3 -e1 <<< $'87654321\n\n~'
$ json -b4 -e1 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n~
json: error: <stdin>:3:1:   ^
command failed: json -b4 -e1 <<< $'87654321\n\n~'
$ json -b5 -e1 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n~
json: error: <stdin>:3:1:   ^
command failed: json -b5 -e1 <<< $'87654321\n\n~'
$ json -b6 -e1 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n~
json: error: <stdin>:3:1:   ^
command failed: json -b6 -e1 <<< $'87654321\n\n~'
$ json -b7 -e1 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n~
json: error: <stdin>:3:1:   ^
command failed: json -b7 -e1 <<< $'87654321\n\n~'
$ json -b8 -e1 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n~
json: error: <stdin>:3:1:   ^
command failed: json -b8 -e1 <<< $'87654321\n\n~'
$ json -b9 -e1 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n~
json: error: <stdin>:3:1:   ^
command failed: json -b9 -e1 <<< $'87654321\n\n~'
$ json -b10 -e1 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n~
json: error: <stdin>:3:1:   ^
command failed: json -b10 -e1 <<< $'87654321\n\n~'
$ json -b11 -e1 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n~
json: error: <stdin>:3:1:   ^
command failed: json -b11 -e1 <<< $'87654321\n\n~'
$ json -b12 -e1 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n~
json: error: <stdin>:3:1:   ^
command failed: json -b12 -e1 <<< $'87654321\n\n~'
$ json -b13 -e1 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n~
json: error: <stdin>:3:1:   ^
command failed: json -b13 -e1 <<< $'87654321\n\n~'
$ json -b14 -e1 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n~
json: error: <stdin>:3:1:   ^
command failed: json -b14 -e1 <<< $'87654321\n\n~'
$ json -b15 -e1 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n~
json: error: <stdin>:3:1:   ^
command failed: json -b15 -e1 <<< $'87654321\n\n~'
$ json -b16 -e1 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n~
json: error: <stdin>:3:1:   ^
command failed: json -b16 -e1 <<< $'87654321\n\n~'
$ json -b17 -e1 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n~
json: error: <stdin>:3:1:   ^
command failed: json -b17 -e1 <<< $'87654321\n\n~'
$ json -b18 -e1 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n~
json: error: <stdin>:3:1:   ^
command failed: json -b18 -e1 <<< $'87654321\n\n~'
$ json -b19 -e1 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n~
json: error: <stdin>:3:1:   ^
command failed: json -b19 -e1 <<< $'87654321\n\n~'
$ json -b1 -e2 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n\n~
json: error: <stdin>:3:1:     ^
command failed: json -b1 -e2 <<< $'87654321\n\n~'
$ json -b2 -e2 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n\n~
json: error: <stdin>:3:1:     ^
command failed: json -b2 -e2 <<< $'87654321\n\n~'
$ json -b3 -e2 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n\n~
json: error: <stdin>:3:1:     ^
command failed: json -b3 -e2 <<< $'87654321\n\n~'
$ json -b4 -e2 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n\n~
json: error: <stdin>:3:1:     ^
command failed: json -b4 -e2 <<< $'87654321\n\n~'
$ json -b5 -e2 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n\n~
json: error: <stdin>:3:1:     ^
command failed: json -b5 -e2 <<< $'87654321\n\n~'
$ json -b6 -e2 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n\n~
json: error: <stdin>:3:1:     ^
command failed: json -b6 -e2 <<< $'87654321\n\n~'
$ json -b7 -e2 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n\n~
json: error: <stdin>:3:1:     ^
command failed: json -b7 -e2 <<< $'87654321\n\n~'
$ json -b8 -e2 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n\n~
json: error: <stdin>:3:1:     ^
command failed: json -b8 -e2 <<< $'87654321\n\n~'
$ json -b9 -e2 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n\n~
json: error: <stdin>:3:1:     ^
command failed: json -b9 -e2 <<< $'87654321\n\n~'
$ json -b10 -e2 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n\n~
json: error: <stdin>:3:1:     ^
command failed: json -b10 -e2 <<< $'87654321\n\n~'
$ json -b11 -e2 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n\n~
json: error: <stdin>:3:1:     ^
command failed: json -b11 -e2 <<< $'87654321\n\n~'
$ json -b12 -e2 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n\n~
json: error: <stdin>:3:1:     ^
command failed: json -b12 -e2 <<< $'87654321\n\n~'
$ json -b13 -e2 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n\n~
json: error: <stdin>:3:1:     ^
command failed: json -b13 -e2 <<< $'87654321\n\n~'
$ json -b14 -e2 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n\n~
json: error: <stdin>:3:1:     ^
command failed: json -b14 -e2 <<< $'87654321\n\n~'
$ json -b15 -e2 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n\n~
json: error: <stdin>:3:1:     ^
command failed: json -b15 -e2 <<< $'87654321\n\n~'
$ json -b16 -e2 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n\n~
json: error: <stdin>:3:1:     ^
command failed: json -b16 -e2 <<< $'87654321\n\n~'
$ json -b17 -e2 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n\n~
json: error: <stdin>:3:1:     ^
command failed: json -b17 -e2 <<< $'87654321\n\n~'
$ json -b18 -e2 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n\n~
json: error: <stdin>:3:1:     ^
command failed: json -b18 -e2 <<< $'87654321\n\n~'
$ json -b19 -e2 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n\n~
json: error: <stdin>:3:1:     ^
command failed: json -b19 -e2 <<< $'87654321\n\n~'
$ json -b1 -e3 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 1\n\n~
json: error: <stdin>:3:1:      ^
command failed: json -b1 -e3 <<< $'87654321\n\n~'
$ json -b2 -e3 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 1\n\n~
json: error: <stdin>:3:1:      ^
command failed: json -b2 -e3 <<< $'87654321\n\n~'
$ json -b3 -e3 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 1\n\n~
json: error: <stdin>:3:1:      ^
command failed: json -b3 -e3 <<< $'87654321\n\n~'
$ json -b4 -e3 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 1\n\n~
json: error: <stdin>:3:1:      ^
command failed: json -b4 -e3 <<< $'87654321\n\n~'
$ json -b5 -e3 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 1\n\n~
json: error: <stdin>:3:1:      ^
command failed: json -b5 -e3 <<< $'87654321\n\n~'
$ json -b6 -e3 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 1\n\n~
json: error: <stdin>:3:1:      ^
command failed: json -b6 -e3 <<< $'87654321\n\n~'
$ json -b7 -e3 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 1\n\n~
json: error: <stdin>:3:1:      ^
command failed: json -b7 -e3 <<< $'87654321\n\n~'
$ json -b8 -e3 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 1\n\n~
json: error: <stdin>:3:1:      ^
command failed: json -b8 -e3 <<< $'87654321\n\n~'
$ json -b9 -e3 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 1\n\n~
json: error: <stdin>:3:1:      ^
command failed: json -b9 -e3 <<< $'87654321\n\n~'
$ json -b10 -e3 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 1\n\n~
json: error: <stdin>:3:1:      ^
command failed: json -b10 -e3 <<< $'87654321\n\n~'
$ json -b11 -e3 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 1\n\n~
json: error: <stdin>:3:1:      ^
command failed: json -b11 -e3 <<< $'87654321\n\n~'
$ json -b12 -e3 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 1\n\n~
json: error: <stdin>:3:1:      ^
command failed: json -b12 -e3 <<< $'87654321\n\n~'
$ json -b13 -e3 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 1\n\n~
json: error: <stdin>:3:1:      ^
command failed: json -b13 -e3 <<< $'87654321\n\n~'
$ json -b14 -e3 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 1\n\n~
json: error: <stdin>:3:1:      ^
command failed: json -b14 -e3 <<< $'87654321\n\n~'
$ json -b15 -e3 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 1\n\n~
json: error: <stdin>:3:1:      ^
command failed: json -b15 -e3 <<< $'87654321\n\n~'
$ json -b16 -e3 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 1\n\n~
json: error: <stdin>:3:1:      ^
command failed: json -b16 -e3 <<< $'87654321\n\n~'
$ json -b17 -e3 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 1\n\n~
json: error: <stdin>:3:1:      ^
command failed: json -b17 -e3 <<< $'87654321\n\n~'
$ json -b18 -e3 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 1\n\n~
json: error: <stdin>:3:1:      ^
command failed: json -b18 -e3 <<< $'87654321\n\n~'
$ json -b19 -e3 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 1\n\n~
json: error: <stdin>:3:1:      ^
command failed: json -b19 -e3 <<< $'87654321\n\n~'
$ json -b1 -e4 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 21\n\n~
json: error: <stdin>:3:1:       ^
command failed: json -b1 -e4 <<< $'87654321\n\n~'
$ json -b2 -e4 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 21\n\n~
json: error: <stdin>:3:1:       ^
command failed: json -b2 -e4 <<< $'87654321\n\n~'
$ json -b3 -e4 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 21\n\n~
json: error: <stdin>:3:1:       ^
command failed: json -b3 -e4 <<< $'87654321\n\n~'
$ json -b4 -e4 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 21\n\n~
json: error: <stdin>:3:1:       ^
command failed: json -b4 -e4 <<< $'87654321\n\n~'
$ json -b5 -e4 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 21\n\n~
json: error: <stdin>:3:1:       ^
command failed: json -b5 -e4 <<< $'87654321\n\n~'
$ json -b6 -e4 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 21\n\n~
json: error: <stdin>:3:1:       ^
command failed: json -b6 -e4 <<< $'87654321\n\n~'
$ json -b7 -e4 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 21\n\n~
json: error: <stdin>:3:1:       ^
command failed: json -b7 -e4 <<< $'87654321\n\n~'
$ json -b8 -e4 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 21\n\n~
json: error: <stdin>:3:1:       ^
command failed: json -b8 -e4 <<< $'87654321\n\n~'
$ json -b9 -e4 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 21\n\n~
json: error: <stdin>:3:1:       ^
command failed: json -b9 -e4 <<< $'87654321\n\n~'
$ json -b10 -e4 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 21\n\n~
json: error: <stdin>:3:1:       ^
command failed: json -b10 -e4 <<< $'87654321\n\n~'
$ json -b11 -e4 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 21\n\n~
json: error: <stdin>:3:1:       ^
command failed: json -b11 -e4 <<< $'87654321\n\n~'
$ json -b12 -e4 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 21\n\n~
json: error: <stdin>:3:1:       ^
command failed: json -b12 -e4 <<< $'87654321\n\n~'
$ json -b13 -e4 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 21\n\n~
json: error: <stdin>:3:1:       ^
command failed: json -b13 -e4 <<< $'87654321\n\n~'
$ json -b14 -e4 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 21\n\n~
json: error: <stdin>:3:1:       ^
command failed: json -b14 -e4 <<< $'87654321\n\n~'
$ json -b15 -e4 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 21\n\n~
json: error: <stdin>:3:1:       ^
command failed: json -b15 -e4 <<< $'87654321\n\n~'
$ json -b16 -e4 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 21\n\n~
json: error: <stdin>:3:1:       ^
command failed: json -b16 -e4 <<< $'87654321\n\n~'
$ json -b17 -e4 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 21\n\n~
json: error: <stdin>:3:1:       ^
command failed: json -b17 -e4 <<< $'87654321\n\n~'
$ json -b18 -e4 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 21\n\n~
json: error: <stdin>:3:1:       ^
command failed: json -b18 -e4 <<< $'87654321\n\n~'
$ json -b19 -e4 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 21\n\n~
json: error: <stdin>:3:1:       ^
command failed: json -b19 -e4 <<< $'87654321\n\n~'
$ json -b1 -e5 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 321\n\n~
json: error: <stdin>:3:1:        ^
command failed: json -b1 -e5 <<< $'87654321\n\n~'
$ json -b2 -e5 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 321\n\n~
json: error: <stdin>:3:1:        ^
command failed: json -b2 -e5 <<< $'87654321\n\n~'
$ json -b3 -e5 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 321\n\n~
json: error: <stdin>:3:1:        ^
command failed: json -b3 -e5 <<< $'87654321\n\n~'
$ json -b4 -e5 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 321\n\n~
json: error: <stdin>:3:1:        ^
command failed: json -b4 -e5 <<< $'87654321\n\n~'
$ json -b5 -e5 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 321\n\n~
json: error: <stdin>:3:1:        ^
command failed: json -b5 -e5 <<< $'87654321\n\n~'
$ json -b6 -e5 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 321\n\n~
json: error: <stdin>:3:1:        ^
command failed: json -b6 -e5 <<< $'87654321\n\n~'
$ json -b7 -e5 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 321\n\n~
json: error: <stdin>:3:1:        ^
command failed: json -b7 -e5 <<< $'87654321\n\n~'
$ json -b8 -e5 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 321\n\n~
json: error: <stdin>:3:1:        ^
command failed: json -b8 -e5 <<< $'87654321\n\n~'
$ json -b9 -e5 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 321\n\n~
json: error: <stdin>:3:1:        ^
command failed: json -b9 -e5 <<< $'87654321\n\n~'
$ json -b10 -e5 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 321\n\n~
json: error: <stdin>:3:1:        ^
command failed: json -b10 -e5 <<< $'87654321\n\n~'
$ json -b11 -e5 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 321\n\n~
json: error: <stdin>:3:1:        ^
command failed: json -b11 -e5 <<< $'87654321\n\n~'
$ json -b12 -e5 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 321\n\n~
json: error: <stdin>:3:1:        ^
command failed: json -b12 -e5 <<< $'87654321\n\n~'
$ json -b13 -e5 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 321\n\n~
json: error: <stdin>:3:1:        ^
command failed: json -b13 -e5 <<< $'87654321\n\n~'
$ json -b14 -e5 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 321\n\n~
json: error: <stdin>:3:1:        ^
command failed: json -b14 -e5 <<< $'87654321\n\n~'
$ json -b15 -e5 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 321\n\n~
json: error: <stdin>:3:1:        ^
command failed: json -b15 -e5 <<< $'87654321\n\n~'
$ json -b16 -e5 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 321\n\n~
json: error: <stdin>:3:1:        ^
command failed: json -b16 -e5 <<< $'87654321\n\n~'
$ json -b17 -e5 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 321\n\n~
json: error: <stdin>:3:1:        ^
command failed: json -b17 -e5 <<< $'87654321\n\n~'
$ json -b18 -e5 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 321\n\n~
json: error: <stdin>:3:1:        ^
command failed: json -b18 -e5 <<< $'87654321\n\n~'
$ json -b19 -e5 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 321\n\n~
json: error: <stdin>:3:1:        ^
command failed: json -b19 -e5 <<< $'87654321\n\n~'
$ json -b1 -e6 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 4321\n\n~
json: error: <stdin>:3:1:         ^
command failed: json -b1 -e6 <<< $'87654321\n\n~'
$ json -b2 -e6 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 4321\n\n~
json: error: <stdin>:3:1:         ^
command failed: json -b2 -e6 <<< $'87654321\n\n~'
$ json -b3 -e6 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 4321\n\n~
json: error: <stdin>:3:1:         ^
command failed: json -b3 -e6 <<< $'87654321\n\n~'
$ json -b4 -e6 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 4321\n\n~
json: error: <stdin>:3:1:         ^
command failed: json -b4 -e6 <<< $'87654321\n\n~'
$ json -b5 -e6 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 4321\n\n~
json: error: <stdin>:3:1:         ^
command failed: json -b5 -e6 <<< $'87654321\n\n~'
$ json -b6 -e6 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 4321\n\n~
json: error: <stdin>:3:1:         ^
command failed: json -b6 -e6 <<< $'87654321\n\n~'
$ json -b7 -e6 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 4321\n\n~
json: error: <stdin>:3:1:         ^
command failed: json -b7 -e6 <<< $'87654321\n\n~'
$ json -b8 -e6 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 4321\n\n~
json: error: <stdin>:3:1:         ^
command failed: json -b8 -e6 <<< $'87654321\n\n~'
$ json -b9 -e6 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 4321\n\n~
json: error: <stdin>:3:1:         ^
command failed: json -b9 -e6 <<< $'87654321\n\n~'
$ json -b10 -e6 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 4321\n\n~
json: error: <stdin>:3:1:         ^
command failed: json -b10 -e6 <<< $'87654321\n\n~'
$ json -b11 -e6 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 4321\n\n~
json: error: <stdin>:3:1:         ^
command failed: json -b11 -e6 <<< $'87654321\n\n~'
$ json -b12 -e6 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 4321\n\n~
json: error: <stdin>:3:1:         ^
command failed: json -b12 -e6 <<< $'87654321\n\n~'
$ json -b13 -e6 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 4321\n\n~
json: error: <stdin>:3:1:         ^
command failed: json -b13 -e6 <<< $'87654321\n\n~'
$ json -b14 -e6 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 4321\n\n~
json: error: <stdin>:3:1:         ^
command failed: json -b14 -e6 <<< $'87654321\n\n~'
$ json -b15 -e6 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 4321\n\n~
json: error: <stdin>:3:1:         ^
command failed: json -b15 -e6 <<< $'87654321\n\n~'
$ json -b16 -e6 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 4321\n\n~
json: error: <stdin>:3:1:         ^
command failed: json -b16 -e6 <<< $'87654321\n\n~'
$ json -b17 -e6 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 4321\n\n~
json: error: <stdin>:3:1:         ^
command failed: json -b17 -e6 <<< $'87654321\n\n~'
$ json -b18 -e6 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 4321\n\n~
json: error: <stdin>:3:1:         ^
command failed: json -b18 -e6 <<< $'87654321\n\n~'
$ json -b19 -e6 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 4321\n\n~
json: error: <stdin>:3:1:         ^
command failed: json -b19 -e6 <<< $'87654321\n\n~'
$ json -b1 -e7 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 54321\n\n~
json: error: <stdin>:3:1:          ^
command failed: json -b1 -e7 <<< $'87654321\n\n~'
$ json -b2 -e7 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 54321\n\n~
json: error: <stdin>:3:1:          ^
command failed: json -b2 -e7 <<< $'87654321\n\n~'
$ json -b3 -e7 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 54321\n\n~
json: error: <stdin>:3:1:          ^
command failed: json -b3 -e7 <<< $'87654321\n\n~'
$ json -b4 -e7 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 54321\n\n~
json: error: <stdin>:3:1:          ^
command failed: json -b4 -e7 <<< $'87654321\n\n~'
$ json -b5 -e7 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 54321\n\n~
json: error: <stdin>:3:1:          ^
command failed: json -b5 -e7 <<< $'87654321\n\n~'
$ json -b6 -e7 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 54321\n\n~
json: error: <stdin>:3:1:          ^
command failed: json -b6 -e7 <<< $'87654321\n\n~'
$ json -b7 -e7 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 54321\n\n~
json: error: <stdin>:3:1:          ^
command failed: json -b7 -e7 <<< $'87654321\n\n~'
$ json -b8 -e7 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 54321\n\n~
json: error: <stdin>:3:1:          ^
command failed: json -b8 -e7 <<< $'87654321\n\n~'
$ json -b9 -e7 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 54321\n\n~
json: error: <stdin>:3:1:          ^
command failed: json -b9 -e7 <<< $'87654321\n\n~'
$ json -b10 -e7 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 54321\n\n~
json: error: <stdin>:3:1:          ^
command failed: json -b10 -e7 <<< $'87654321\n\n~'
$ json -b11 -e7 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 54321\n\n~
json: error: <stdin>:3:1:          ^
command failed: json -b11 -e7 <<< $'87654321\n\n~'
$ json -b12 -e7 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 54321\n\n~
json: error: <stdin>:3:1:          ^
command failed: json -b12 -e7 <<< $'87654321\n\n~'
$ json -b13 -e7 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 54321\n\n~
json: error: <stdin>:3:1:          ^
command failed: json -b13 -e7 <<< $'87654321\n\n~'
$ json -b14 -e7 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 54321\n\n~
json: error: <stdin>:3:1:          ^
command failed: json -b14 -e7 <<< $'87654321\n\n~'
$ json -b15 -e7 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 54321\n\n~
json: error: <stdin>:3:1:          ^
command failed: json -b15 -e7 <<< $'87654321\n\n~'
$ json -b16 -e7 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 54321\n\n~
json: error: <stdin>:3:1:          ^
command failed: json -b16 -e7 <<< $'87654321\n\n~'
$ json -b17 -e7 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 54321\n\n~
json: error: <stdin>:3:1:          ^
command failed: json -b17 -e7 <<< $'87654321\n\n~'
$ json -b18 -e7 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 54321\n\n~
json: error: <stdin>:3:1:          ^
command failed: json -b18 -e7 <<< $'87654321\n\n~'
$ json -b19 -e7 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 54321\n\n~
json: error: <stdin>:3:1:          ^
command failed: json -b19 -e7 <<< $'87654321\n\n~'
$ json -b1 -e8 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 654321\n\n~
json: error: <stdin>:3:1:           ^
command failed: json -b1 -e8 <<< $'87654321\n\n~'
$ json -b2 -e8 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 654321\n\n~
json: error: <stdin>:3:1:           ^
command failed: json -b2 -e8 <<< $'87654321\n\n~'
$ json -b3 -e8 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 654321\n\n~
json: error: <stdin>:3:1:           ^
command failed: json -b3 -e8 <<< $'87654321\n\n~'
$ json -b4 -e8 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 654321\n\n~
json: error: <stdin>:3:1:           ^
command failed: json -b4 -e8 <<< $'87654321\n\n~'
$ json -b5 -e8 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 654321\n\n~
json: error: <stdin>:3:1:           ^
command failed: json -b5 -e8 <<< $'87654321\n\n~'
$ json -b6 -e8 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 654321\n\n~
json: error: <stdin>:3:1:           ^
command failed: json -b6 -e8 <<< $'87654321\n\n~'
$ json -b7 -e8 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 654321\n\n~
json: error: <stdin>:3:1:           ^
command failed: json -b7 -e8 <<< $'87654321\n\n~'
$ json -b8 -e8 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 654321\n\n~
json: error: <stdin>:3:1:           ^
command failed: json -b8 -e8 <<< $'87654321\n\n~'
$ json -b9 -e8 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 654321\n\n~
json: error: <stdin>:3:1:           ^
command failed: json -b9 -e8 <<< $'87654321\n\n~'
$ json -b10 -e8 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 654321\n\n~
json: error: <stdin>:3:1:           ^
command failed: json -b10 -e8 <<< $'87654321\n\n~'
$ json -b11 -e8 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 654321\n\n~
json: error: <stdin>:3:1:           ^
command failed: json -b11 -e8 <<< $'87654321\n\n~'
$ json -b12 -e8 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 654321\n\n~
json: error: <stdin>:3:1:           ^
command failed: json -b12 -e8 <<< $'87654321\n\n~'
$ json -b13 -e8 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 654321\n\n~
json: error: <stdin>:3:1:           ^
command failed: json -b13 -e8 <<< $'87654321\n\n~'
$ json -b14 -e8 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 654321\n\n~
json: error: <stdin>:3:1:           ^
command failed: json -b14 -e8 <<< $'87654321\n\n~'
$ json -b15 -e8 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 654321\n\n~
json: error: <stdin>:3:1:           ^
command failed: json -b15 -e8 <<< $'87654321\n\n~'
$ json -b16 -e8 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 654321\n\n~
json: error: <stdin>:3:1:           ^
command failed: json -b16 -e8 <<< $'87654321\n\n~'
$ json -b17 -e8 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 654321\n\n~
json: error: <stdin>:3:1:           ^
command failed: json -b17 -e8 <<< $'87654321\n\n~'
$ json -b18 -e8 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 654321\n\n~
json: error: <stdin>:3:1:           ^
command failed: json -b18 -e8 <<< $'87654321\n\n~'
$ json -b19 -e8 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 654321\n\n~
json: error: <stdin>:3:1:           ^
command failed: json -b19 -e8 <<< $'87654321\n\n~'
$ json -b1 -e9 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 7654321\n\n~
json: error: <stdin>:3:1:            ^
command failed: json -b1 -e9 <<< $'87654321\n\n~'
$ json -b2 -e9 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 7654321\n\n~
json: error: <stdin>:3:1:            ^
command failed: json -b2 -e9 <<< $'87654321\n\n~'
$ json -b3 -e9 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 7654321\n\n~
json: error: <stdin>:3:1:            ^
command failed: json -b3 -e9 <<< $'87654321\n\n~'
$ json -b4 -e9 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 7654321\n\n~
json: error: <stdin>:3:1:            ^
command failed: json -b4 -e9 <<< $'87654321\n\n~'
$ json -b5 -e9 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 7654321\n\n~
json: error: <stdin>:3:1:            ^
command failed: json -b5 -e9 <<< $'87654321\n\n~'
$ json -b6 -e9 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 7654321\n\n~
json: error: <stdin>:3:1:            ^
command failed: json -b6 -e9 <<< $'87654321\n\n~'
$ json -b7 -e9 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 7654321\n\n~
json: error: <stdin>:3:1:            ^
command failed: json -b7 -e9 <<< $'87654321\n\n~'
$ json -b8 -e9 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 7654321\n\n~
json: error: <stdin>:3:1:            ^
command failed: json -b8 -e9 <<< $'87654321\n\n~'
$ json -b9 -e9 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 7654321\n\n~
json: error: <stdin>:3:1:            ^
command failed: json -b9 -e9 <<< $'87654321\n\n~'
$ json -b10 -e9 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 7654321\n\n~
json: error: <stdin>:3:1:            ^
command failed: json -b10 -e9 <<< $'87654321\n\n~'
$ json -b11 -e9 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 7654321\n\n~
json: error: <stdin>:3:1:            ^
command failed: json -b11 -e9 <<< $'87654321\n\n~'
$ json -b12 -e9 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 7654321\n\n~
json: error: <stdin>:3:1:            ^
command failed: json -b12 -e9 <<< $'87654321\n\n~'
$ json -b13 -e9 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 7654321\n\n~
json: error: <stdin>:3:1:            ^
command failed: json -b13 -e9 <<< $'87654321\n\n~'
$ json -b14 -e9 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 7654321\n\n~
json: error: <stdin>:3:1:            ^
command failed: json -b14 -e9 <<< $'87654321\n\n~'
$ json -b15 -e9 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 7654321\n\n~
json: error: <stdin>:3:1:            ^
command failed: json -b15 -e9 <<< $'87654321\n\n~'
$ json -b16 -e9 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 7654321\n\n~
json: error: <stdin>:3:1:            ^
command failed: json -b16 -e9 <<< $'87654321\n\n~'
$ json -b17 -e9 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 7654321\n\n~
json: error: <stdin>:3:1:            ^
command failed: json -b17 -e9 <<< $'87654321\n\n~'
$ json -b18 -e9 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 7654321\n\n~
json: error: <stdin>:3:1:            ^
command failed: json -b18 -e9 <<< $'87654321\n\n~'
$ json -b19 -e9 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 7654321\n\n~
json: error: <stdin>:3:1:            ^
command failed: json -b19 -e9 <<< $'87654321\n\n~'
$ json -b1 -e10 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~
json: error: <stdin>:3:1:             ^
command failed: json -b1 -e10 <<< $'87654321\n\n~'
$ json -b2 -e10 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~
json: error: <stdin>:3:1:             ^
command failed: json -b2 -e10 <<< $'87654321\n\n~'
$ json -b3 -e10 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~
json: error: <stdin>:3:1:             ^
command failed: json -b3 -e10 <<< $'87654321\n\n~'
$ json -b4 -e10 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~
json: error: <stdin>:3:1:             ^
command failed: json -b4 -e10 <<< $'87654321\n\n~'
$ json -b5 -e10 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~
json: error: <stdin>:3:1:             ^
command failed: json -b5 -e10 <<< $'87654321\n\n~'
$ json -b6 -e10 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~
json: error: <stdin>:3:1:             ^
command failed: json -b6 -e10 <<< $'87654321\n\n~'
$ json -b7 -e10 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~
json: error: <stdin>:3:1:             ^
command failed: json -b7 -e10 <<< $'87654321\n\n~'
$ json -b8 -e10 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~
json: error: <stdin>:3:1:             ^
command failed: json -b8 -e10 <<< $'87654321\n\n~'
$ json -b9 -e10 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~
json: error: <stdin>:3:1:             ^
command failed: json -b9 -e10 <<< $'87654321\n\n~'
$ json -b10 -e10 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~
json: error: <stdin>:3:1:             ^
command failed: json -b10 -e10 <<< $'87654321\n\n~'
$ json -b11 -e10 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~
json: error: <stdin>:3:1:             ^
command failed: json -b11 -e10 <<< $'87654321\n\n~'
$ json -b12 -e10 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~
json: error: <stdin>:3:1:             ^
command failed: json -b12 -e10 <<< $'87654321\n\n~'
$ json -b13 -e10 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~
json: error: <stdin>:3:1:             ^
command failed: json -b13 -e10 <<< $'87654321\n\n~'
$ json -b14 -e10 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~
json: error: <stdin>:3:1:             ^
command failed: json -b14 -e10 <<< $'87654321\n\n~'
$ json -b15 -e10 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~
json: error: <stdin>:3:1:             ^
command failed: json -b15 -e10 <<< $'87654321\n\n~'
$ json -b16 -e10 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~
json: error: <stdin>:3:1:             ^
command failed: json -b16 -e10 <<< $'87654321\n\n~'
$ json -b17 -e10 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~
json: error: <stdin>:3:1:             ^
command failed: json -b17 -e10 <<< $'87654321\n\n~'
$ json -b18 -e10 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~
json: error: <stdin>:3:1:             ^
command failed: json -b18 -e10 <<< $'87654321\n\n~'
$ json -b19 -e10 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~
json: error: <stdin>:3:1:             ^
command failed: json -b19 -e10 <<< $'87654321\n\n~'
$ json -b1 -e11 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~
json: error: <stdin>:3:1:             ^
command failed: json -b1 -e11 <<< $'87654321\n\n~'
$ json -b2 -e11 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~
json: error: <stdin>:3:1:             ^
command failed: json -b2 -e11 <<< $'87654321\n\n~'
$ json -b3 -e11 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~
json: error: <stdin>:3:1:             ^
command failed: json -b3 -e11 <<< $'87654321\n\n~'
$ json -b4 -e11 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~
json: error: <stdin>:3:1:             ^
command failed: json -b4 -e11 <<< $'87654321\n\n~'
$ json -b5 -e11 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~
json: error: <stdin>:3:1:             ^
command failed: json -b5 -e11 <<< $'87654321\n\n~'
$ json -b6 -e11 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~
json: error: <stdin>:3:1:             ^
command failed: json -b6 -e11 <<< $'87654321\n\n~'
$ json -b7 -e11 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~
json: error: <stdin>:3:1:             ^
command failed: json -b7 -e11 <<< $'87654321\n\n~'
$ json -b8 -e11 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~
json: error: <stdin>:3:1:             ^
command failed: json -b8 -e11 <<< $'87654321\n\n~'
$ json -b9 -e11 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~
json: error: <stdin>:3:1:             ^
command failed: json -b9 -e11 <<< $'87654321\n\n~'
$ json -b10 -e11 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~
json: error: <stdin>:3:1:             ^
command failed: json -b10 -e11 <<< $'87654321\n\n~'
$ json -b11 -e11 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~
json: error: <stdin>:3:1:             ^
command failed: json -b11 -e11 <<< $'87654321\n\n~'
$ json -b12 -e11 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~
json: error: <stdin>:3:1:             ^
command failed: json -b12 -e11 <<< $'87654321\n\n~'
$ json -b13 -e11 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~
json: error: <stdin>:3:1:             ^
command failed: json -b13 -e11 <<< $'87654321\n\n~'
$ json -b14 -e11 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~
json: error: <stdin>:3:1:             ^
command failed: json -b14 -e11 <<< $'87654321\n\n~'
$ json -b15 -e11 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~
json: error: <stdin>:3:1:             ^
command failed: json -b15 -e11 <<< $'87654321\n\n~'
$ json -b16 -e11 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~
json: error: <stdin>:3:1:             ^
command failed: json -b16 -e11 <<< $'87654321\n\n~'
$ json -b17 -e11 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~
json: error: <stdin>:3:1:             ^
command failed: json -b17 -e11 <<< $'87654321\n\n~'
$ json -b18 -e11 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~
json: error: <stdin>:3:1:             ^
command failed: json -b18 -e11 <<< $'87654321\n\n~'
$ json -b19 -e11 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~
json: error: <stdin>:3:1:             ^
command failed: json -b19 -e11 <<< $'87654321\n\n~'
$ json -b1 -e12 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~
json: error: <stdin>:3:1:             ^
command failed: json -b1 -e12 <<< $'87654321\n\n~'
$ json -b2 -e12 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~
json: error: <stdin>:3:1:             ^
command failed: json -b2 -e12 <<< $'87654321\n\n~'
$ json -b3 -e12 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~
json: error: <stdin>:3:1:             ^
command failed: json -b3 -e12 <<< $'87654321\n\n~'
$ json -b4 -e12 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~
json: error: <stdin>:3:1:             ^
command failed: json -b4 -e12 <<< $'87654321\n\n~'
$ json -b5 -e12 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~
json: error: <stdin>:3:1:             ^
command failed: json -b5 -e12 <<< $'87654321\n\n~'
$ json -b6 -e12 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~
json: error: <stdin>:3:1:             ^
command failed: json -b6 -e12 <<< $'87654321\n\n~'
$ json -b7 -e12 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~
json: error: <stdin>:3:1:             ^
command failed: json -b7 -e12 <<< $'87654321\n\n~'
$ json -b8 -e12 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~
json: error: <stdin>:3:1:             ^
command failed: json -b8 -e12 <<< $'87654321\n\n~'
$ json -b9 -e12 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~
json: error: <stdin>:3:1:             ^
command failed: json -b9 -e12 <<< $'87654321\n\n~'
$ json -b10 -e12 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~
json: error: <stdin>:3:1:             ^
command failed: json -b10 -e12 <<< $'87654321\n\n~'
$ json -b11 -e12 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~
json: error: <stdin>:3:1:             ^
command failed: json -b11 -e12 <<< $'87654321\n\n~'
$ json -b12 -e12 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~
json: error: <stdin>:3:1:             ^
command failed: json -b12 -e12 <<< $'87654321\n\n~'
$ json -b13 -e12 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~
json: error: <stdin>:3:1:             ^
command failed: json -b13 -e12 <<< $'87654321\n\n~'
$ json -b14 -e12 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~
json: error: <stdin>:3:1:             ^
command failed: json -b14 -e12 <<< $'87654321\n\n~'
$ json -b15 -e12 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~
json: error: <stdin>:3:1:             ^
command failed: json -b15 -e12 <<< $'87654321\n\n~'
$ json -b16 -e12 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~
json: error: <stdin>:3:1:             ^
command failed: json -b16 -e12 <<< $'87654321\n\n~'
$ json -b17 -e12 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~
json: error: <stdin>:3:1:             ^
command failed: json -b17 -e12 <<< $'87654321\n\n~'
$ json -b18 -e12 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~
json: error: <stdin>:3:1:             ^
command failed: json -b18 -e12 <<< $'87654321\n\n~'
$ json -b19 -e12 <<< $'87654321\n\n~'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~
json: error: <stdin>:3:1:             ^
command failed: json -b19 -e12 <<< $'87654321\n\n~'
$

--[ error-context5 ]------------------------------------------------------------

$ json() { json0 -lOV "$@"; }
#
# # meta command:
# $ json-base-test -r -R2
#
$ json -b1 -e1 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n
json: error: <stdin>:1:1: ^
command failed: json -b1 -e1 <<< $'~\n\n12345678'
$ json -b2 -e1 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n
json: error: <stdin>:1:1: ^
command failed: json -b2 -e1 <<< $'~\n\n12345678'
$ json -b3 -e1 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n
json: error: <stdin>:1:1: ^
command failed: json -b3 -e1 <<< $'~\n\n12345678'
$ json -b4 -e1 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n
json: error: <stdin>:1:1: ^
command failed: json -b4 -e1 <<< $'~\n\n12345678'
$ json -b5 -e1 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n
json: error: <stdin>:1:1: ^
command failed: json -b5 -e1 <<< $'~\n\n12345678'
$ json -b6 -e1 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n
json: error: <stdin>:1:1: ^
command failed: json -b6 -e1 <<< $'~\n\n12345678'
$ json -b7 -e1 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n
json: error: <stdin>:1:1: ^
command failed: json -b7 -e1 <<< $'~\n\n12345678'
$ json -b8 -e1 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n
json: error: <stdin>:1:1: ^
command failed: json -b8 -e1 <<< $'~\n\n12345678'
$ json -b9 -e1 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n
json: error: <stdin>:1:1: ^
command failed: json -b9 -e1 <<< $'~\n\n12345678'
$ json -b10 -e1 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n
json: error: <stdin>:1:1: ^
command failed: json -b10 -e1 <<< $'~\n\n12345678'
$ json -b11 -e1 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n
json: error: <stdin>:1:1: ^
command failed: json -b11 -e1 <<< $'~\n\n12345678'
$ json -b12 -e1 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n
json: error: <stdin>:1:1: ^
command failed: json -b12 -e1 <<< $'~\n\n12345678'
$ json -b13 -e1 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n
json: error: <stdin>:1:1: ^
command failed: json -b13 -e1 <<< $'~\n\n12345678'
$ json -b14 -e1 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n
json: error: <stdin>:1:1: ^
command failed: json -b14 -e1 <<< $'~\n\n12345678'
$ json -b15 -e1 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n
json: error: <stdin>:1:1: ^
command failed: json -b15 -e1 <<< $'~\n\n12345678'
$ json -b16 -e1 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n
json: error: <stdin>:1:1: ^
command failed: json -b16 -e1 <<< $'~\n\n12345678'
$ json -b17 -e1 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n
json: error: <stdin>:1:1: ^
command failed: json -b17 -e1 <<< $'~\n\n12345678'
$ json -b18 -e1 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n
json: error: <stdin>:1:1: ^
command failed: json -b18 -e1 <<< $'~\n\n12345678'
$ json -b19 -e1 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n
json: error: <stdin>:1:1: ^
command failed: json -b19 -e1 <<< $'~\n\n12345678'
$ json -b1 -e2 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n
json: error: <stdin>:1:1: ^
command failed: json -b1 -e2 <<< $'~\n\n12345678'
$ json -b2 -e2 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n
json: error: <stdin>:1:1: ^
command failed: json -b2 -e2 <<< $'~\n\n12345678'
$ json -b3 -e2 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n
json: error: <stdin>:1:1: ^
command failed: json -b3 -e2 <<< $'~\n\n12345678'
$ json -b4 -e2 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n
json: error: <stdin>:1:1: ^
command failed: json -b4 -e2 <<< $'~\n\n12345678'
$ json -b5 -e2 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n
json: error: <stdin>:1:1: ^
command failed: json -b5 -e2 <<< $'~\n\n12345678'
$ json -b6 -e2 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n
json: error: <stdin>:1:1: ^
command failed: json -b6 -e2 <<< $'~\n\n12345678'
$ json -b7 -e2 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n
json: error: <stdin>:1:1: ^
command failed: json -b7 -e2 <<< $'~\n\n12345678'
$ json -b8 -e2 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n
json: error: <stdin>:1:1: ^
command failed: json -b8 -e2 <<< $'~\n\n12345678'
$ json -b9 -e2 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n
json: error: <stdin>:1:1: ^
command failed: json -b9 -e2 <<< $'~\n\n12345678'
$ json -b10 -e2 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n
json: error: <stdin>:1:1: ^
command failed: json -b10 -e2 <<< $'~\n\n12345678'
$ json -b11 -e2 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n
json: error: <stdin>:1:1: ^
command failed: json -b11 -e2 <<< $'~\n\n12345678'
$ json -b12 -e2 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n
json: error: <stdin>:1:1: ^
command failed: json -b12 -e2 <<< $'~\n\n12345678'
$ json -b13 -e2 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n
json: error: <stdin>:1:1: ^
command failed: json -b13 -e2 <<< $'~\n\n12345678'
$ json -b14 -e2 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n
json: error: <stdin>:1:1: ^
command failed: json -b14 -e2 <<< $'~\n\n12345678'
$ json -b15 -e2 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n
json: error: <stdin>:1:1: ^
command failed: json -b15 -e2 <<< $'~\n\n12345678'
$ json -b16 -e2 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n
json: error: <stdin>:1:1: ^
command failed: json -b16 -e2 <<< $'~\n\n12345678'
$ json -b17 -e2 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n
json: error: <stdin>:1:1: ^
command failed: json -b17 -e2 <<< $'~\n\n12345678'
$ json -b18 -e2 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n
json: error: <stdin>:1:1: ^
command failed: json -b18 -e2 <<< $'~\n\n12345678'
$ json -b19 -e2 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n
json: error: <stdin>:1:1: ^
command failed: json -b19 -e2 <<< $'~\n\n12345678'
$ json -b1 -e3 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n1
json: error: <stdin>:1:1: ^
command failed: json -b1 -e3 <<< $'~\n\n12345678'
$ json -b2 -e3 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n1
json: error: <stdin>:1:1: ^
command failed: json -b2 -e3 <<< $'~\n\n12345678'
$ json -b3 -e3 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n1
json: error: <stdin>:1:1: ^
command failed: json -b3 -e3 <<< $'~\n\n12345678'
$ json -b4 -e3 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n1
json: error: <stdin>:1:1: ^
command failed: json -b4 -e3 <<< $'~\n\n12345678'
$ json -b5 -e3 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n1
json: error: <stdin>:1:1: ^
command failed: json -b5 -e3 <<< $'~\n\n12345678'
$ json -b6 -e3 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n1
json: error: <stdin>:1:1: ^
command failed: json -b6 -e3 <<< $'~\n\n12345678'
$ json -b7 -e3 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n1
json: error: <stdin>:1:1: ^
command failed: json -b7 -e3 <<< $'~\n\n12345678'
$ json -b8 -e3 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n1
json: error: <stdin>:1:1: ^
command failed: json -b8 -e3 <<< $'~\n\n12345678'
$ json -b9 -e3 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n1
json: error: <stdin>:1:1: ^
command failed: json -b9 -e3 <<< $'~\n\n12345678'
$ json -b10 -e3 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n1
json: error: <stdin>:1:1: ^
command failed: json -b10 -e3 <<< $'~\n\n12345678'
$ json -b11 -e3 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n1
json: error: <stdin>:1:1: ^
command failed: json -b11 -e3 <<< $'~\n\n12345678'
$ json -b12 -e3 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n1
json: error: <stdin>:1:1: ^
command failed: json -b12 -e3 <<< $'~\n\n12345678'
$ json -b13 -e3 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n1
json: error: <stdin>:1:1: ^
command failed: json -b13 -e3 <<< $'~\n\n12345678'
$ json -b14 -e3 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n1
json: error: <stdin>:1:1: ^
command failed: json -b14 -e3 <<< $'~\n\n12345678'
$ json -b15 -e3 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n1
json: error: <stdin>:1:1: ^
command failed: json -b15 -e3 <<< $'~\n\n12345678'
$ json -b16 -e3 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n1
json: error: <stdin>:1:1: ^
command failed: json -b16 -e3 <<< $'~\n\n12345678'
$ json -b17 -e3 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n1
json: error: <stdin>:1:1: ^
command failed: json -b17 -e3 <<< $'~\n\n12345678'
$ json -b18 -e3 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n1
json: error: <stdin>:1:1: ^
command failed: json -b18 -e3 <<< $'~\n\n12345678'
$ json -b19 -e3 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n1
json: error: <stdin>:1:1: ^
command failed: json -b19 -e3 <<< $'~\n\n12345678'
$ json -b1 -e4 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12
json: error: <stdin>:1:1: ^
command failed: json -b1 -e4 <<< $'~\n\n12345678'
$ json -b2 -e4 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12
json: error: <stdin>:1:1: ^
command failed: json -b2 -e4 <<< $'~\n\n12345678'
$ json -b3 -e4 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12
json: error: <stdin>:1:1: ^
command failed: json -b3 -e4 <<< $'~\n\n12345678'
$ json -b4 -e4 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12
json: error: <stdin>:1:1: ^
command failed: json -b4 -e4 <<< $'~\n\n12345678'
$ json -b5 -e4 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12
json: error: <stdin>:1:1: ^
command failed: json -b5 -e4 <<< $'~\n\n12345678'
$ json -b6 -e4 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12
json: error: <stdin>:1:1: ^
command failed: json -b6 -e4 <<< $'~\n\n12345678'
$ json -b7 -e4 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12
json: error: <stdin>:1:1: ^
command failed: json -b7 -e4 <<< $'~\n\n12345678'
$ json -b8 -e4 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12
json: error: <stdin>:1:1: ^
command failed: json -b8 -e4 <<< $'~\n\n12345678'
$ json -b9 -e4 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12
json: error: <stdin>:1:1: ^
command failed: json -b9 -e4 <<< $'~\n\n12345678'
$ json -b10 -e4 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12
json: error: <stdin>:1:1: ^
command failed: json -b10 -e4 <<< $'~\n\n12345678'
$ json -b11 -e4 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12
json: error: <stdin>:1:1: ^
command failed: json -b11 -e4 <<< $'~\n\n12345678'
$ json -b12 -e4 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12
json: error: <stdin>:1:1: ^
command failed: json -b12 -e4 <<< $'~\n\n12345678'
$ json -b13 -e4 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12
json: error: <stdin>:1:1: ^
command failed: json -b13 -e4 <<< $'~\n\n12345678'
$ json -b14 -e4 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12
json: error: <stdin>:1:1: ^
command failed: json -b14 -e4 <<< $'~\n\n12345678'
$ json -b15 -e4 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12
json: error: <stdin>:1:1: ^
command failed: json -b15 -e4 <<< $'~\n\n12345678'
$ json -b16 -e4 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12
json: error: <stdin>:1:1: ^
command failed: json -b16 -e4 <<< $'~\n\n12345678'
$ json -b17 -e4 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12
json: error: <stdin>:1:1: ^
command failed: json -b17 -e4 <<< $'~\n\n12345678'
$ json -b18 -e4 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12
json: error: <stdin>:1:1: ^
command failed: json -b18 -e4 <<< $'~\n\n12345678'
$ json -b19 -e4 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12
json: error: <stdin>:1:1: ^
command failed: json -b19 -e4 <<< $'~\n\n12345678'
$ json -b1 -e5 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n123
json: error: <stdin>:1:1: ^
command failed: json -b1 -e5 <<< $'~\n\n12345678'
$ json -b2 -e5 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n123
json: error: <stdin>:1:1: ^
command failed: json -b2 -e5 <<< $'~\n\n12345678'
$ json -b3 -e5 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n123
json: error: <stdin>:1:1: ^
command failed: json -b3 -e5 <<< $'~\n\n12345678'
$ json -b4 -e5 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n123
json: error: <stdin>:1:1: ^
command failed: json -b4 -e5 <<< $'~\n\n12345678'
$ json -b5 -e5 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n123
json: error: <stdin>:1:1: ^
command failed: json -b5 -e5 <<< $'~\n\n12345678'
$ json -b6 -e5 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n123
json: error: <stdin>:1:1: ^
command failed: json -b6 -e5 <<< $'~\n\n12345678'
$ json -b7 -e5 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n123
json: error: <stdin>:1:1: ^
command failed: json -b7 -e5 <<< $'~\n\n12345678'
$ json -b8 -e5 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n123
json: error: <stdin>:1:1: ^
command failed: json -b8 -e5 <<< $'~\n\n12345678'
$ json -b9 -e5 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n123
json: error: <stdin>:1:1: ^
command failed: json -b9 -e5 <<< $'~\n\n12345678'
$ json -b10 -e5 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n123
json: error: <stdin>:1:1: ^
command failed: json -b10 -e5 <<< $'~\n\n12345678'
$ json -b11 -e5 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n123
json: error: <stdin>:1:1: ^
command failed: json -b11 -e5 <<< $'~\n\n12345678'
$ json -b12 -e5 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n123
json: error: <stdin>:1:1: ^
command failed: json -b12 -e5 <<< $'~\n\n12345678'
$ json -b13 -e5 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n123
json: error: <stdin>:1:1: ^
command failed: json -b13 -e5 <<< $'~\n\n12345678'
$ json -b14 -e5 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n123
json: error: <stdin>:1:1: ^
command failed: json -b14 -e5 <<< $'~\n\n12345678'
$ json -b15 -e5 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n123
json: error: <stdin>:1:1: ^
command failed: json -b15 -e5 <<< $'~\n\n12345678'
$ json -b16 -e5 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n123
json: error: <stdin>:1:1: ^
command failed: json -b16 -e5 <<< $'~\n\n12345678'
$ json -b17 -e5 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n123
json: error: <stdin>:1:1: ^
command failed: json -b17 -e5 <<< $'~\n\n12345678'
$ json -b18 -e5 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n123
json: error: <stdin>:1:1: ^
command failed: json -b18 -e5 <<< $'~\n\n12345678'
$ json -b19 -e5 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n123
json: error: <stdin>:1:1: ^
command failed: json -b19 -e5 <<< $'~\n\n12345678'
$ json -b1 -e6 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n1234
json: error: <stdin>:1:1: ^
command failed: json -b1 -e6 <<< $'~\n\n12345678'
$ json -b2 -e6 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n1234
json: error: <stdin>:1:1: ^
command failed: json -b2 -e6 <<< $'~\n\n12345678'
$ json -b3 -e6 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n1234
json: error: <stdin>:1:1: ^
command failed: json -b3 -e6 <<< $'~\n\n12345678'
$ json -b4 -e6 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n1234
json: error: <stdin>:1:1: ^
command failed: json -b4 -e6 <<< $'~\n\n12345678'
$ json -b5 -e6 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n1234
json: error: <stdin>:1:1: ^
command failed: json -b5 -e6 <<< $'~\n\n12345678'
$ json -b6 -e6 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n1234
json: error: <stdin>:1:1: ^
command failed: json -b6 -e6 <<< $'~\n\n12345678'
$ json -b7 -e6 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n1234
json: error: <stdin>:1:1: ^
command failed: json -b7 -e6 <<< $'~\n\n12345678'
$ json -b8 -e6 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n1234
json: error: <stdin>:1:1: ^
command failed: json -b8 -e6 <<< $'~\n\n12345678'
$ json -b9 -e6 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n1234
json: error: <stdin>:1:1: ^
command failed: json -b9 -e6 <<< $'~\n\n12345678'
$ json -b10 -e6 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n1234
json: error: <stdin>:1:1: ^
command failed: json -b10 -e6 <<< $'~\n\n12345678'
$ json -b11 -e6 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n1234
json: error: <stdin>:1:1: ^
command failed: json -b11 -e6 <<< $'~\n\n12345678'
$ json -b12 -e6 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n1234
json: error: <stdin>:1:1: ^
command failed: json -b12 -e6 <<< $'~\n\n12345678'
$ json -b13 -e6 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n1234
json: error: <stdin>:1:1: ^
command failed: json -b13 -e6 <<< $'~\n\n12345678'
$ json -b14 -e6 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n1234
json: error: <stdin>:1:1: ^
command failed: json -b14 -e6 <<< $'~\n\n12345678'
$ json -b15 -e6 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n1234
json: error: <stdin>:1:1: ^
command failed: json -b15 -e6 <<< $'~\n\n12345678'
$ json -b16 -e6 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n1234
json: error: <stdin>:1:1: ^
command failed: json -b16 -e6 <<< $'~\n\n12345678'
$ json -b17 -e6 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n1234
json: error: <stdin>:1:1: ^
command failed: json -b17 -e6 <<< $'~\n\n12345678'
$ json -b18 -e6 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n1234
json: error: <stdin>:1:1: ^
command failed: json -b18 -e6 <<< $'~\n\n12345678'
$ json -b19 -e6 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n1234
json: error: <stdin>:1:1: ^
command failed: json -b19 -e6 <<< $'~\n\n12345678'
$ json -b1 -e7 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345
json: error: <stdin>:1:1: ^
command failed: json -b1 -e7 <<< $'~\n\n12345678'
$ json -b2 -e7 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345
json: error: <stdin>:1:1: ^
command failed: json -b2 -e7 <<< $'~\n\n12345678'
$ json -b3 -e7 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345
json: error: <stdin>:1:1: ^
command failed: json -b3 -e7 <<< $'~\n\n12345678'
$ json -b4 -e7 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345
json: error: <stdin>:1:1: ^
command failed: json -b4 -e7 <<< $'~\n\n12345678'
$ json -b5 -e7 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345
json: error: <stdin>:1:1: ^
command failed: json -b5 -e7 <<< $'~\n\n12345678'
$ json -b6 -e7 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345
json: error: <stdin>:1:1: ^
command failed: json -b6 -e7 <<< $'~\n\n12345678'
$ json -b7 -e7 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345
json: error: <stdin>:1:1: ^
command failed: json -b7 -e7 <<< $'~\n\n12345678'
$ json -b8 -e7 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345
json: error: <stdin>:1:1: ^
command failed: json -b8 -e7 <<< $'~\n\n12345678'
$ json -b9 -e7 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345
json: error: <stdin>:1:1: ^
command failed: json -b9 -e7 <<< $'~\n\n12345678'
$ json -b10 -e7 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345
json: error: <stdin>:1:1: ^
command failed: json -b10 -e7 <<< $'~\n\n12345678'
$ json -b11 -e7 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345
json: error: <stdin>:1:1: ^
command failed: json -b11 -e7 <<< $'~\n\n12345678'
$ json -b12 -e7 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345
json: error: <stdin>:1:1: ^
command failed: json -b12 -e7 <<< $'~\n\n12345678'
$ json -b13 -e7 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345
json: error: <stdin>:1:1: ^
command failed: json -b13 -e7 <<< $'~\n\n12345678'
$ json -b14 -e7 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345
json: error: <stdin>:1:1: ^
command failed: json -b14 -e7 <<< $'~\n\n12345678'
$ json -b15 -e7 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345
json: error: <stdin>:1:1: ^
command failed: json -b15 -e7 <<< $'~\n\n12345678'
$ json -b16 -e7 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345
json: error: <stdin>:1:1: ^
command failed: json -b16 -e7 <<< $'~\n\n12345678'
$ json -b17 -e7 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345
json: error: <stdin>:1:1: ^
command failed: json -b17 -e7 <<< $'~\n\n12345678'
$ json -b18 -e7 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345
json: error: <stdin>:1:1: ^
command failed: json -b18 -e7 <<< $'~\n\n12345678'
$ json -b19 -e7 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345
json: error: <stdin>:1:1: ^
command failed: json -b19 -e7 <<< $'~\n\n12345678'
$ json -b1 -e8 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n123456
json: error: <stdin>:1:1: ^
command failed: json -b1 -e8 <<< $'~\n\n12345678'
$ json -b2 -e8 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n123456
json: error: <stdin>:1:1: ^
command failed: json -b2 -e8 <<< $'~\n\n12345678'
$ json -b3 -e8 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n123456
json: error: <stdin>:1:1: ^
command failed: json -b3 -e8 <<< $'~\n\n12345678'
$ json -b4 -e8 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n123456
json: error: <stdin>:1:1: ^
command failed: json -b4 -e8 <<< $'~\n\n12345678'
$ json -b5 -e8 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n123456
json: error: <stdin>:1:1: ^
command failed: json -b5 -e8 <<< $'~\n\n12345678'
$ json -b6 -e8 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n123456
json: error: <stdin>:1:1: ^
command failed: json -b6 -e8 <<< $'~\n\n12345678'
$ json -b7 -e8 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n123456
json: error: <stdin>:1:1: ^
command failed: json -b7 -e8 <<< $'~\n\n12345678'
$ json -b8 -e8 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n123456
json: error: <stdin>:1:1: ^
command failed: json -b8 -e8 <<< $'~\n\n12345678'
$ json -b9 -e8 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n123456
json: error: <stdin>:1:1: ^
command failed: json -b9 -e8 <<< $'~\n\n12345678'
$ json -b10 -e8 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n123456
json: error: <stdin>:1:1: ^
command failed: json -b10 -e8 <<< $'~\n\n12345678'
$ json -b11 -e8 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n123456
json: error: <stdin>:1:1: ^
command failed: json -b11 -e8 <<< $'~\n\n12345678'
$ json -b12 -e8 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n123456
json: error: <stdin>:1:1: ^
command failed: json -b12 -e8 <<< $'~\n\n12345678'
$ json -b13 -e8 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n123456
json: error: <stdin>:1:1: ^
command failed: json -b13 -e8 <<< $'~\n\n12345678'
$ json -b14 -e8 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n123456
json: error: <stdin>:1:1: ^
command failed: json -b14 -e8 <<< $'~\n\n12345678'
$ json -b15 -e8 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n123456
json: error: <stdin>:1:1: ^
command failed: json -b15 -e8 <<< $'~\n\n12345678'
$ json -b16 -e8 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n123456
json: error: <stdin>:1:1: ^
command failed: json -b16 -e8 <<< $'~\n\n12345678'
$ json -b17 -e8 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n123456
json: error: <stdin>:1:1: ^
command failed: json -b17 -e8 <<< $'~\n\n12345678'
$ json -b18 -e8 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n123456
json: error: <stdin>:1:1: ^
command failed: json -b18 -e8 <<< $'~\n\n12345678'
$ json -b19 -e8 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n123456
json: error: <stdin>:1:1: ^
command failed: json -b19 -e8 <<< $'~\n\n12345678'
$ json -b1 -e9 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n1234567
json: error: <stdin>:1:1: ^
command failed: json -b1 -e9 <<< $'~\n\n12345678'
$ json -b2 -e9 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n1234567
json: error: <stdin>:1:1: ^
command failed: json -b2 -e9 <<< $'~\n\n12345678'
$ json -b3 -e9 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n1234567
json: error: <stdin>:1:1: ^
command failed: json -b3 -e9 <<< $'~\n\n12345678'
$ json -b4 -e9 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n1234567
json: error: <stdin>:1:1: ^
command failed: json -b4 -e9 <<< $'~\n\n12345678'
$ json -b5 -e9 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n1234567
json: error: <stdin>:1:1: ^
command failed: json -b5 -e9 <<< $'~\n\n12345678'
$ json -b6 -e9 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n1234567
json: error: <stdin>:1:1: ^
command failed: json -b6 -e9 <<< $'~\n\n12345678'
$ json -b7 -e9 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n1234567
json: error: <stdin>:1:1: ^
command failed: json -b7 -e9 <<< $'~\n\n12345678'
$ json -b8 -e9 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n1234567
json: error: <stdin>:1:1: ^
command failed: json -b8 -e9 <<< $'~\n\n12345678'
$ json -b9 -e9 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n1234567
json: error: <stdin>:1:1: ^
command failed: json -b9 -e9 <<< $'~\n\n12345678'
$ json -b10 -e9 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n1234567
json: error: <stdin>:1:1: ^
command failed: json -b10 -e9 <<< $'~\n\n12345678'
$ json -b11 -e9 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n1234567
json: error: <stdin>:1:1: ^
command failed: json -b11 -e9 <<< $'~\n\n12345678'
$ json -b12 -e9 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n1234567
json: error: <stdin>:1:1: ^
command failed: json -b12 -e9 <<< $'~\n\n12345678'
$ json -b13 -e9 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n1234567
json: error: <stdin>:1:1: ^
command failed: json -b13 -e9 <<< $'~\n\n12345678'
$ json -b14 -e9 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n1234567
json: error: <stdin>:1:1: ^
command failed: json -b14 -e9 <<< $'~\n\n12345678'
$ json -b15 -e9 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n1234567
json: error: <stdin>:1:1: ^
command failed: json -b15 -e9 <<< $'~\n\n12345678'
$ json -b16 -e9 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n1234567
json: error: <stdin>:1:1: ^
command failed: json -b16 -e9 <<< $'~\n\n12345678'
$ json -b17 -e9 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n1234567
json: error: <stdin>:1:1: ^
command failed: json -b17 -e9 <<< $'~\n\n12345678'
$ json -b18 -e9 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n1234567
json: error: <stdin>:1:1: ^
command failed: json -b18 -e9 <<< $'~\n\n12345678'
$ json -b19 -e9 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n1234567
json: error: <stdin>:1:1: ^
command failed: json -b19 -e9 <<< $'~\n\n12345678'
$ json -b1 -e10 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345678
json: error: <stdin>:1:1: ^
command failed: json -b1 -e10 <<< $'~\n\n12345678'
$ json -b2 -e10 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345678
json: error: <stdin>:1:1: ^
command failed: json -b2 -e10 <<< $'~\n\n12345678'
$ json -b3 -e10 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345678
json: error: <stdin>:1:1: ^
command failed: json -b3 -e10 <<< $'~\n\n12345678'
$ json -b4 -e10 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345678
json: error: <stdin>:1:1: ^
command failed: json -b4 -e10 <<< $'~\n\n12345678'
$ json -b5 -e10 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345678
json: error: <stdin>:1:1: ^
command failed: json -b5 -e10 <<< $'~\n\n12345678'
$ json -b6 -e10 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345678
json: error: <stdin>:1:1: ^
command failed: json -b6 -e10 <<< $'~\n\n12345678'
$ json -b7 -e10 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345678
json: error: <stdin>:1:1: ^
command failed: json -b7 -e10 <<< $'~\n\n12345678'
$ json -b8 -e10 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345678
json: error: <stdin>:1:1: ^
command failed: json -b8 -e10 <<< $'~\n\n12345678'
$ json -b9 -e10 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345678
json: error: <stdin>:1:1: ^
command failed: json -b9 -e10 <<< $'~\n\n12345678'
$ json -b10 -e10 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345678
json: error: <stdin>:1:1: ^
command failed: json -b10 -e10 <<< $'~\n\n12345678'
$ json -b11 -e10 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345678
json: error: <stdin>:1:1: ^
command failed: json -b11 -e10 <<< $'~\n\n12345678'
$ json -b12 -e10 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345678
json: error: <stdin>:1:1: ^
command failed: json -b12 -e10 <<< $'~\n\n12345678'
$ json -b13 -e10 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345678
json: error: <stdin>:1:1: ^
command failed: json -b13 -e10 <<< $'~\n\n12345678'
$ json -b14 -e10 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345678
json: error: <stdin>:1:1: ^
command failed: json -b14 -e10 <<< $'~\n\n12345678'
$ json -b15 -e10 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345678
json: error: <stdin>:1:1: ^
command failed: json -b15 -e10 <<< $'~\n\n12345678'
$ json -b16 -e10 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345678
json: error: <stdin>:1:1: ^
command failed: json -b16 -e10 <<< $'~\n\n12345678'
$ json -b17 -e10 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345678
json: error: <stdin>:1:1: ^
command failed: json -b17 -e10 <<< $'~\n\n12345678'
$ json -b18 -e10 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345678
json: error: <stdin>:1:1: ^
command failed: json -b18 -e10 <<< $'~\n\n12345678'
$ json -b19 -e10 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345678
json: error: <stdin>:1:1: ^
command failed: json -b19 -e10 <<< $'~\n\n12345678'
$ json -b1 -e11 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345678
json: error: <stdin>:1:1: ^
command failed: json -b1 -e11 <<< $'~\n\n12345678'
$ json -b2 -e11 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345678
json: error: <stdin>:1:1: ^
command failed: json -b2 -e11 <<< $'~\n\n12345678'
$ json -b3 -e11 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345678
json: error: <stdin>:1:1: ^
command failed: json -b3 -e11 <<< $'~\n\n12345678'
$ json -b4 -e11 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345678
json: error: <stdin>:1:1: ^
command failed: json -b4 -e11 <<< $'~\n\n12345678'
$ json -b5 -e11 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345678
json: error: <stdin>:1:1: ^
command failed: json -b5 -e11 <<< $'~\n\n12345678'
$ json -b6 -e11 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345678
json: error: <stdin>:1:1: ^
command failed: json -b6 -e11 <<< $'~\n\n12345678'
$ json -b7 -e11 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345678
json: error: <stdin>:1:1: ^
command failed: json -b7 -e11 <<< $'~\n\n12345678'
$ json -b8 -e11 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345678
json: error: <stdin>:1:1: ^
command failed: json -b8 -e11 <<< $'~\n\n12345678'
$ json -b9 -e11 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345678
json: error: <stdin>:1:1: ^
command failed: json -b9 -e11 <<< $'~\n\n12345678'
$ json -b10 -e11 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345678
json: error: <stdin>:1:1: ^
command failed: json -b10 -e11 <<< $'~\n\n12345678'
$ json -b11 -e11 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345678
json: error: <stdin>:1:1: ^
command failed: json -b11 -e11 <<< $'~\n\n12345678'
$ json -b12 -e11 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345678
json: error: <stdin>:1:1: ^
command failed: json -b12 -e11 <<< $'~\n\n12345678'
$ json -b13 -e11 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345678
json: error: <stdin>:1:1: ^
command failed: json -b13 -e11 <<< $'~\n\n12345678'
$ json -b14 -e11 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345678
json: error: <stdin>:1:1: ^
command failed: json -b14 -e11 <<< $'~\n\n12345678'
$ json -b15 -e11 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345678
json: error: <stdin>:1:1: ^
command failed: json -b15 -e11 <<< $'~\n\n12345678'
$ json -b16 -e11 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345678
json: error: <stdin>:1:1: ^
command failed: json -b16 -e11 <<< $'~\n\n12345678'
$ json -b17 -e11 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345678
json: error: <stdin>:1:1: ^
command failed: json -b17 -e11 <<< $'~\n\n12345678'
$ json -b18 -e11 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345678
json: error: <stdin>:1:1: ^
command failed: json -b18 -e11 <<< $'~\n\n12345678'
$ json -b19 -e11 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345678
json: error: <stdin>:1:1: ^
command failed: json -b19 -e11 <<< $'~\n\n12345678'
$ json -b1 -e12 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345678
json: error: <stdin>:1:1: ^
command failed: json -b1 -e12 <<< $'~\n\n12345678'
$ json -b2 -e12 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345678
json: error: <stdin>:1:1: ^
command failed: json -b2 -e12 <<< $'~\n\n12345678'
$ json -b3 -e12 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345678
json: error: <stdin>:1:1: ^
command failed: json -b3 -e12 <<< $'~\n\n12345678'
$ json -b4 -e12 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345678
json: error: <stdin>:1:1: ^
command failed: json -b4 -e12 <<< $'~\n\n12345678'
$ json -b5 -e12 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345678
json: error: <stdin>:1:1: ^
command failed: json -b5 -e12 <<< $'~\n\n12345678'
$ json -b6 -e12 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345678
json: error: <stdin>:1:1: ^
command failed: json -b6 -e12 <<< $'~\n\n12345678'
$ json -b7 -e12 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345678
json: error: <stdin>:1:1: ^
command failed: json -b7 -e12 <<< $'~\n\n12345678'
$ json -b8 -e12 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345678
json: error: <stdin>:1:1: ^
command failed: json -b8 -e12 <<< $'~\n\n12345678'
$ json -b9 -e12 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345678
json: error: <stdin>:1:1: ^
command failed: json -b9 -e12 <<< $'~\n\n12345678'
$ json -b10 -e12 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345678
json: error: <stdin>:1:1: ^
command failed: json -b10 -e12 <<< $'~\n\n12345678'
$ json -b11 -e12 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345678
json: error: <stdin>:1:1: ^
command failed: json -b11 -e12 <<< $'~\n\n12345678'
$ json -b12 -e12 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345678
json: error: <stdin>:1:1: ^
command failed: json -b12 -e12 <<< $'~\n\n12345678'
$ json -b13 -e12 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345678
json: error: <stdin>:1:1: ^
command failed: json -b13 -e12 <<< $'~\n\n12345678'
$ json -b14 -e12 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345678
json: error: <stdin>:1:1: ^
command failed: json -b14 -e12 <<< $'~\n\n12345678'
$ json -b15 -e12 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345678
json: error: <stdin>:1:1: ^
command failed: json -b15 -e12 <<< $'~\n\n12345678'
$ json -b16 -e12 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345678
json: error: <stdin>:1:1: ^
command failed: json -b16 -e12 <<< $'~\n\n12345678'
$ json -b17 -e12 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345678
json: error: <stdin>:1:1: ^
command failed: json -b17 -e12 <<< $'~\n\n12345678'
$ json -b18 -e12 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345678
json: error: <stdin>:1:1: ^
command failed: json -b18 -e12 <<< $'~\n\n12345678'
$ json -b19 -e12 <<< $'~\n\n12345678'
json: error: <stdin>:1:1: lex error: invalid char
json: error: <stdin>:1:1: ~\n\n12345678
json: error: <stdin>:1:1: ^
command failed: json -b19 -e12 <<< $'~\n\n12345678'
$

--[ error-context6 ]------------------------------------------------------------

$ json() { json0 -lOV "$@"; }
#
# # meta command:
# $ json-base-test -b -B2
#
$ json -b1 -e1 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n~\n
json: error: <stdin>:3:1:   ^
command failed: json -b1 -e1 <<< $'87654321\n\n~\n\n12345678'
$ json -b2 -e1 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n~\n
json: error: <stdin>:3:1:   ^
command failed: json -b2 -e1 <<< $'87654321\n\n~\n\n12345678'
$ json -b3 -e1 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n~\n
json: error: <stdin>:3:1:   ^
command failed: json -b3 -e1 <<< $'87654321\n\n~\n\n12345678'
$ json -b4 -e1 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n~\n
json: error: <stdin>:3:1:   ^
command failed: json -b4 -e1 <<< $'87654321\n\n~\n\n12345678'
$ json -b5 -e1 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n~\n
json: error: <stdin>:3:1:   ^
command failed: json -b5 -e1 <<< $'87654321\n\n~\n\n12345678'
$ json -b6 -e1 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n~\n
json: error: <stdin>:3:1:   ^
command failed: json -b6 -e1 <<< $'87654321\n\n~\n\n12345678'
$ json -b7 -e1 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n~\n
json: error: <stdin>:3:1:   ^
command failed: json -b7 -e1 <<< $'87654321\n\n~\n\n12345678'
$ json -b8 -e1 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n~\n
json: error: <stdin>:3:1:   ^
command failed: json -b8 -e1 <<< $'87654321\n\n~\n\n12345678'
$ json -b9 -e1 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n~\n
json: error: <stdin>:3:1:   ^
command failed: json -b9 -e1 <<< $'87654321\n\n~\n\n12345678'
$ json -b10 -e1 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n~\n
json: error: <stdin>:3:1:   ^
command failed: json -b10 -e1 <<< $'87654321\n\n~\n\n12345678'
$ json -b11 -e1 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n~\n
json: error: <stdin>:3:1:   ^
command failed: json -b11 -e1 <<< $'87654321\n\n~\n\n12345678'
$ json -b12 -e1 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n~\n
json: error: <stdin>:3:1:   ^
command failed: json -b12 -e1 <<< $'87654321\n\n~\n\n12345678'
$ json -b13 -e1 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n~\n
json: error: <stdin>:3:1:   ^
command failed: json -b13 -e1 <<< $'87654321\n\n~\n\n12345678'
$ json -b14 -e1 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n~\n
json: error: <stdin>:3:1:   ^
command failed: json -b14 -e1 <<< $'87654321\n\n~\n\n12345678'
$ json -b15 -e1 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n~\n
json: error: <stdin>:3:1:   ^
command failed: json -b15 -e1 <<< $'87654321\n\n~\n\n12345678'
$ json -b16 -e1 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n~\n
json: error: <stdin>:3:1:   ^
command failed: json -b16 -e1 <<< $'87654321\n\n~\n\n12345678'
$ json -b17 -e1 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n~\n
json: error: <stdin>:3:1:   ^
command failed: json -b17 -e1 <<< $'87654321\n\n~\n\n12345678'
$ json -b18 -e1 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n~\n
json: error: <stdin>:3:1:   ^
command failed: json -b18 -e1 <<< $'87654321\n\n~\n\n12345678'
$ json -b19 -e1 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n~\n
json: error: <stdin>:3:1:   ^
command failed: json -b19 -e1 <<< $'87654321\n\n~\n\n12345678'
$ json -b1 -e2 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n\n~\n\n
json: error: <stdin>:3:1:     ^
command failed: json -b1 -e2 <<< $'87654321\n\n~\n\n12345678'
$ json -b2 -e2 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n\n~\n\n
json: error: <stdin>:3:1:     ^
command failed: json -b2 -e2 <<< $'87654321\n\n~\n\n12345678'
$ json -b3 -e2 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n\n~\n\n
json: error: <stdin>:3:1:     ^
command failed: json -b3 -e2 <<< $'87654321\n\n~\n\n12345678'
$ json -b4 -e2 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n\n~\n\n
json: error: <stdin>:3:1:     ^
command failed: json -b4 -e2 <<< $'87654321\n\n~\n\n12345678'
$ json -b5 -e2 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n\n~\n\n
json: error: <stdin>:3:1:     ^
command failed: json -b5 -e2 <<< $'87654321\n\n~\n\n12345678'
$ json -b6 -e2 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n\n~\n\n
json: error: <stdin>:3:1:     ^
command failed: json -b6 -e2 <<< $'87654321\n\n~\n\n12345678'
$ json -b7 -e2 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n\n~\n\n
json: error: <stdin>:3:1:     ^
command failed: json -b7 -e2 <<< $'87654321\n\n~\n\n12345678'
$ json -b8 -e2 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n\n~\n\n
json: error: <stdin>:3:1:     ^
command failed: json -b8 -e2 <<< $'87654321\n\n~\n\n12345678'
$ json -b9 -e2 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n\n~\n\n
json: error: <stdin>:3:1:     ^
command failed: json -b9 -e2 <<< $'87654321\n\n~\n\n12345678'
$ json -b10 -e2 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n\n~\n\n
json: error: <stdin>:3:1:     ^
command failed: json -b10 -e2 <<< $'87654321\n\n~\n\n12345678'
$ json -b11 -e2 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n\n~\n\n
json: error: <stdin>:3:1:     ^
command failed: json -b11 -e2 <<< $'87654321\n\n~\n\n12345678'
$ json -b12 -e2 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n\n~\n\n
json: error: <stdin>:3:1:     ^
command failed: json -b12 -e2 <<< $'87654321\n\n~\n\n12345678'
$ json -b13 -e2 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n\n~\n\n
json: error: <stdin>:3:1:     ^
command failed: json -b13 -e2 <<< $'87654321\n\n~\n\n12345678'
$ json -b14 -e2 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n\n~\n\n
json: error: <stdin>:3:1:     ^
command failed: json -b14 -e2 <<< $'87654321\n\n~\n\n12345678'
$ json -b15 -e2 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n\n~\n\n
json: error: <stdin>:3:1:     ^
command failed: json -b15 -e2 <<< $'87654321\n\n~\n\n12345678'
$ json -b16 -e2 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n\n~\n\n
json: error: <stdin>:3:1:     ^
command failed: json -b16 -e2 <<< $'87654321\n\n~\n\n12345678'
$ json -b17 -e2 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n\n~\n\n
json: error: <stdin>:3:1:     ^
command failed: json -b17 -e2 <<< $'87654321\n\n~\n\n12345678'
$ json -b18 -e2 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n\n~\n\n
json: error: <stdin>:3:1:     ^
command failed: json -b18 -e2 <<< $'87654321\n\n~\n\n12345678'
$ json -b19 -e2 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: \n\n~\n\n
json: error: <stdin>:3:1:     ^
command failed: json -b19 -e2 <<< $'87654321\n\n~\n\n12345678'
$ json -b1 -e3 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 1\n\n~\n\n1
json: error: <stdin>:3:1:      ^
command failed: json -b1 -e3 <<< $'87654321\n\n~\n\n12345678'
$ json -b2 -e3 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 1\n\n~\n\n1
json: error: <stdin>:3:1:      ^
command failed: json -b2 -e3 <<< $'87654321\n\n~\n\n12345678'
$ json -b3 -e3 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 1\n\n~\n\n1
json: error: <stdin>:3:1:      ^
command failed: json -b3 -e3 <<< $'87654321\n\n~\n\n12345678'
$ json -b4 -e3 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 1\n\n~\n\n1
json: error: <stdin>:3:1:      ^
command failed: json -b4 -e3 <<< $'87654321\n\n~\n\n12345678'
$ json -b5 -e3 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 1\n\n~\n\n1
json: error: <stdin>:3:1:      ^
command failed: json -b5 -e3 <<< $'87654321\n\n~\n\n12345678'
$ json -b6 -e3 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 1\n\n~\n\n1
json: error: <stdin>:3:1:      ^
command failed: json -b6 -e3 <<< $'87654321\n\n~\n\n12345678'
$ json -b7 -e3 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 1\n\n~\n\n1
json: error: <stdin>:3:1:      ^
command failed: json -b7 -e3 <<< $'87654321\n\n~\n\n12345678'
$ json -b8 -e3 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 1\n\n~\n\n1
json: error: <stdin>:3:1:      ^
command failed: json -b8 -e3 <<< $'87654321\n\n~\n\n12345678'
$ json -b9 -e3 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 1\n\n~\n\n1
json: error: <stdin>:3:1:      ^
command failed: json -b9 -e3 <<< $'87654321\n\n~\n\n12345678'
$ json -b10 -e3 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 1\n\n~\n\n1
json: error: <stdin>:3:1:      ^
command failed: json -b10 -e3 <<< $'87654321\n\n~\n\n12345678'
$ json -b11 -e3 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 1\n\n~\n\n1
json: error: <stdin>:3:1:      ^
command failed: json -b11 -e3 <<< $'87654321\n\n~\n\n12345678'
$ json -b12 -e3 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 1\n\n~\n\n1
json: error: <stdin>:3:1:      ^
command failed: json -b12 -e3 <<< $'87654321\n\n~\n\n12345678'
$ json -b13 -e3 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 1\n\n~\n\n1
json: error: <stdin>:3:1:      ^
command failed: json -b13 -e3 <<< $'87654321\n\n~\n\n12345678'
$ json -b14 -e3 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 1\n\n~\n\n1
json: error: <stdin>:3:1:      ^
command failed: json -b14 -e3 <<< $'87654321\n\n~\n\n12345678'
$ json -b15 -e3 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 1\n\n~\n\n1
json: error: <stdin>:3:1:      ^
command failed: json -b15 -e3 <<< $'87654321\n\n~\n\n12345678'
$ json -b16 -e3 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 1\n\n~\n\n1
json: error: <stdin>:3:1:      ^
command failed: json -b16 -e3 <<< $'87654321\n\n~\n\n12345678'
$ json -b17 -e3 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 1\n\n~\n\n1
json: error: <stdin>:3:1:      ^
command failed: json -b17 -e3 <<< $'87654321\n\n~\n\n12345678'
$ json -b18 -e3 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 1\n\n~\n\n1
json: error: <stdin>:3:1:      ^
command failed: json -b18 -e3 <<< $'87654321\n\n~\n\n12345678'
$ json -b19 -e3 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 1\n\n~\n\n1
json: error: <stdin>:3:1:      ^
command failed: json -b19 -e3 <<< $'87654321\n\n~\n\n12345678'
$ json -b1 -e4 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 21\n\n~\n\n12
json: error: <stdin>:3:1:       ^
command failed: json -b1 -e4 <<< $'87654321\n\n~\n\n12345678'
$ json -b2 -e4 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 21\n\n~\n\n12
json: error: <stdin>:3:1:       ^
command failed: json -b2 -e4 <<< $'87654321\n\n~\n\n12345678'
$ json -b3 -e4 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 21\n\n~\n\n12
json: error: <stdin>:3:1:       ^
command failed: json -b3 -e4 <<< $'87654321\n\n~\n\n12345678'
$ json -b4 -e4 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 21\n\n~\n\n12
json: error: <stdin>:3:1:       ^
command failed: json -b4 -e4 <<< $'87654321\n\n~\n\n12345678'
$ json -b5 -e4 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 21\n\n~\n\n12
json: error: <stdin>:3:1:       ^
command failed: json -b5 -e4 <<< $'87654321\n\n~\n\n12345678'
$ json -b6 -e4 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 21\n\n~\n\n12
json: error: <stdin>:3:1:       ^
command failed: json -b6 -e4 <<< $'87654321\n\n~\n\n12345678'
$ json -b7 -e4 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 21\n\n~\n\n12
json: error: <stdin>:3:1:       ^
command failed: json -b7 -e4 <<< $'87654321\n\n~\n\n12345678'
$ json -b8 -e4 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 21\n\n~\n\n12
json: error: <stdin>:3:1:       ^
command failed: json -b8 -e4 <<< $'87654321\n\n~\n\n12345678'
$ json -b9 -e4 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 21\n\n~\n\n12
json: error: <stdin>:3:1:       ^
command failed: json -b9 -e4 <<< $'87654321\n\n~\n\n12345678'
$ json -b10 -e4 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 21\n\n~\n\n12
json: error: <stdin>:3:1:       ^
command failed: json -b10 -e4 <<< $'87654321\n\n~\n\n12345678'
$ json -b11 -e4 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 21\n\n~\n\n12
json: error: <stdin>:3:1:       ^
command failed: json -b11 -e4 <<< $'87654321\n\n~\n\n12345678'
$ json -b12 -e4 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 21\n\n~\n\n12
json: error: <stdin>:3:1:       ^
command failed: json -b12 -e4 <<< $'87654321\n\n~\n\n12345678'
$ json -b13 -e4 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 21\n\n~\n\n12
json: error: <stdin>:3:1:       ^
command failed: json -b13 -e4 <<< $'87654321\n\n~\n\n12345678'
$ json -b14 -e4 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 21\n\n~\n\n12
json: error: <stdin>:3:1:       ^
command failed: json -b14 -e4 <<< $'87654321\n\n~\n\n12345678'
$ json -b15 -e4 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 21\n\n~\n\n12
json: error: <stdin>:3:1:       ^
command failed: json -b15 -e4 <<< $'87654321\n\n~\n\n12345678'
$ json -b16 -e4 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 21\n\n~\n\n12
json: error: <stdin>:3:1:       ^
command failed: json -b16 -e4 <<< $'87654321\n\n~\n\n12345678'
$ json -b17 -e4 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 21\n\n~\n\n12
json: error: <stdin>:3:1:       ^
command failed: json -b17 -e4 <<< $'87654321\n\n~\n\n12345678'
$ json -b18 -e4 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 21\n\n~\n\n12
json: error: <stdin>:3:1:       ^
command failed: json -b18 -e4 <<< $'87654321\n\n~\n\n12345678'
$ json -b19 -e4 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 21\n\n~\n\n12
json: error: <stdin>:3:1:       ^
command failed: json -b19 -e4 <<< $'87654321\n\n~\n\n12345678'
$ json -b1 -e5 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 321\n\n~\n\n123
json: error: <stdin>:3:1:        ^
command failed: json -b1 -e5 <<< $'87654321\n\n~\n\n12345678'
$ json -b2 -e5 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 321\n\n~\n\n123
json: error: <stdin>:3:1:        ^
command failed: json -b2 -e5 <<< $'87654321\n\n~\n\n12345678'
$ json -b3 -e5 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 321\n\n~\n\n123
json: error: <stdin>:3:1:        ^
command failed: json -b3 -e5 <<< $'87654321\n\n~\n\n12345678'
$ json -b4 -e5 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 321\n\n~\n\n123
json: error: <stdin>:3:1:        ^
command failed: json -b4 -e5 <<< $'87654321\n\n~\n\n12345678'
$ json -b5 -e5 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 321\n\n~\n\n123
json: error: <stdin>:3:1:        ^
command failed: json -b5 -e5 <<< $'87654321\n\n~\n\n12345678'
$ json -b6 -e5 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 321\n\n~\n\n123
json: error: <stdin>:3:1:        ^
command failed: json -b6 -e5 <<< $'87654321\n\n~\n\n12345678'
$ json -b7 -e5 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 321\n\n~\n\n123
json: error: <stdin>:3:1:        ^
command failed: json -b7 -e5 <<< $'87654321\n\n~\n\n12345678'
$ json -b8 -e5 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 321\n\n~\n\n123
json: error: <stdin>:3:1:        ^
command failed: json -b8 -e5 <<< $'87654321\n\n~\n\n12345678'
$ json -b9 -e5 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 321\n\n~\n\n123
json: error: <stdin>:3:1:        ^
command failed: json -b9 -e5 <<< $'87654321\n\n~\n\n12345678'
$ json -b10 -e5 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 321\n\n~\n\n123
json: error: <stdin>:3:1:        ^
command failed: json -b10 -e5 <<< $'87654321\n\n~\n\n12345678'
$ json -b11 -e5 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 321\n\n~\n\n123
json: error: <stdin>:3:1:        ^
command failed: json -b11 -e5 <<< $'87654321\n\n~\n\n12345678'
$ json -b12 -e5 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 321\n\n~\n\n123
json: error: <stdin>:3:1:        ^
command failed: json -b12 -e5 <<< $'87654321\n\n~\n\n12345678'
$ json -b13 -e5 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 321\n\n~\n\n123
json: error: <stdin>:3:1:        ^
command failed: json -b13 -e5 <<< $'87654321\n\n~\n\n12345678'
$ json -b14 -e5 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 321\n\n~\n\n123
json: error: <stdin>:3:1:        ^
command failed: json -b14 -e5 <<< $'87654321\n\n~\n\n12345678'
$ json -b15 -e5 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 321\n\n~\n\n123
json: error: <stdin>:3:1:        ^
command failed: json -b15 -e5 <<< $'87654321\n\n~\n\n12345678'
$ json -b16 -e5 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 321\n\n~\n\n123
json: error: <stdin>:3:1:        ^
command failed: json -b16 -e5 <<< $'87654321\n\n~\n\n12345678'
$ json -b17 -e5 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 321\n\n~\n\n123
json: error: <stdin>:3:1:        ^
command failed: json -b17 -e5 <<< $'87654321\n\n~\n\n12345678'
$ json -b18 -e5 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 321\n\n~\n\n123
json: error: <stdin>:3:1:        ^
command failed: json -b18 -e5 <<< $'87654321\n\n~\n\n12345678'
$ json -b19 -e5 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 321\n\n~\n\n123
json: error: <stdin>:3:1:        ^
command failed: json -b19 -e5 <<< $'87654321\n\n~\n\n12345678'
$ json -b1 -e6 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 4321\n\n~\n\n1234
json: error: <stdin>:3:1:         ^
command failed: json -b1 -e6 <<< $'87654321\n\n~\n\n12345678'
$ json -b2 -e6 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 4321\n\n~\n\n1234
json: error: <stdin>:3:1:         ^
command failed: json -b2 -e6 <<< $'87654321\n\n~\n\n12345678'
$ json -b3 -e6 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 4321\n\n~\n\n1234
json: error: <stdin>:3:1:         ^
command failed: json -b3 -e6 <<< $'87654321\n\n~\n\n12345678'
$ json -b4 -e6 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 4321\n\n~\n\n1234
json: error: <stdin>:3:1:         ^
command failed: json -b4 -e6 <<< $'87654321\n\n~\n\n12345678'
$ json -b5 -e6 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 4321\n\n~\n\n1234
json: error: <stdin>:3:1:         ^
command failed: json -b5 -e6 <<< $'87654321\n\n~\n\n12345678'
$ json -b6 -e6 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 4321\n\n~\n\n1234
json: error: <stdin>:3:1:         ^
command failed: json -b6 -e6 <<< $'87654321\n\n~\n\n12345678'
$ json -b7 -e6 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 4321\n\n~\n\n1234
json: error: <stdin>:3:1:         ^
command failed: json -b7 -e6 <<< $'87654321\n\n~\n\n12345678'
$ json -b8 -e6 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 4321\n\n~\n\n1234
json: error: <stdin>:3:1:         ^
command failed: json -b8 -e6 <<< $'87654321\n\n~\n\n12345678'
$ json -b9 -e6 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 4321\n\n~\n\n1234
json: error: <stdin>:3:1:         ^
command failed: json -b9 -e6 <<< $'87654321\n\n~\n\n12345678'
$ json -b10 -e6 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 4321\n\n~\n\n1234
json: error: <stdin>:3:1:         ^
command failed: json -b10 -e6 <<< $'87654321\n\n~\n\n12345678'
$ json -b11 -e6 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 4321\n\n~\n\n1234
json: error: <stdin>:3:1:         ^
command failed: json -b11 -e6 <<< $'87654321\n\n~\n\n12345678'
$ json -b12 -e6 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 4321\n\n~\n\n1234
json: error: <stdin>:3:1:         ^
command failed: json -b12 -e6 <<< $'87654321\n\n~\n\n12345678'
$ json -b13 -e6 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 4321\n\n~\n\n1234
json: error: <stdin>:3:1:         ^
command failed: json -b13 -e6 <<< $'87654321\n\n~\n\n12345678'
$ json -b14 -e6 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 4321\n\n~\n\n1234
json: error: <stdin>:3:1:         ^
command failed: json -b14 -e6 <<< $'87654321\n\n~\n\n12345678'
$ json -b15 -e6 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 4321\n\n~\n\n1234
json: error: <stdin>:3:1:         ^
command failed: json -b15 -e6 <<< $'87654321\n\n~\n\n12345678'
$ json -b16 -e6 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 4321\n\n~\n\n1234
json: error: <stdin>:3:1:         ^
command failed: json -b16 -e6 <<< $'87654321\n\n~\n\n12345678'
$ json -b17 -e6 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 4321\n\n~\n\n1234
json: error: <stdin>:3:1:         ^
command failed: json -b17 -e6 <<< $'87654321\n\n~\n\n12345678'
$ json -b18 -e6 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 4321\n\n~\n\n1234
json: error: <stdin>:3:1:         ^
command failed: json -b18 -e6 <<< $'87654321\n\n~\n\n12345678'
$ json -b19 -e6 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 4321\n\n~\n\n1234
json: error: <stdin>:3:1:         ^
command failed: json -b19 -e6 <<< $'87654321\n\n~\n\n12345678'
$ json -b1 -e7 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 54321\n\n~\n\n12345
json: error: <stdin>:3:1:          ^
command failed: json -b1 -e7 <<< $'87654321\n\n~\n\n12345678'
$ json -b2 -e7 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 54321\n\n~\n\n12345
json: error: <stdin>:3:1:          ^
command failed: json -b2 -e7 <<< $'87654321\n\n~\n\n12345678'
$ json -b3 -e7 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 54321\n\n~\n\n12345
json: error: <stdin>:3:1:          ^
command failed: json -b3 -e7 <<< $'87654321\n\n~\n\n12345678'
$ json -b4 -e7 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 54321\n\n~\n\n12345
json: error: <stdin>:3:1:          ^
command failed: json -b4 -e7 <<< $'87654321\n\n~\n\n12345678'
$ json -b5 -e7 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 54321\n\n~\n\n12345
json: error: <stdin>:3:1:          ^
command failed: json -b5 -e7 <<< $'87654321\n\n~\n\n12345678'
$ json -b6 -e7 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 54321\n\n~\n\n12345
json: error: <stdin>:3:1:          ^
command failed: json -b6 -e7 <<< $'87654321\n\n~\n\n12345678'
$ json -b7 -e7 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 54321\n\n~\n\n12345
json: error: <stdin>:3:1:          ^
command failed: json -b7 -e7 <<< $'87654321\n\n~\n\n12345678'
$ json -b8 -e7 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 54321\n\n~\n\n12345
json: error: <stdin>:3:1:          ^
command failed: json -b8 -e7 <<< $'87654321\n\n~\n\n12345678'
$ json -b9 -e7 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 54321\n\n~\n\n12345
json: error: <stdin>:3:1:          ^
command failed: json -b9 -e7 <<< $'87654321\n\n~\n\n12345678'
$ json -b10 -e7 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 54321\n\n~\n\n12345
json: error: <stdin>:3:1:          ^
command failed: json -b10 -e7 <<< $'87654321\n\n~\n\n12345678'
$ json -b11 -e7 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 54321\n\n~\n\n12345
json: error: <stdin>:3:1:          ^
command failed: json -b11 -e7 <<< $'87654321\n\n~\n\n12345678'
$ json -b12 -e7 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 54321\n\n~\n\n12345
json: error: <stdin>:3:1:          ^
command failed: json -b12 -e7 <<< $'87654321\n\n~\n\n12345678'
$ json -b13 -e7 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 54321\n\n~\n\n12345
json: error: <stdin>:3:1:          ^
command failed: json -b13 -e7 <<< $'87654321\n\n~\n\n12345678'
$ json -b14 -e7 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 54321\n\n~\n\n12345
json: error: <stdin>:3:1:          ^
command failed: json -b14 -e7 <<< $'87654321\n\n~\n\n12345678'
$ json -b15 -e7 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 54321\n\n~\n\n12345
json: error: <stdin>:3:1:          ^
command failed: json -b15 -e7 <<< $'87654321\n\n~\n\n12345678'
$ json -b16 -e7 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 54321\n\n~\n\n12345
json: error: <stdin>:3:1:          ^
command failed: json -b16 -e7 <<< $'87654321\n\n~\n\n12345678'
$ json -b17 -e7 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 54321\n\n~\n\n12345
json: error: <stdin>:3:1:          ^
command failed: json -b17 -e7 <<< $'87654321\n\n~\n\n12345678'
$ json -b18 -e7 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 54321\n\n~\n\n12345
json: error: <stdin>:3:1:          ^
command failed: json -b18 -e7 <<< $'87654321\n\n~\n\n12345678'
$ json -b19 -e7 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 54321\n\n~\n\n12345
json: error: <stdin>:3:1:          ^
command failed: json -b19 -e7 <<< $'87654321\n\n~\n\n12345678'
$ json -b1 -e8 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 654321\n\n~\n\n123456
json: error: <stdin>:3:1:           ^
command failed: json -b1 -e8 <<< $'87654321\n\n~\n\n12345678'
$ json -b2 -e8 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 654321\n\n~\n\n123456
json: error: <stdin>:3:1:           ^
command failed: json -b2 -e8 <<< $'87654321\n\n~\n\n12345678'
$ json -b3 -e8 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 654321\n\n~\n\n123456
json: error: <stdin>:3:1:           ^
command failed: json -b3 -e8 <<< $'87654321\n\n~\n\n12345678'
$ json -b4 -e8 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 654321\n\n~\n\n123456
json: error: <stdin>:3:1:           ^
command failed: json -b4 -e8 <<< $'87654321\n\n~\n\n12345678'
$ json -b5 -e8 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 654321\n\n~\n\n123456
json: error: <stdin>:3:1:           ^
command failed: json -b5 -e8 <<< $'87654321\n\n~\n\n12345678'
$ json -b6 -e8 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 654321\n\n~\n\n123456
json: error: <stdin>:3:1:           ^
command failed: json -b6 -e8 <<< $'87654321\n\n~\n\n12345678'
$ json -b7 -e8 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 654321\n\n~\n\n123456
json: error: <stdin>:3:1:           ^
command failed: json -b7 -e8 <<< $'87654321\n\n~\n\n12345678'
$ json -b8 -e8 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 654321\n\n~\n\n123456
json: error: <stdin>:3:1:           ^
command failed: json -b8 -e8 <<< $'87654321\n\n~\n\n12345678'
$ json -b9 -e8 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 654321\n\n~\n\n123456
json: error: <stdin>:3:1:           ^
command failed: json -b9 -e8 <<< $'87654321\n\n~\n\n12345678'
$ json -b10 -e8 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 654321\n\n~\n\n123456
json: error: <stdin>:3:1:           ^
command failed: json -b10 -e8 <<< $'87654321\n\n~\n\n12345678'
$ json -b11 -e8 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 654321\n\n~\n\n123456
json: error: <stdin>:3:1:           ^
command failed: json -b11 -e8 <<< $'87654321\n\n~\n\n12345678'
$ json -b12 -e8 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 654321\n\n~\n\n123456
json: error: <stdin>:3:1:           ^
command failed: json -b12 -e8 <<< $'87654321\n\n~\n\n12345678'
$ json -b13 -e8 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 654321\n\n~\n\n123456
json: error: <stdin>:3:1:           ^
command failed: json -b13 -e8 <<< $'87654321\n\n~\n\n12345678'
$ json -b14 -e8 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 654321\n\n~\n\n123456
json: error: <stdin>:3:1:           ^
command failed: json -b14 -e8 <<< $'87654321\n\n~\n\n12345678'
$ json -b15 -e8 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 654321\n\n~\n\n123456
json: error: <stdin>:3:1:           ^
command failed: json -b15 -e8 <<< $'87654321\n\n~\n\n12345678'
$ json -b16 -e8 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 654321\n\n~\n\n123456
json: error: <stdin>:3:1:           ^
command failed: json -b16 -e8 <<< $'87654321\n\n~\n\n12345678'
$ json -b17 -e8 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 654321\n\n~\n\n123456
json: error: <stdin>:3:1:           ^
command failed: json -b17 -e8 <<< $'87654321\n\n~\n\n12345678'
$ json -b18 -e8 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 654321\n\n~\n\n123456
json: error: <stdin>:3:1:           ^
command failed: json -b18 -e8 <<< $'87654321\n\n~\n\n12345678'
$ json -b19 -e8 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 654321\n\n~\n\n123456
json: error: <stdin>:3:1:           ^
command failed: json -b19 -e8 <<< $'87654321\n\n~\n\n12345678'
$ json -b1 -e9 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 7654321\n\n~\n\n1234567
json: error: <stdin>:3:1:            ^
command failed: json -b1 -e9 <<< $'87654321\n\n~\n\n12345678'
$ json -b2 -e9 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 7654321\n\n~\n\n1234567
json: error: <stdin>:3:1:            ^
command failed: json -b2 -e9 <<< $'87654321\n\n~\n\n12345678'
$ json -b3 -e9 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 7654321\n\n~\n\n1234567
json: error: <stdin>:3:1:            ^
command failed: json -b3 -e9 <<< $'87654321\n\n~\n\n12345678'
$ json -b4 -e9 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 7654321\n\n~\n\n1234567
json: error: <stdin>:3:1:            ^
command failed: json -b4 -e9 <<< $'87654321\n\n~\n\n12345678'
$ json -b5 -e9 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 7654321\n\n~\n\n1234567
json: error: <stdin>:3:1:            ^
command failed: json -b5 -e9 <<< $'87654321\n\n~\n\n12345678'
$ json -b6 -e9 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 7654321\n\n~\n\n1234567
json: error: <stdin>:3:1:            ^
command failed: json -b6 -e9 <<< $'87654321\n\n~\n\n12345678'
$ json -b7 -e9 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 7654321\n\n~\n\n1234567
json: error: <stdin>:3:1:            ^
command failed: json -b7 -e9 <<< $'87654321\n\n~\n\n12345678'
$ json -b8 -e9 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 7654321\n\n~\n\n1234567
json: error: <stdin>:3:1:            ^
command failed: json -b8 -e9 <<< $'87654321\n\n~\n\n12345678'
$ json -b9 -e9 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 7654321\n\n~\n\n1234567
json: error: <stdin>:3:1:            ^
command failed: json -b9 -e9 <<< $'87654321\n\n~\n\n12345678'
$ json -b10 -e9 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 7654321\n\n~\n\n1234567
json: error: <stdin>:3:1:            ^
command failed: json -b10 -e9 <<< $'87654321\n\n~\n\n12345678'
$ json -b11 -e9 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 7654321\n\n~\n\n1234567
json: error: <stdin>:3:1:            ^
command failed: json -b11 -e9 <<< $'87654321\n\n~\n\n12345678'
$ json -b12 -e9 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 7654321\n\n~\n\n1234567
json: error: <stdin>:3:1:            ^
command failed: json -b12 -e9 <<< $'87654321\n\n~\n\n12345678'
$ json -b13 -e9 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 7654321\n\n~\n\n1234567
json: error: <stdin>:3:1:            ^
command failed: json -b13 -e9 <<< $'87654321\n\n~\n\n12345678'
$ json -b14 -e9 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 7654321\n\n~\n\n1234567
json: error: <stdin>:3:1:            ^
command failed: json -b14 -e9 <<< $'87654321\n\n~\n\n12345678'
$ json -b15 -e9 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 7654321\n\n~\n\n1234567
json: error: <stdin>:3:1:            ^
command failed: json -b15 -e9 <<< $'87654321\n\n~\n\n12345678'
$ json -b16 -e9 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 7654321\n\n~\n\n1234567
json: error: <stdin>:3:1:            ^
command failed: json -b16 -e9 <<< $'87654321\n\n~\n\n12345678'
$ json -b17 -e9 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 7654321\n\n~\n\n1234567
json: error: <stdin>:3:1:            ^
command failed: json -b17 -e9 <<< $'87654321\n\n~\n\n12345678'
$ json -b18 -e9 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 7654321\n\n~\n\n1234567
json: error: <stdin>:3:1:            ^
command failed: json -b18 -e9 <<< $'87654321\n\n~\n\n12345678'
$ json -b19 -e9 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 7654321\n\n~\n\n1234567
json: error: <stdin>:3:1:            ^
command failed: json -b19 -e9 <<< $'87654321\n\n~\n\n12345678'
$ json -b1 -e10 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~\n\n12345678
json: error: <stdin>:3:1:             ^
command failed: json -b1 -e10 <<< $'87654321\n\n~\n\n12345678'
$ json -b2 -e10 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~\n\n12345678
json: error: <stdin>:3:1:             ^
command failed: json -b2 -e10 <<< $'87654321\n\n~\n\n12345678'
$ json -b3 -e10 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~\n\n12345678
json: error: <stdin>:3:1:             ^
command failed: json -b3 -e10 <<< $'87654321\n\n~\n\n12345678'
$ json -b4 -e10 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~\n\n12345678
json: error: <stdin>:3:1:             ^
command failed: json -b4 -e10 <<< $'87654321\n\n~\n\n12345678'
$ json -b5 -e10 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~\n\n12345678
json: error: <stdin>:3:1:             ^
command failed: json -b5 -e10 <<< $'87654321\n\n~\n\n12345678'
$ json -b6 -e10 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~\n\n12345678
json: error: <stdin>:3:1:             ^
command failed: json -b6 -e10 <<< $'87654321\n\n~\n\n12345678'
$ json -b7 -e10 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~\n\n12345678
json: error: <stdin>:3:1:             ^
command failed: json -b7 -e10 <<< $'87654321\n\n~\n\n12345678'
$ json -b8 -e10 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~\n\n12345678
json: error: <stdin>:3:1:             ^
command failed: json -b8 -e10 <<< $'87654321\n\n~\n\n12345678'
$ json -b9 -e10 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~\n\n12345678
json: error: <stdin>:3:1:             ^
command failed: json -b9 -e10 <<< $'87654321\n\n~\n\n12345678'
$ json -b10 -e10 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~\n\n12345678
json: error: <stdin>:3:1:             ^
command failed: json -b10 -e10 <<< $'87654321\n\n~\n\n12345678'
$ json -b11 -e10 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~\n\n12345678
json: error: <stdin>:3:1:             ^
command failed: json -b11 -e10 <<< $'87654321\n\n~\n\n12345678'
$ json -b12 -e10 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~\n\n12345678
json: error: <stdin>:3:1:             ^
command failed: json -b12 -e10 <<< $'87654321\n\n~\n\n12345678'
$ json -b13 -e10 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~\n\n12345678
json: error: <stdin>:3:1:             ^
command failed: json -b13 -e10 <<< $'87654321\n\n~\n\n12345678'
$ json -b14 -e10 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~\n\n12345678
json: error: <stdin>:3:1:             ^
command failed: json -b14 -e10 <<< $'87654321\n\n~\n\n12345678'
$ json -b15 -e10 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~\n\n12345678
json: error: <stdin>:3:1:             ^
command failed: json -b15 -e10 <<< $'87654321\n\n~\n\n12345678'
$ json -b16 -e10 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~\n\n12345678
json: error: <stdin>:3:1:             ^
command failed: json -b16 -e10 <<< $'87654321\n\n~\n\n12345678'
$ json -b17 -e10 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~\n\n12345678
json: error: <stdin>:3:1:             ^
command failed: json -b17 -e10 <<< $'87654321\n\n~\n\n12345678'
$ json -b18 -e10 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~\n\n12345678
json: error: <stdin>:3:1:             ^
command failed: json -b18 -e10 <<< $'87654321\n\n~\n\n12345678'
$ json -b19 -e10 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~\n\n12345678
json: error: <stdin>:3:1:             ^
command failed: json -b19 -e10 <<< $'87654321\n\n~\n\n12345678'
$ json -b1 -e11 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~\n\n12345678
json: error: <stdin>:3:1:             ^
command failed: json -b1 -e11 <<< $'87654321\n\n~\n\n12345678'
$ json -b2 -e11 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~\n\n12345678
json: error: <stdin>:3:1:             ^
command failed: json -b2 -e11 <<< $'87654321\n\n~\n\n12345678'
$ json -b3 -e11 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~\n\n12345678
json: error: <stdin>:3:1:             ^
command failed: json -b3 -e11 <<< $'87654321\n\n~\n\n12345678'
$ json -b4 -e11 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~\n\n12345678
json: error: <stdin>:3:1:             ^
command failed: json -b4 -e11 <<< $'87654321\n\n~\n\n12345678'
$ json -b5 -e11 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~\n\n12345678
json: error: <stdin>:3:1:             ^
command failed: json -b5 -e11 <<< $'87654321\n\n~\n\n12345678'
$ json -b6 -e11 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~\n\n12345678
json: error: <stdin>:3:1:             ^
command failed: json -b6 -e11 <<< $'87654321\n\n~\n\n12345678'
$ json -b7 -e11 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~\n\n12345678
json: error: <stdin>:3:1:             ^
command failed: json -b7 -e11 <<< $'87654321\n\n~\n\n12345678'
$ json -b8 -e11 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~\n\n12345678
json: error: <stdin>:3:1:             ^
command failed: json -b8 -e11 <<< $'87654321\n\n~\n\n12345678'
$ json -b9 -e11 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~\n\n12345678
json: error: <stdin>:3:1:             ^
command failed: json -b9 -e11 <<< $'87654321\n\n~\n\n12345678'
$ json -b10 -e11 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~\n\n12345678
json: error: <stdin>:3:1:             ^
command failed: json -b10 -e11 <<< $'87654321\n\n~\n\n12345678'
$ json -b11 -e11 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~\n\n12345678
json: error: <stdin>:3:1:             ^
command failed: json -b11 -e11 <<< $'87654321\n\n~\n\n12345678'
$ json -b12 -e11 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~\n\n12345678
json: error: <stdin>:3:1:             ^
command failed: json -b12 -e11 <<< $'87654321\n\n~\n\n12345678'
$ json -b13 -e11 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~\n\n12345678
json: error: <stdin>:3:1:             ^
command failed: json -b13 -e11 <<< $'87654321\n\n~\n\n12345678'
$ json -b14 -e11 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~\n\n12345678
json: error: <stdin>:3:1:             ^
command failed: json -b14 -e11 <<< $'87654321\n\n~\n\n12345678'
$ json -b15 -e11 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~\n\n12345678
json: error: <stdin>:3:1:             ^
command failed: json -b15 -e11 <<< $'87654321\n\n~\n\n12345678'
$ json -b16 -e11 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~\n\n12345678
json: error: <stdin>:3:1:             ^
command failed: json -b16 -e11 <<< $'87654321\n\n~\n\n12345678'
$ json -b17 -e11 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~\n\n12345678
json: error: <stdin>:3:1:             ^
command failed: json -b17 -e11 <<< $'87654321\n\n~\n\n12345678'
$ json -b18 -e11 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~\n\n12345678
json: error: <stdin>:3:1:             ^
command failed: json -b18 -e11 <<< $'87654321\n\n~\n\n12345678'
$ json -b19 -e11 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~\n\n12345678
json: error: <stdin>:3:1:             ^
command failed: json -b19 -e11 <<< $'87654321\n\n~\n\n12345678'
$ json -b1 -e12 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~\n\n12345678
json: error: <stdin>:3:1:             ^
command failed: json -b1 -e12 <<< $'87654321\n\n~\n\n12345678'
$ json -b2 -e12 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~\n\n12345678
json: error: <stdin>:3:1:             ^
command failed: json -b2 -e12 <<< $'87654321\n\n~\n\n12345678'
$ json -b3 -e12 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~\n\n12345678
json: error: <stdin>:3:1:             ^
command failed: json -b3 -e12 <<< $'87654321\n\n~\n\n12345678'
$ json -b4 -e12 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~\n\n12345678
json: error: <stdin>:3:1:             ^
command failed: json -b4 -e12 <<< $'87654321\n\n~\n\n12345678'
$ json -b5 -e12 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~\n\n12345678
json: error: <stdin>:3:1:             ^
command failed: json -b5 -e12 <<< $'87654321\n\n~\n\n12345678'
$ json -b6 -e12 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~\n\n12345678
json: error: <stdin>:3:1:             ^
command failed: json -b6 -e12 <<< $'87654321\n\n~\n\n12345678'
$ json -b7 -e12 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~\n\n12345678
json: error: <stdin>:3:1:             ^
command failed: json -b7 -e12 <<< $'87654321\n\n~\n\n12345678'
$ json -b8 -e12 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~\n\n12345678
json: error: <stdin>:3:1:             ^
command failed: json -b8 -e12 <<< $'87654321\n\n~\n\n12345678'
$ json -b9 -e12 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~\n\n12345678
json: error: <stdin>:3:1:             ^
command failed: json -b9 -e12 <<< $'87654321\n\n~\n\n12345678'
$ json -b10 -e12 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~\n\n12345678
json: error: <stdin>:3:1:             ^
command failed: json -b10 -e12 <<< $'87654321\n\n~\n\n12345678'
$ json -b11 -e12 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~\n\n12345678
json: error: <stdin>:3:1:             ^
command failed: json -b11 -e12 <<< $'87654321\n\n~\n\n12345678'
$ json -b12 -e12 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~\n\n12345678
json: error: <stdin>:3:1:             ^
command failed: json -b12 -e12 <<< $'87654321\n\n~\n\n12345678'
$ json -b13 -e12 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~\n\n12345678
json: error: <stdin>:3:1:             ^
command failed: json -b13 -e12 <<< $'87654321\n\n~\n\n12345678'
$ json -b14 -e12 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~\n\n12345678
json: error: <stdin>:3:1:             ^
command failed: json -b14 -e12 <<< $'87654321\n\n~\n\n12345678'
$ json -b15 -e12 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~\n\n12345678
json: error: <stdin>:3:1:             ^
command failed: json -b15 -e12 <<< $'87654321\n\n~\n\n12345678'
$ json -b16 -e12 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~\n\n12345678
json: error: <stdin>:3:1:             ^
command failed: json -b16 -e12 <<< $'87654321\n\n~\n\n12345678'
$ json -b17 -e12 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~\n\n12345678
json: error: <stdin>:3:1:             ^
command failed: json -b17 -e12 <<< $'87654321\n\n~\n\n12345678'
$ json -b18 -e12 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~\n\n12345678
json: error: <stdin>:3:1:             ^
command failed: json -b18 -e12 <<< $'87654321\n\n~\n\n12345678'
$ json -b19 -e12 <<< $'87654321\n\n~\n\n12345678'
json: error: <stdin>:3:1: lex error: invalid char
json: error: <stdin>:3:1: 87654321\n\n~\n\n12345678
json: error: <stdin>:3:1:             ^
command failed: json -b19 -e12 <<< $'87654321\n\n~\n\n12345678'
$


