GitHub user xiaobiaozhao edited a discussion: Add support of the JSON in Kvrocks

As everyone knows, JSON is more generic data. And it has richer expressions for 
data structures, I think we can support the JSON data structures in kvrocks.

This is the official website of RedisJSON
https://redis.io/commands/json.arrappend/

I think kvrocks can use jsonjson's commands.

One way is to use cjson as our JSON library since cjson-lua is already 
available in kvrocks.
Another approach is to introduce a new JSON library, such as 
[rapidjson](https://github.com/Tencent/rapidjson), 
[simdjson](https://github.com/simdjson/simdjson)

The 
[tair](https://help.aliyun.com/document_detail/145940.html?utm_content=g_1000230851&spm=5176.20966629.toubu.3.f2991ddcpxxvD1#section-908-6al-m46)
  DB supports two json formats, 
[JSONPath](https://datatracker.ietf.org/doc/draft-ietf-jsonpath-base/?spm=a2c4g.11186623.0.0.5f7b4603OHoLmF)
 and 
[JSONPointer](https://datatracker.ietf.org/doc/html/rfc6901?spm=a2c4g.11186623.0.0.5f7b4603OHoLmF)
 

I think Kvrocks can also support both formats. Jsonpointer is simple, JSON path 
is complex.



GitHub link: https://github.com/apache/incubator-kvrocks/discussions/1270

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to