jv
• Simple JSON Viewer
jv requires the following software to be installed:
- json-c
Please make sure to install the corresponding development packages in case that you want to build jc on a distribution with separate runtime and development packages (e.g. *-dev on Debian, *-devel on Void).
jc is built using the commands:
$ make
# make install
Please note, that the latter one requires root privileges. By default, jc is installed using the prefix "/usr/local", so the full path of the executable will be "/usr/local/bin/jc".
You can install jc into a directory of your choice by changing the second command to:
# make PREFIX="/your/dir" install
A DESTDIR
option is also supported. It will be appended before the PREFIX
.
jv accepts any input from stdin
in the form or JSON logs or raw strings and
pretty prints them to stdout
.