FasterXML / FasterXML/jackson-databind

Deserializing nested xml within json

Đang mở
#2,242 2 bình luận 1 reaction 0 người được giao Xem trên GitHub
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ả

Is there a way to somehow deserialize nested xml witout custom deserializer?. We have some huge json which has a field which actually contains text with xml, so we would like to just mark it some annotation to point jackson that it's should be deserialized by another way. Seems like default implementation tries to invoke a constructor with String argument on an object that should be deserialized. The way we use is custom deserializer for a json field which contains that text and then we use default XmlMapper.
That's some kind of what we need to deserialize:
`{
"metadata": "some difficult XML data is here"
}`

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.