lucat1 / jv

Simple JSON Viewer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Simple JSON Viewer

License:MIT License


Languages

Language:C 91.4%Language:Makefile 8.6%