FasterXML / FasterXML/jackson3-dev
Allow combination of `@JsonValue`, `@JsonRawValue` somehow
未關閉
enhancement
- 主要語言
- 沒有語言資料
- 星號
- 6
- 分支
- 0
- PR 合併指標
- 30 天內沒有已合併 PR
描述
(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).
貢獻指南
這個儲存庫沒有索引到貢獻指南
評估
這個 Issue 還沒有評估資料。