Skip to content

Conversation

@snazy
Copy link
Member

@snazy snazy commented Dec 20, 2025

The code is very much a copy of the code for Jackson 2, adapted in a few places to Jackson 3:

  • Adapt to Jackson 3 type renames, especially for the SerializationProvider -> SerializationContext rename
  • Adapt to the Jackson 3 mapper builder pattern and getting the required SerializationContext to inspect types in Jackson3Registry.

The public API type org.projectnessie.cel.types.jackson3.Jackson3Registry is in a different package and uses a different type name, although it results in a repetition of the Jackson major version in the type name.

The dependency-free cel-standalone artifact includes both Jackson 3 and Jackson 2 now.

The code is very much a copy of the code for Jackson 2, adapted in a few places to Jackson 3:

* Adapt to Jackson 3 type renames, especially for the `SerializationProvider` -> `SerializationContext` rename
* Adapt to the Jackson 3 mapper builder pattern and getting the required `SerializationContext` to inspect types in `Jackson3Registry`.

The public API type `org.projectnessie.cel.types.jackson3.Jackson3Registry` is in a different package and uses a different type name, although it results in a repetition of the Jackson major version in the type name.

The dependency-free `cel-standalone` artifact includes both Jackson 3 and Jackson 2 now.
@snazy snazy merged commit 735eed1 into projectnessie:main Dec 23, 2025
3 checks passed
@snazy snazy deleted the jackson-3 branch December 23, 2025 09:06
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