FasterXML / FasterXML/jackson-databind

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

Đang mở
#2,971 8 bình luận 0 reaction 0 người được giao Xem trên GitHub
most-wanted
Ngôn ngữ chính
Java
Star
3.7k
Fork
1.5k
Merge trung bình
3 ngày 6 giờ
Pull request đã merge (30 ngày)
28

Mô tả

(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`).

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.