Popularity
4.2
Declining
Activity
0.0
Declining
17
1
1
Programming language: Crystal
License: MIT License
Tags:
Data Formats
Latest version: v1.0.1
JSON tools alternatives and similar shards
Based on the "Data Formats" category.
Alternatively, view JSON tools alternatives based on common mentions on social networks and blogs.
-
Crystalizer
(De)serialize any Crystal object; supporting JSON, YAML, and Byte formats out of the box
Get performance insights in less than 4 minutes
Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.
Sponsored
scoutapm.com
Do you think we are missing an alternative of JSON tools or a related project?
Popular Comparisons
README
json-tools
An implementation of RFC-6901 and RFC-6902
Installation
Add this to your application's shard.yml
:
dependencies:
json-tools:
github: impatienttraveller/json-tools
Usage
require "json-tools"
Once you have a JSON::Any
object in memory you can address any value using the Pointer
class:
json : JSON::Any = ...
val = Json::Tools::Pointer.new("/foo/0/bar").eval(json)
JSON object can be patched by using the Patch
class:
patch : JSON::Any = ...
json : JSON::Any = ...
patched_json = Json::Tools::Patch.new(patch).apply(json)
This creates a copy of the passed JSON object to work with and the original object is not altered.
Development
Please raise a GitHub issue and document the commit with the following format:
[issue-x] Description
Contributing
- Fork it (https://github.com/impatienttraveller/json-tools/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- ddcprg Daniel del Castillo - creator, maintainer