Skip to content

mholleville/RedisJSON

 
 

Repository files navigation

GitHub issues CircleCI Docker Cloud Build Status

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

Current limitations and known issues

  • Searching for object keys is O(N)
  • Containers 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

About

RedisJSON - a JSON data type for Redis

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 79.6%
  • Python 16.8%
  • Makefile 1.9%
  • Other 1.7%