Allow combination of `@JsonValue`, `@JsonRawValue` somehow
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Domain
- backend-api-design
Research direction
No files, tests, or entry points are named. Start by reading the linked jackson-databind issue and comparing the current meanings of @JsonValue and @JsonRawValue; define a compatible API for combining them and tests that establish the intended serialized output.
Written by the indexing model from the issue text.
Description
(for background see https://github.com/FasterXML/jackson-databind/issues/1938)
Although naming of @JsonRawValue might indicate combination of @JsonValue and "do not encode", it actually works as refinement for regular properties, that is, combination of @JsonProperty and "do not encode".
But in some cases it would be beneficial to allow former interpretation.
One possibility would be to add a new property in @JsonValue -- this seem more natural than doing the reverse (adding something in @JsonRawValue to indicate "this is the sole output like @JsonValue, not property).
- Dominant language
- No language data
- Stars
- 6
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from FasterXML/jackson3-dev
-
enhancement functionality-change
Difficulty 3/5 1-2 days Newbie friendliness 35/100
FasterXML/jackson3-dev#33 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
FasterXML/jackson3-dev#32 ·
-
Add `writeStartObject(Object, int)` in generator API to support fixed-element writes (CBOR et al) Open
Difficulty 3/5 1-2 days Newbie friendliness 42/100
FasterXML/jackson3-dev#30 ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 25/100
FasterXML/jackson3-dev#28 ·
-
Change "invalid subtype" (security check) from `BeanDeserializerFactory` into `ClassNameIdResolver` Open
Difficulty 4/5 3-5 days Newbie friendliness 30/100
FasterXML/jackson3-dev#20 ·
All issues in FasterXML/jackson3-dev
Similar issues
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
AXERA-TECH/ax-llm#77 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
games-on-whales/wolf#509 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100