Skip to content

feat: replace Wink JSON and Jackson with Jakarta JSON-P#896

Open
berezovskyi wants to merge 4 commits into
masterfrom
b-jsonp-no-wink
Open

feat: replace Wink JSON and Jackson with Jakarta JSON-P#896
berezovskyi wants to merge 4 commits into
masterfrom
b-jsonp-no-wink

Conversation

@berezovskyi
Copy link
Copy Markdown
Contributor

Replace Wink JSON and Jackson with Jakarta JSON Processing (JSON-P). Thank to @SodiusWillert for open-sourcing their contribution in https://bitbucket.org/sodius/public.oslc.lyo

Checklist

  • This PR adds an entry to the CHANGELOG. See https://keepachangelog.com/en/1.0.0/ for instructions. Minor edits are exempt.
  • This PR was tested on at least one Lyo OSLC server (comment @oslc-bot /test-all if not sure) or adds unit/integration tests.
  • This PR does NOT break the API
  • Lint checks pass (run mvn package org.openrewrite.maven:rewrite-maven-plugin:run spotless:apply -DskipTests -P'!enforcer' if not, commit & push)

@berezovskyi
Copy link
Copy Markdown
Contributor Author

@oslc-bot /test-all

@oslc-bot
Copy link
Copy Markdown

oslc-bot commented Feb 14, 2026

Downstream Build Status

Repository Lyo CI Job state Workflow
oslc-op/refimpl ✅ Pass completed Link
oslc/lyo-samples ✅ Pass completed Link
oslc/promcode-lyo-server ✅ Pass completed Link

@berezovskyi

This comment was marked as outdated.

1 similar comment
@berezovskyi

This comment was marked as outdated.

@oslc-bot
Copy link
Copy Markdown

oslc-bot commented May 16, 2026

Downstream Build Status

Repository Lyo CI Job state Workflow
oslc-op/refimpl 🔴 Fail completed Link
oslc/lyo-samples 🔴 Fail completed Link
oslc/promcode-lyo-server 🔴 Fail completed Link

<version>1.4</version>
<groupId>jakarta.json</groupId>
<artifactId>jakarta.json-api</artifactId>
<version>2.1.3</version>
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

version should be BOM-aligned

JSONObject jo = JsonHelper.createJSON(null, null, null, resources, null);
jo.write(os);
JsonObject jo = JsonHelper.createJSON(null, null, null, resources, null);
jakarta.json.Json.createWriter(os).write(jo);
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

spaces for indents

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.

2 participants