FasterXML / FasterXML/jackson-databind

Allow registering a hook to modify/pre-process String values read

未关闭
#2,971 8 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
most-wanted
主要语言
Java
星标
3.7k
派生
1.5k
平均合并
3 天 6 小时
30 天内合并 PR
28

描述

(note: counterpart to https://github.com/FasterXML/jackson-core/issues/355 -- see more discussion there)

For some use cases -- for example, variable substitution -- it would be beneficial to be able to register a handler that can replace parts of incoming String values before other databinding functionality handles it.
Since there are various ways this could occur, I'll add a databinding issue here; the original `jackson-core` one (see above) may be most likely way to get there, but even if so there probably needs to be a way to register such handler on per-call basis for `ObjectReader`s (and/or maybe `ObjectMapper`).

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。