项目作者: nichtich

项目描述 :
jq module implementing JSON Patch (RFC 6902)
高级语言: Shell
项目地址: git://github.com/nichtich/jq-jsonpatch.git
创建时间: 2019-06-04T20:25:25Z
项目社区:https://github.com/nichtich/jq-jsonpatch

开源协议:MIT License

下载


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:

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

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

  1. 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ß.