Skip to content

Conversation

@mpkorstanje
Copy link
Contributor

@mpkorstanje mpkorstanje commented Oct 27, 2025

⚡️ What's your motivation?

We have two reason to replace minimal-json:

  1. Minimal json is no longer maintained.
  2. Minimal json is shaded in, this makes upgrading to Java 17 more complicated.

And while using regular expressions to parse json won't work in general

  • json is not a regular language - pull request events are[1].

Fixes: #292

  1. https://docs.github.com/en/webhooks/webhook-events-and-payloads#pull_request

🏷️ What kind of change is this?

  • 🏦 Refactoring/debt/DX (improvement to code design, tooling, etc. without changing behaviour)

📋 Checklist:

  • I agree to respect and uphold the Cucumber Community Code of Conduct
  • I've changed the behaviour of the code
    • I have added/updated tests to cover my changes.
  • My change requires a change to the documentation.
    • I have updated the documentation accordingly.
  • Users should know about my change
    • I have added an entry to the "Unreleased" section of the CHANGELOG, linking to this pull request.

@mpkorstanje mpkorstanje force-pushed the remove-json-parser branch 3 times, most recently from 2fc67bc to 311a71c Compare October 27, 2025 14:17
@mpkorstanje mpkorstanje marked this pull request as ready for review October 27, 2025 14:18
We have two reason to replace minimal-json:

1. Minimal json is no longer maintained.
2. Minimal json is shaded in, this makes upgrading to Java 17 more
   complicated.

And while using regular expressions to parse json won't work in general
- json is not a regular language - pull request events are[1].

Fixes: #292

1. https://docs.github.com/en/webhooks/webhook-events-and-payloads#pull_request
@mpkorstanje mpkorstanje merged commit 45917b0 into main Oct 27, 2025
4 checks passed
@mpkorstanje mpkorstanje deleted the remove-json-parser branch October 27, 2025 14:22
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.

java: minimal-json is no longer maintained

1 participant