Skip to content

Latest commit

 

History

History
65 lines (43 loc) · 3.96 KB

README.md

File metadata and controls

65 lines (43 loc) · 3.96 KB

RedisJSON2 can be found here https://github.com/RedisJSON/RedisJSON2

GitHub issues CircleCI Docker Cloud Build Status Mailing List Gitter

RedisJSON - a JSON data type for Redis

RedisJSON is a Redis module that implements ECMA-404 The JSON Data Interchange Standard as a native data type. It allows storing, updating and fetching JSON values from Redis keys (documents).

Primary features:

  • Full support of the JSON standard
  • JSONPath-like syntax for selecting element inside documents
  • Documents are stored as binary data in a tree structure, allowing fast access to sub-elements
  • Typed atomic operations for all JSON values types

Quickstart

  1. Launch RedisJSON with Docker
  2. Use RedisJSON from any Redis client, e.g.:

RedisJSON with redis-cli

Documentation

Read the docs at http://redisjson.io

Client libraries

Some languages have client libraries that provide support for RedisJSON's commands:

Project Language License Author URL
iorejson Node.js MIT Evan Huang @evanhuang8 git npm
node_redis-rejson Node.js MIT Kyle Davis @stockholmux git npm
JReJSON Java BSD-2-Clause Redis Labs git
rejson-py Python BSD-2-Clause Redis Labs git pypi
go-rejson (multiple clients) Go MIT Nitish Malhotra @nitishm git
jonson (go-redis client) Go Apache-2.0 Daniel Krom @KromDaniel git
NReJSON .NET MIT/Apache-2.0 Tommy Hanks @tombatron git
phpredis-json PHP MIT Rafa Campoy @averias git
redislabs-rejson PHP MIT Mehmet Korkmaz @mkorkmaz git
rejson-rb Ruby MIT Pavan Vachhani @vachhanihpavan git rubygems

Current limitations and known issues

  • Internal arrays are not scaled down after deleting items (i.e. free memory isn't reclaimed)
  • Numbers are stored using 64-bit integers or doubles, and out of range values are not accepted

Acknowledgements

RedisJSON is developed with <3 at Redis Labs.

RedisJSON is made possible only because of the existance of these amazing open source projects:

License

Redis Source Available License Agreement - see LICENSE