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

[C++] Support unquoted decimal in JSON parser #20431

Closed
asfimport opened this issue Sep 26, 2022 · 3 comments
Closed

[C++] Support unquoted decimal in JSON parser #20431

asfimport opened this issue Sep 26, 2022 · 3 comments

Comments

@asfimport
Copy link
Collaborator

Add an option to parse decimal as unquoted numbers in JSON

Support both quoted and unquoted decimal in JSON parser automatically.

Reporter: Jin Shang / @js8544
Assignee: Jin Shang / @js8544

PRs and other links:

Note: This issue was originally created as ARROW-17847. Please see the migration documentation for further details.

@asfimport
Copy link
Collaborator Author

Antoine Pitrou / @pitrou:
Can rapidJSON give us the original string representation of a number?

@asfimport
Copy link
Collaborator Author

Jin Shang / @js8544:
@pitrou Yes, by setting kParseNumbersAsStringsFlag, and we are using this feature: https://github.com/apache/arrow/blob/master/cpp/src/arrow/json/parser.cc#L682

@asfimport
Copy link
Collaborator Author

Antoine Pitrou / @pitrou:
Issue resolved by pull request 14242
#14242

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant