Skip to content
A set of extensions for interacting with the ReJSON module for Redis.
C#
Branch: master
Clone or download
Latest commit 8b2f0f9 Nov 9, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
NReJSON.IntegrationTests Added support for new JSON.GET options and some integration tests. Nov 9, 2019
NReJSON.Tests
NReJSON Upped the version number and widened the required version of Nov 9, 2019
.gitignore Current progress. Oct 27, 2018
LICENSE
NReJSON.sln Actually did something with the readme. Jan 19, 2019
README.md Updated readme. Nov 9, 2019
appveyor.yml

README.md

NReJSON

Build status

Overview

NReJSON is a series of extension methods for the StackExchange.Redis library that will enable you to interact with the Redis module ReJSON. This is made possible by the Execute and ExecuteAsync methods already present in the SE.Redis library.

The following blog post by Marc Gravell was the inspiration behind this: StackExchange.Redis and Redis 4.0 Modules. He even has an example of how to call a command from the ReJSON module!

Installation

PM> Install-Package NReJSON -Version 1.0.0

Usage

I'm assuming that you already have the ReJSON module installed on your Redis server.

You can verify that the module is installed by executing the following command:

MODULE LIST

If ReJSON is installed you should see output similar to the following:

1) 1) "name"
   2) "ReJSON"
   3) "ver"
   4) (integer) 10001

(The version of the module installed on your server obviously may vary.)

Examples

In this repository there are a suite of integration tests that should be sufficent to serve as examples on how to use all supported ReJSON commands.

Integration Tests

Major Issues

The extension method for JSON.STRAPPEND doesn't work, because honestly I'm not really sure how to use the command. This is actually the first issue for the project which can be found here.

You can’t perform that action at this time.