JSON.INDEX ADD <index> <field> <path>
JSON.INDEX DEL <index> <field>
JSON.INDEX INFO <index> <field>
JSON.QGET <index> <query> <path>
JSON.QSET <index> <query> <path> <json> [NX | XX]
JSON.QDEL <index> <query> <path>
Return value from JSON.QGET is an array of keys and values:
key
json
key
json
In a language such as Java this could be represented as a Map<String, Document>
.
A query combining multiple paths:
JSON.QGET mytype "@path1:hello @path2:world" d.name
cargo build --release
redis-server --loadmodule ./target/release/libredisjson.so