Skip site navigation (1)Skip section navigation (2)

  
 
  

home | help
YAZ-JSON-PARSE(1)		    Commands		       YAZ-JSON-PARSE(1)

NAME
     yaz-json-parse - YAZ JSON parser

SYNOPSIS
     yaz-json-parse [-p]

DESCRIPTION
     yaz-json-parse  is  a  utility  which  demonstrates  the  JSON  API of YAZ.
     (yaz/json.h).

     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  if
     parsing succeeds, and returns 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. If -p is given  twice,  then  the
	 output is a multi-line output with indentation (pretty print).

SEE ALSO
     yaz(7)

AUTHORS
     Index Data

YAZ 5.35.0			   04/10/2025		       YAZ-JSON-PARSE(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=yaz-json-parse&sektion=1&manpath=FreeBSD+Ports+15.1.quarterly>

home | help