SYNOPSIS
- yaz-json-parse [-p]
DESCRIPTION
yaz-json-parse
The program attempts to parse a JSON from standard input (stdin). It will return exit code 1 if parsing fails and the parsing error message will be printed to standard error (stderr). The program returns exit code 0 parsing succeeds and return no output, unless -p is given (see below).
OPTIONS
-p
- Makes the JSON parser echo the JSON result string to standard output - if parsing from stdin was successful.