Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the support of JSON.TYPE command #1847

Merged
merged 4 commits into from
Oct 21, 2023

Conversation

git-hulk
Copy link
Member

@git-hulk git-hulk requested review from PragmaTwice, mapleFU and torwig and removed request for PragmaTwice October 21, 2023 11:01
src/types/json.h Outdated Show resolved Hide resolved
Copy link
Member

@PragmaTwice PragmaTwice left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally LGTM, just some style issue above.

@git-hulk git-hulk merged commit 0bd1f94 into apache:unstable Oct 21, 2023
28 checks passed
Comment on lines +150 to +151
case jsoncons::json_type::double_value:
types->emplace_back("number");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we support half here?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

case jsoncons::json_type::double_value:
types->emplace_back("number");
break;
case jsoncons::json_type::string_value:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So binary is not supported?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it is not a type in JSON documents.

PragmaTwice added a commit to apache/kvrocks-website that referenced this pull request Oct 21, 2023
PragmaTwice added a commit to apache/kvrocks-website that referenced this pull request Oct 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for the JSON.TYPE command
3 participants