项目
关于
An implementation of JSON Patch and JSON Pointer for Ruby
开发工具实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文hana
DESCRIPTION:
Implementation of JSON Patch and JSON Pointer RFC.
FEATURES/PROBLEMS:
Implements specs of the JSON Patch and JSON pointer RFCs:
This works against Ruby objects, so you should load the JSON to Ruby, process it, then emit as JSON again.
SYNOPSIS:
patch = Hana::Patch.new [
{ 'op' => 'add', 'path' => '/baz', 'value' => 'qux' }
]
patch.apply('foo' => 'bar') # => {'baz' => 'qux', 'foo' => 'bar'}
REQUIREMENTS:
- Ruby
INSTALL:
$ gem install hana
DEVELOPMENT:
hana runs tests from json-patch/json-patch-tests. Fetch the git submodule by running:
git submodule init
git submodule update
Install dependencies with:
bundle install
Then run the tests with:
rake test
探索相关项目
加载中…