Questions tagged [jackson-dataformat-xml]

Data format extension for Jackson to offer alternative support for serializing POJOs as XML and deserializing XML as pojos.

Data format extension for Jackson (http://jackson.codehaus.org) to offer alternative support for serializing POJOs as XML and deserializing XML as pojos. Support implemented on top of Stax API (javax.xml.stream), by implementing core Jackson Streaming API types like JsonGenerator, JsonParser and JsonFactory.

295 questions
15
votes
3 answers

Xml serialization JAXB vs Jackson-dataformat-xml?

I have a XSD from which I want to support both JSON and XML data formats serialization/deserialization. I generated my Model classes using xjc utility. So uptill now I have handled JSON data by using Jackson JSON library. I cannot modify my Java…
Siddharth Trikha
  • 2,648
  • 8
  • 57
  • 101
10
votes
2 answers

Deserialize flat array in XML by Jackson to List of Pojo

Can you help me to parse the following XML file? 2017-10-25T09:13:54+02:00 1 Stuart 34
Denis Stephanov
  • 4,563
  • 24
  • 78
  • 174
10
votes
3 answers

Jackson Xml: How to add namespace only on root?

If i declare the namespace on the root element, like this: @JacksonXmlRootElement(namespace = "urn:stackify:jacksonxml", localName = "PersonData") public class Person { private String id; private String name; private String note; } It…
Thiago Sayão
  • 2,197
  • 3
  • 27
  • 41
10
votes
1 answer

(De)Serialize mixed content with jackson xml?

With all the searching that I've done, I understand that serializing/deserializing xml with jackson that has mixed content is problematic. Does anybody know of a way to handle the following xml using Java? Yada yada yada <a…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/java" class="post-tag grid--cell" title="show questions tagged 'java'" rel="tag">java</a> <a href="../../questions/tagged/xml" class="post-tag grid--cell" title="show questions tagged 'xml'" rel="tag">xml</a> <a href="../../questions/tagged/jackson" class="post-tag grid--cell" title="show questions tagged 'jackson'" rel="tag">jackson</a> <a href="../../questions/tagged/deserialization" class="post-tag grid--cell" title="show questions tagged 'deserialization'" rel="tag">deserialization</a> <a href="../../questions/tagged/jackson-dataformat-xml" class="post-tag grid--cell" title="show questions tagged 'jackson-dataformat-xml'" rel="tag">jackson-dataformat-xml</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Apr 20 '17 at 23:02">asked Apr 20 '17 at 23:02</time> <a href="../../users/7898473/shinynewuser" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/7898473.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="ShinyNewUser" /> </a> <div class="s-user-card--info"> <a href="../../users/7898473/shinynewuser" class="s-user-card--link">ShinyNewUser</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">101</li> <li class="s-award-bling s-award-bling__bronze" title="5 bronze badges">5</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-44785689"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>9</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>2</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/44785689/how-to-dynamically-assign-headers-to-a-csv-file-using-csvmapper-in-java" class="question-hyperlink">How to dynamically assign headers to a csv file using CsvMapper in Java</a></h3> <div class="excerpt">Can anyone help please? I am stuck on reading a csv file and serializing it onto a POJO. I am using CsvMapper from jackson library. The reading and serialization part are done and works fine-ish. The issue is when the user moves the headers/columns…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/java" class="post-tag grid--cell" title="show questions tagged 'java'" rel="tag">java</a> <a href="../../questions/tagged/csv" class="post-tag grid--cell" title="show questions tagged 'csv'" rel="tag">csv</a> <a href="../../questions/tagged/mapping" class="post-tag grid--cell" title="show questions tagged 'mapping'" rel="tag">mapping</a> <a href="../../questions/tagged/jackson-dataformat-xml" class="post-tag grid--cell" title="show questions tagged 'jackson-dataformat-xml'" rel="tag">jackson-dataformat-xml</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Jun 27 '17 at 16:43">asked Jun 27 '17 at 16:43</time> <a href="../../users/2087333/wil-ferraciolli" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/2087333.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Wil Ferraciolli" /> </a> <div class="s-user-card--info"> <a href="../../users/2087333/wil-ferraciolli" class="s-user-card--link">Wil Ferraciolli</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">449</li> <li class="s-award-bling s-award-bling__gold" title="3 gold badges">3</li> <li class="s-award-bling s-award-bling__silver" title="9 silver badges">9</li> <li class="s-award-bling s-award-bling__bronze" title="21 bronze badges">21</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-66417840"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>8</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/66417840/spring-apis-returning-xml-instead-of-json" class="question-hyperlink">Spring APIs returning XML instead of JSON</a></h3> <div class="excerpt">I have two spring boot projects - A(Main larger project with APIs) and B(a library which is imported by A as a dependency in pom.xml) pom.xml of project B: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0"…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/java" class="post-tag grid--cell" title="show questions tagged 'java'" rel="tag">java</a> <a href="../../questions/tagged/spring" class="post-tag grid--cell" title="show questions tagged 'spring'" rel="tag">spring</a> <a href="../../questions/tagged/spring-boot" class="post-tag grid--cell" title="show questions tagged 'spring-boot'" rel="tag">spring-boot</a> <a href="../../questions/tagged/jackson" class="post-tag grid--cell" title="show questions tagged 'jackson'" rel="tag">jackson</a> <a href="../../questions/tagged/jackson-dataformat-xml" class="post-tag grid--cell" title="show questions tagged 'jackson-dataformat-xml'" rel="tag">jackson-dataformat-xml</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Mar 01 '21 at 06:59">asked Mar 01 '21 at 06:59</time> <a href="../../users/7046239/rsp" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/7046239.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="rsp" /> </a> <div class="s-user-card--info"> <a href="../../users/7046239/rsp" class="s-user-card--link">rsp</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">813</li> <li class="s-award-bling s-award-bling__gold" title="2 gold badges">2</li> <li class="s-award-bling s-award-bling__silver" title="14 silver badges">14</li> <li class="s-award-bling s-award-bling__bronze" title="26 bronze badges">26</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-63220292"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>8</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>3</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/63220292/jackson-xml-deserialization-skips-field-when-using-multiple-usewrapping-false" class="question-hyperlink">Jackson XML deserialization skips field when using multiple useWrapping = false</a></h3> <div class="excerpt">I am trying to deserialize the following XML: <root> <foo name="AAA" /> <bar name="BBB" /> <foo name="CCC" /> </root> My Jackson classes are: @Data public class Foo { @JacksonXmlProperty(isAttribute = true) private String…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/java" class="post-tag grid--cell" title="show questions tagged 'java'" rel="tag">java</a> <a href="../../questions/tagged/jackson" class="post-tag grid--cell" title="show questions tagged 'jackson'" rel="tag">jackson</a> <a href="../../questions/tagged/jackson-dataformat-xml" class="post-tag grid--cell" title="show questions tagged 'jackson-dataformat-xml'" rel="tag">jackson-dataformat-xml</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Aug 02 '20 at 19:39">asked Aug 02 '20 at 19:39</time> <a href="../../users/1898563/michael" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/1898563.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Michael" /> </a> <div class="s-user-card--info"> <a href="../../users/1898563/michael" class="s-user-card--link">Michael</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">41,989</li> <li class="s-award-bling s-award-bling__gold" title="11 gold badges">11</li> <li class="s-award-bling s-award-bling__silver" title="82 silver badges">82</li> <li class="s-award-bling s-award-bling__bronze" title="128 bronze badges">128</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-57706610"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>8</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>4</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/57706610/how-to-set-default-messageconverter-to-json-with-jackson-dataformat-xml-added" class="question-hyperlink">How to set default MessageConverter to JSON with jackson-dataformat-xml added?</a></h3> <div class="excerpt">I have a working spring boot application that uses JSON as exchange data format. Now I had to add a service that sends their data only in xml. I added jackson-dataformat-xml to my pom and it worked perfectly. @Service public class TemplateService…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/java" class="post-tag grid--cell" title="show questions tagged 'java'" rel="tag">java</a> <a href="../../questions/tagged/spring-boot" class="post-tag grid--cell" title="show questions tagged 'spring-boot'" rel="tag">spring-boot</a> <a href="../../questions/tagged/jackson-databind" class="post-tag grid--cell" title="show questions tagged 'jackson-databind'" rel="tag">jackson-databind</a> <a href="../../questions/tagged/jackson-dataformat-xml" class="post-tag grid--cell" title="show questions tagged 'jackson-dataformat-xml'" rel="tag">jackson-dataformat-xml</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Aug 29 '19 at 08:59">asked Aug 29 '19 at 08:59</time> <a href="../../users/1961122/cliff-pereira" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/1961122.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Cliff Pereira" /> </a> <div class="s-user-card--info"> <a href="../../users/1961122/cliff-pereira" class="s-user-card--link">Cliff Pereira</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">403</li> <li class="s-award-bling s-award-bling__silver" title="4 silver badges">4</li> <li class="s-award-bling s-award-bling__bronze" title="14 bronze badges">14</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-41245270"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>8</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>3</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/41245270/deserialization-issue-from-xml-to-pojo-with-jackson-no-string-argument-constru" class="question-hyperlink">Deserialization issue from XML to POJO with Jackson: no String-argument constructor/factory method to deserialize from String value</a></h3> <div class="excerpt">I've got an XML document which I need to convert (deserialize) into Java POJO. I cannot change the structure of the XML document. I use Java 8, and Jackson framework for mapping. Gradle dependencies: dependencies { …</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/xml" class="post-tag grid--cell" title="show questions tagged 'xml'" rel="tag">xml</a> <a href="../../questions/tagged/java-8" class="post-tag grid--cell" title="show questions tagged 'java-8'" rel="tag">java-8</a> <a href="../../questions/tagged/jackson" class="post-tag grid--cell" title="show questions tagged 'jackson'" rel="tag">jackson</a> <a href="../../questions/tagged/xml-deserialization" class="post-tag grid--cell" title="show questions tagged 'xml-deserialization'" rel="tag">xml-deserialization</a> <a href="../../questions/tagged/jackson-dataformat-xml" class="post-tag grid--cell" title="show questions tagged 'jackson-dataformat-xml'" rel="tag">jackson-dataformat-xml</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Dec 20 '16 at 15:00">asked Dec 20 '16 at 15:00</time> <a href="../../users/768691/ucas" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/768691.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="ucas" /> </a> <div class="s-user-card--info"> <a href="../../users/768691/ucas" class="s-user-card--link">ucas</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">417</li> <li class="s-award-bling s-award-bling__gold" title="1 gold badge">1</li> <li class="s-award-bling s-award-bling__silver" title="11 silver badge">11</li> <li class="s-award-bling s-award-bling__bronze" title="30 bronze badge">30</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-55985069"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>7</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>0</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/55985069/how-to-fix-jackson-rendering-multiple-namespace-prefixes-for-the-same-namespac" class="question-hyperlink">How to fix Jackson rendering multiple namespace prefixes for the same namespace</a></h3> <div class="excerpt">I have a pojo which I am serializing using com.fasterxml.jackson.dataformat.xml.XmlMapper. I have a Java class defined with serveral string values. @JacksonXmlRootElement(namespace = "http://www.firstnamespace.com", localName = "Student") …</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/java" class="post-tag grid--cell" title="show questions tagged 'java'" rel="tag">java</a> <a href="../../questions/tagged/xml" class="post-tag grid--cell" title="show questions tagged 'xml'" rel="tag">xml</a> <a href="../../questions/tagged/xml-serialization" class="post-tag grid--cell" title="show questions tagged 'xml-serialization'" rel="tag">xml-serialization</a> <a href="../../questions/tagged/xml-namespaces" class="post-tag grid--cell" title="show questions tagged 'xml-namespaces'" rel="tag">xml-namespaces</a> <a href="../../questions/tagged/jackson-dataformat-xml" class="post-tag grid--cell" title="show questions tagged 'jackson-dataformat-xml'" rel="tag">jackson-dataformat-xml</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked May 04 '19 at 17:22">asked May 04 '19 at 17:22</time> <a href="../../users/4372142/kenb" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/4372142.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="KenB" /> </a> <div class="s-user-card--info"> <a href="../../users/4372142/kenb" class="s-user-card--link">KenB</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">215</li> <li class="s-award-bling s-award-bling__gold" title="1 gold badge">1</li> <li class="s-award-bling s-award-bling__silver" title="5 silver badge">5</li> <li class="s-award-bling s-award-bling__bronze" title="17 bronze badge">17</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-52041861"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>7</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/52041861/jackson-xml-to-pojo-array-without-wrapper" class="question-hyperlink">Jackson XML to Pojo - Array without wrapper</a></h3> <div class="excerpt">I have a list of tags with same attributes but doesn't have a wrapper element to make it as a arraylist.. how can I hold this as an arraylist in Java Spring-boot application? <Vouch_info> <Note a="sometext"/> <Quote b="sometext"/> …</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/java" class="post-tag grid--cell" title="show questions tagged 'java'" rel="tag">java</a> <a href="../../questions/tagged/spring-boot" class="post-tag grid--cell" title="show questions tagged 'spring-boot'" rel="tag">spring-boot</a> <a href="../../questions/tagged/jackson-dataformat-xml" class="post-tag grid--cell" title="show questions tagged 'jackson-dataformat-xml'" rel="tag">jackson-dataformat-xml</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Aug 27 '18 at 14:49">asked Aug 27 '18 at 14:49</time> <a href="../../users/840783/sbhatt" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/840783.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="sbhatt" /> </a> <div class="s-user-card--info"> <a href="../../users/840783/sbhatt" class="s-user-card--link">sbhatt</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">381</li> <li class="s-award-bling s-award-bling__gold" title="1 gold badge">1</li> <li class="s-award-bling s-award-bling__silver" title="4 silver badge">4</li> <li class="s-award-bling s-award-bling__bronze" title="16 bronze badge">16</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-51754577"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>7</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>4</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/51754577/how-to-ignore-a-specific-node-when-parsing-xml-with-jackson" class="question-hyperlink">How to ignore a specific node when parsing XML with Jackson</a></h3> <div class="excerpt">I want to know if it's possible to ignore one or many nodes when parsing XML using Jackson ML module. I want to be able to parse this XML <bundle> <id value="myBundleId"/> <meta> <profile value="http://myurl/profile1" /> <profile…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/java" class="post-tag grid--cell" title="show questions tagged 'java'" rel="tag">java</a> <a href="../../questions/tagged/xml" class="post-tag grid--cell" title="show questions tagged 'xml'" rel="tag">xml</a> <a href="../../questions/tagged/jackson" class="post-tag grid--cell" title="show questions tagged 'jackson'" rel="tag">jackson</a> <a href="../../questions/tagged/jackson-dataformat-xml" class="post-tag grid--cell" title="show questions tagged 'jackson-dataformat-xml'" rel="tag">jackson-dataformat-xml</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Aug 08 '18 at 19:49">asked Aug 08 '18 at 19:49</time> <a href="../../users/1274068/fred" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/1274068.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Fred" /> </a> <div class="s-user-card--info"> <a href="../../users/1274068/fred" class="s-user-card--link">Fred</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">741</li> <li class="s-award-bling s-award-bling__gold" title="2 gold badges">2</li> <li class="s-award-bling s-award-bling__silver" title="10 silver badges">10</li> <li class="s-award-bling s-award-bling__bronze" title="22 bronze badges">22</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-68072295"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>6</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>3</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/68072295/jackson-serialization-xml-with-root-to-abstract-class" class="question-hyperlink">Jackson serialization XML with root to abstract class</a></h3> <div class="excerpt">I have an application and I need to serialize XML with different tags at the root level. I implemented a test case with the following scenario, through the same input I get both xmls. <ClassTypeA> …</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/java" class="post-tag grid--cell" title="show questions tagged 'java'" rel="tag">java</a> <a href="../../questions/tagged/spring-boot" class="post-tag grid--cell" title="show questions tagged 'spring-boot'" rel="tag">spring-boot</a> <a href="../../questions/tagged/jackson-dataformat-xml" class="post-tag grid--cell" title="show questions tagged 'jackson-dataformat-xml'" rel="tag">jackson-dataformat-xml</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Jun 21 '21 at 17:29">asked Jun 21 '21 at 17:29</time> <a href="../../users/8223112/lucas-costa" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/8223112.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Lucas Costa" /> </a> <div class="s-user-card--info"> <a href="../../users/8223112/lucas-costa" class="s-user-card--link">Lucas Costa</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">99</li> <li class="s-award-bling s-award-bling__bronze" title="11 bronze badges">11</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-61116413"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>6</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>0</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/61116413/spring-boot-webclient-xml" class="question-hyperlink">Spring Boot WebClient XML</a></h3> <div class="excerpt">My spring boot application wants to use Webclient to make an http request (XML request body) and receives XML response. Hence I created another spring boot application with jackson-dataformat-xml and created an endpoint to receive and return XML as…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/spring-boot" class="post-tag grid--cell" title="show questions tagged 'spring-boot'" rel="tag">spring-boot</a> <a href="../../questions/tagged/jaxb" class="post-tag grid--cell" title="show questions tagged 'jaxb'" rel="tag">jaxb</a> <a href="../../questions/tagged/spring-webflux" class="post-tag grid--cell" title="show questions tagged 'spring-webflux'" rel="tag">spring-webflux</a> <a href="../../questions/tagged/spring-webclient" class="post-tag grid--cell" title="show questions tagged 'spring-webclient'" rel="tag">spring-webclient</a> <a href="../../questions/tagged/jackson-dataformat-xml" class="post-tag grid--cell" title="show questions tagged 'jackson-dataformat-xml'" rel="tag">jackson-dataformat-xml</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Apr 09 '20 at 07:56">asked Apr 09 '20 at 07:56</time> <a href="../../users/2077917/winster" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/2077917.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Winster" /> </a> <div class="s-user-card--info"> <a href="../../users/2077917/winster" class="s-user-card--link">Winster</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">943</li> <li class="s-award-bling s-award-bling__silver" title="10 silver badges">10</li> <li class="s-award-bling s-award-bling__bronze" title="28 bronze badges">28</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-39291104"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>6</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>2</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/39291104/xml-deserialization-using-jackson-dataformat-xml-custom-root-element" class="question-hyperlink">XML deserialization using jackson-dataformat-xml custom root element?</a></h3> <div class="excerpt">So I am using Jackson for JSON serialization/deserialization succesfully uptil now, now I am also trying to use it for XML serialization/deserialization using it's jackson-dataformat-xml-2.3.0.jar. I have used…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/json" class="post-tag grid--cell" title="show questions tagged 'json'" rel="tag">json</a> <a href="../../questions/tagged/xml" class="post-tag grid--cell" title="show questions tagged 'xml'" rel="tag">xml</a> <a href="../../questions/tagged/jaxb" class="post-tag grid--cell" title="show questions tagged 'jaxb'" rel="tag">jaxb</a> <a href="../../questions/tagged/jackson" class="post-tag grid--cell" title="show questions tagged 'jackson'" rel="tag">jackson</a> <a href="../../questions/tagged/jackson-dataformat-xml" class="post-tag grid--cell" title="show questions tagged 'jackson-dataformat-xml'" rel="tag">jackson-dataformat-xml</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Sep 02 '16 at 11:19">asked Sep 02 '16 at 11:19</time> <a href="../../users/1360694/siddharth-trikha" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/1360694.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Siddharth Trikha" /> </a> <div class="s-user-card--info"> <a href="../../users/1360694/siddharth-trikha" class="s-user-card--link">Siddharth Trikha</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">2,648</li> <li class="s-award-bling s-award-bling__gold" title="8 gold badges">8</li> <li class="s-award-bling s-award-bling__silver" title="57 silver badges">57</li> <li class="s-award-bling s-award-bling__bronze" title="101 bronze badges">101</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="s-pagination pager fr"> <div class="s-pagination--item is-selected">1</div> <a class="s-pagination--item" href="../../questions/tagged/jackson-dataformat-xml_page=2" rel="" title="Go to page 2">2</a> <a class="s-pagination--item" href="../../questions/tagged/jackson-dataformat-xml_page=3" rel="" title="Go to page 3">3</a> <div class="s-pagination--item s-pagination--item__clear">…</div> <a class="s-pagination--item" href="../../questions/tagged/jackson-dataformat-xml_page=19" rel="" title="Go to page 19">19</a> <a class="s-pagination--item" href="../../questions/tagged/jackson-dataformat-xml_page=20" rel="" title="Go to page 20">20</a> <a class="s-pagination--item" href="../../questions/tagged/jackson-dataformat-xml_page=2" rel="next" title="Go to page 2"> Next</a> </div> </div> </div> </div> </div> <script src="../../static/js/stack-icons.js"></script> <script src="../../static/js/fromnow.js"></script> </body> </html>