FasterXML / FasterXML/jackson-databind

Deserializing nested xml within json

Abierto
#2,242 2 comentarios 1 reacción 0 asignados Ver en GitHub
Lenguaje dominante
Java
Estrellas
3.7k
Forks
1.5k
Merge medio
3 d 6 h
PR fusionados (30 d)
28

Descripción

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"
}`

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.