Skip to content

lucat1/jv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jv • Simple JSON Viewer

proj

Dependencies

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).

Building

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.

Usage

jv accepts any input from stdin in the form or JSON logs or raw strings and pretty prints them to stdout.