Skip to content

feat(base-transport-json): replace Jackson with base-json#55

Merged
deer merged 1 commit intomainfrom
drop_jackson
May 2, 2026
Merged

feat(base-transport-json): replace Jackson with base-json#55
deer merged 1 commit intomainfrom
drop_jackson

Conversation

@deer
Copy link
Copy Markdown
Collaborator

@deer deer commented May 2, 2026

Migrates base-transport-json off the Jackson streaming API (JsonGenerator/JsonParser) and onto the base-json typed value model introduced in #54. The Codec interface gains encode/decode methods that operate on JsonValue instead of void write/read methods that mutated a streaming generator/parser, all codec implementations simplify dramatically as a result, and JsonTransport itself drops its requires com.fasterxml.jackson.core module dependency entirely. Jackson is removed from the root BOM. Checked IOException is replaced with unchecked IllegalStateException throughout, since codec failures are programming errors rather than I/O failures. The polymorphic type discriminator field is renamed from "type" to "@type" to prevent silent key collisions with marshalled objects that have a field of the same name.

@deer deer merged commit 9985e95 into main May 2, 2026
3 checks passed
@deer deer deleted the drop_jackson branch May 2, 2026 02:42
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.

1 participant