Skip to content

Instantly share code, notes, and snippets.

@jlevy jlevy/pjson
Created May 28, 2019

Embed
What would you like to do?
Command-line JSON pretty-printer
#!/bin/bash
# Convenience script to pretty-print and browse colored JSON without remembering flags.
# Read from files or stdin.
jq -C . "$@" | less -R -m
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.