All Projects → tenderlove → Hana

tenderlove / Hana

An implementation of JSON Patch and JSON Pointer

Programming Languages

ruby
36898 projects - #4 most used programming language

Labels

Projects that are alternatives of or similar to Hana

Rapidyaml
Rapid YAML - a library to parse and emit YAML, and do it fast.
Stars: ✭ 183 (-6.63%)
Mutual labels:  json
Csmodel
CSModel is a concise and efficient model framework for iOS/OSX, and provides nested Model to compare values and copy values.
Stars: ✭ 192 (-2.04%)
Mutual labels:  json
Swagger Toolbox
💡 Swagger schema model (in yaml, json) generator from json data
Stars: ✭ 194 (-1.02%)
Mutual labels:  json
Flexirest
Flexirest - The really flexible REST API client for Ruby
Stars: ✭ 188 (-4.08%)
Mutual labels:  json
Jsonapi Utils
Build JSON API-compliant APIs on Rails with no (or less) learning curve.
Stars: ✭ 191 (-2.55%)
Mutual labels:  json
Tq
Perform a lookup by CSS selector on an HTML input
Stars: ✭ 193 (-1.53%)
Mutual labels:  json
Wretch
A tiny wrapper built around fetch with an intuitive syntax. 🍬
Stars: ✭ 2,285 (+1065.82%)
Mutual labels:  json
Jsonframe Cheerio
simple multi-level scraper json input/output for Cheerio
Stars: ✭ 196 (+0%)
Mutual labels:  json
Json Schema Spec
The JSON Schema I-D sources
Stars: ✭ 2,441 (+1145.41%)
Mutual labels:  json
Sdk
Library for using Grafana' structures in Go programs and client for Grafana REST API.
Stars: ✭ 193 (-1.53%)
Mutual labels:  json
Fast Json Stringify
2x faster than JSON.stringify()
Stars: ✭ 2,499 (+1175%)
Mutual labels:  json
Mtgjson
MTGJSON build scripts for Magic: the Gathering
Stars: ✭ 191 (-2.55%)
Mutual labels:  json
Jl
jl — JSON Logs, a development tool for working with structured JSON logging.
Stars: ✭ 194 (-1.02%)
Mutual labels:  json
Json5
UTF-8 compatible JSON5 parser for PHP
Stars: ✭ 189 (-3.57%)
Mutual labels:  json
Validation
validation api extracted from play
Stars: ✭ 194 (-1.02%)
Mutual labels:  json
Srsly
🦉 Modern high-performance serialization utilities for Python (JSON, MessagePack, Pickle)
Stars: ✭ 189 (-3.57%)
Mutual labels:  json
Bridge.
Minecraft Add-on Editor | We strive to provide the best development experience possible
Stars: ✭ 193 (-1.53%)
Mutual labels:  json
Openermanifest
Set of rules powering Opener for iOS
Stars: ✭ 195 (-0.51%)
Mutual labels:  json
Cti Python Stix2
OASIS TC Open Repository: Python APIs for STIX 2
Stars: ✭ 194 (-1.02%)
Mutual labels:  json
Mxisd
Federated Matrix Identity Server
Stars: ✭ 194 (-1.02%)
Mutual labels:  json

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

LICENSE:

(The MIT License)

Copyright (c) 2012-2020 Aaron Patterson

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].