https://github.com/nichtich/jq-jsonpatch
jq module implementing JSON Patch (RFC 6902)
https://github.com/nichtich/jq-jsonpatch
jq json jsonpatch
Last synced: 10 months ago
JSON representation
jq module implementing JSON Patch (RFC 6902)
- Host: GitHub
- URL: https://github.com/nichtich/jq-jsonpatch
- Owner: nichtich
- License: mit
- Created: 2019-06-04T20:25:25.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-06-04T20:26:35.000Z (over 6 years ago)
- Last Synced: 2025-02-28T06:21:05.954Z (11 months ago)
- Topics: jq, json, jsonpatch
- Language: Shell
- Size: 1.95 KB
- Stars: 8
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# jq-jsonpatch
[](https://travis-ci.org/nichtich/jq-jsonpatch)
> jq module implementing JSON Pointer (RFC 6902)
This git repository contains an implementation of JSON Pointer ([RFC 6902](https://tools.ietf.org/html/rfc6902)) as module for the [jq data transformation language](https://stedolan.github.io/jq/).
## Table of Contents
* [Install](#install)
* [Usage](#usage)
* [API](#api)
* ...
* [Contributing](#contributing)
* [License](#license)
## Install
Installation requires [jq](https://stedolan.github.io/jq/) version 1.5 or newer.
Put `jsonpatch.jq` to a place where jq can [find it as module](https://stedolan.github.io/jq/manual/#Modules).
One way to do so is to download the current version of the file:
~~~sh
mkdir -p ~/.jq && git clone https://github.com/nichtich/jq-jsonpatch.git ~/.jq/jsonpatch
~~~
Or check out this repository to directory `~/.jq/jsonpatch/`:
~~~sh
mkdir -p ~/.jq && wget -N https://github.com/nichtich/jsonpatch/raw/master/jsonpatch.jq
~~~
This module requires jq module [jsonpointer](https://github.com/nichtich/jq-jsonpointer) so make sure to also install it.
## Usage
See [jq manual](https://stedolan.github.io/jq/manual/#Modules) how to use jq modules in general and API description below how to use this module.
## API
...
## Contributing
The source code is hosted at .
Bug reports and feature requests [are welcome](https://github.com/nichtich/jq-jsonpatch/issues/new)!
## License
Made available under the MIT License by Jakob Voß.