Skip to content

Latest commit

 

History

History
55 lines (32 loc) · 1.58 KB

File metadata and controls

55 lines (32 loc) · 1.58 KB

jq-jsonpatch

Build Status

jq module implementing JSON Pointer (RFC 6902)

This git repository contains an implementation of JSON Pointer (RFC 6902) as module for the jq data transformation language.

Table of Contents

Install

Installation requires jq version 1.5 or newer.

Put jsonpatch.jq to a place where jq can find it as module.

One way to do so is to download the current version of the file:

mkdir -p ~/.jq && git clone https://github.com/nichtich/jq-jsonpatch.git ~/.jq/jsonpatch

Or check out this repository to directory ~/.jq/jsonpatch/:

mkdir -p ~/.jq && wget -N https://github.com/nichtich/jsonpatch/raw/master/jsonpatch.jq

This module requires jq module jsonpointer so make sure to also install it.

Usage

See jq manual how to use jq modules in general and API description below how to use this module.

API

...

Contributing

The source code is hosted at https://github.com/nichtich/jq-jsonpatch.

Bug reports and feature requests are welcome!

License

Made available under the MIT License by Jakob Voß.