jakartaee / jakartaee/jsonb-api

Custom Serialization should work on all levels and allow "super- generics"?

Open
#58 3 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
95
Forks
41
Avg merge
1d 6h
Merged PRs (30d)
35

Description

Custom Serialization currently doesn't seem to trigger for anything other than the initial object passed into "toJson", should this be the case? I want to serialize every instance of X in a specific way, but this doesn't seem possible at the moment. This could be a new property "DEEP_CUSTOM_SERIALIZATION"

Also should JsonbSerializer\ allow me to add custom serialization for every object passed into "toJson" ?

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the issue's questions about custom serialization of nested instances and JsonbSerializer. Determine the intended behavior and API design for deep custom serialization, then document a concrete specification and acceptance criteria before implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.