Pure-shell JSON parser.
make && sudo make install
From the command-line:
json.sh <"tests/object-complex.json"
As a library:
. "lib/json.sh"
json <"tests/object-complex.json"
- Support for backspace, form feed, newline, and carriage return escapes.
- Support for Unicode characters specified by their codepoints:
\uXXXX
.
- Arrays.
- Booleans.
- Objects.
null
.- Numbers.
- Floating-point.
- Negative.
- Scientific notation.
- Strings.
json.sh
is BSD-licensed.