You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kvrocks.apache.org by GitBox <gi...@apache.org> on 2023/02/21 00:36:11 UTC

[GitHub] [incubator-kvrocks] xiaobiaozhao edited a discussion: Add

GitHub user xiaobiaozhao edited a discussion: Add

As everyone knows, Json is more generic data. And it has richer expressions for data structures, I think we can support 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 the 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 supports both formats. Jsonpointer is simple, jsonpath is complex.



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

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org