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

Replace JSON's Javascript implementation with Jackson one #9591

Merged
merged 9 commits into from
Apr 2, 2024

Conversation

hubertp
Copy link
Contributor

@hubertp hubertp commented Apr 2, 2024

Pull Request Description

Jackson_Object supported parsing but not creating JSON from text. With this change, Jackson_Object is on par with JS_Object API and replaces the latter.

The most visible differences come from more detailed parsing exception's messages. Had to add some special cases for corner cases like NaN or infinity.

Closes #9473.

Checklist

Please ensure that the following checklist has been satisfied before submitting the PR:

  • All code follows the
    Scala,
    Java,
    and
    Rust
    style guides. In case you are using a language not listed above, follow the Rust style guide.
  • All code has been tested:
    • Unit tests have been written where possible.

`Jackson_Object` supported parsing but not creating JSON from text.
With this change, `Jackson_Object` is on par with `JS_Object` API and
can replace the latter.

The most visible differences come from more detailed parsing exception's
messages.
@hubertp hubertp added the CI: No changelog needed Do not require a changelog entry for this PR. label Apr 2, 2024
@jdunkerley
Copy link
Member

As discussed lets merge into the JS_Object and just have a single Jackson based version.

If we need the JS based one later we can always recover.

@hubertp hubertp added the CI: Ready to merge This PR is eligible for automatic merge label Apr 2, 2024
@mergify mergify bot merged commit a83c75f into develop Apr 2, 2024
40 of 42 checks passed
@mergify mergify bot deleted the wip/hubert/9473-json branch April 2, 2024 20:45
@hubertp hubertp changed the title Add missing API for Jackson_Object Replace JSON's Javascript implementation with Jackson one Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI: No changelog needed Do not require a changelog entry for this PR. CI: Ready to merge This PR is eligible for automatic merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Parse JSON via Java
2 participants