Re: [jackson-user] Jackson and XHTML

2017-03-13 Thread steve
Thanks Tatu. I was looking through the code, and noticed InputDecorator. I'm going to try to decorate the formatting tags differently and see how that goes. I really just want the contents of that as a String in my POJO anyway, so I might be able to decorate the formatting tags away before

Re: [jackson-user] Jackson and XHTML

2017-03-13 Thread Tatu Saloranta
To be completely honest I don't think you can easily modify components to do that, since pieces (FromXmlParser) are constructed by others. Your best bet may be to pre-process content. But beyond that, how would and should data be mapped? JsonNode does not work that well with XML content (it is not

Re: [jackson-user] Jackson and XHTML

2017-03-13 Thread steve
Thank you Tatu. If I were to try to override this behavior, where should I look in Jackson? For example, if I wanted to try to have Jackson skip over/ignore certain tags like , , and , where should I look? On Monday, March 13, 2017 at 1:33:20 PM UTC-4, Tatu Saloranta wrote: > > Jackson XML ba

Re: [jackson-user] Jackson and XHTML

2017-03-13 Thread Tatu Saloranta
Jackson XML backend does not really support mixed content -- content model that has both non-whitespace text AND elements. This is difficult to represent with databinding, and is mostly operated with XML-centric models like DOM. There has been some talk about exposing this in some form or fashion,

[jackson-user] Jackson and XHTML

2017-03-13 Thread steve
Is it possible to use Jackson to parse XHTML? I am trying to parse this fragment, and the inline , and tags are giving me some problems. http://www.w3.org/1999/xhtml";> This is an example with some xhtml formatting. I'm getting an exception: java.io.IOException:

[jackson-user] JsonIdentityInfo causes objects to be serialized as Ids, and then cant deserialize them

2017-03-13 Thread Sagar Kapadia
HI, I asked this question on on disqus and the link to the project src is below. https://github.com/ks1974in/DeserializationTestForJson.git I have also asked this question on stackoverflow at http://stackoverflow.com/questions/42288780/jsonidentityinfo-causes-objects-to-be-serialized-as-ids-an

[jackson-user] JsonIdentityInfo causes objects to be serialized as Ids, and then cant deserialize them

2017-03-13 Thread Sagar Kapadia
Hi i asked this question on stack overflow at http://stackoverflow.com/questions/42288780/jsonidentityinfo-causes-objects-to-be-serialized-as-ids-and-then-cant-deseriali and I previously asked the question on disqus and the link to the project src is below. https://github.com/ks1974in/Deseri