Skip to content

Common utility functions for the jq command-line JSON processor

License

Notifications You must be signed in to change notification settings

gregnr/jq-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

jq utils

This is a collection of jq functions I commonly use. They exist as jq modules.

Installation

Clone this repo into ~/.jq:

$ git clone git@github.com:gregnr/jq-utils.git ~/.jq

Using the functions

Import the module, then call the function:

echo '[{"Sport": "Tennis", "WinningScore": 30}]' | jq -r 'import "utils" as utils; utils::arrayToCsv'

About

Common utility functions for the jq command-line JSON processor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages