| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
This is an implementation of ReJSON's JSON.SET and JSON.GET commands in pure Redis Lua. The data is stored using Redis' native String data structure.
Yep, that's right, no modules needed.
The implementation consists of two variants: one uses JSON format for storing the data, while the other stores it in MessagePack format.
This variant stores the data in JSON format. It uses (when required) the built-in cjson library for decoding/encoding from/to JSON to/from Lua's native table data type. It is made of the following scripts:
These scripts use the cmsgpack library to decode/encode the value before/after storing/fetching it in/from Redis. All scripts in this variant are functionally identical to their respective above counterparts but include the required conversions between formats:
| Back | FazBrowse Home | New Git URL |