Skip to content

fix: allow trailing commas in JSON arrays#12

Merged
jeremylong merged 1 commit intomainfrom
scratch/trailing-comma
Apr 5, 2025
Merged

fix: allow trailing commas in JSON arrays#12
jeremylong merged 1 commit intomainfrom
scratch/trailing-comma

Conversation

@jeremylong
Copy link
Copy Markdown
Owner

Copilot AI review requested due to automatic review settings April 5, 2025 10:43
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

Files not reviewed (1)
  • gradle.properties: Language not supported
Comments suppressed due to low confidence (1)

open-vulnerability-clients/src/main/java/io/github/jeremylong/openvulnerability/client/nvd/NvdCveClient.java:250

  • [nitpick] Consider adding tests to verify that JSON arrays with trailing commas are correctly parsed with this configuration.
objectMapper.configure(JsonParser.Feature.ALLOW_TRAILING_COMMA, true);

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

Labels

None yet

Projects

None yet

2 participants