Quantcast
Channel: XMl to JSON through java pojo using jackson - Stack Overflow
Viewing all articles
Browse latest Browse all 4

Answer by Vitaly for XMl to JSON through java pojo using jackson

$
0
0

Problem in field naming, all fields by default starts with small letter.for example: compositeResponse

To avoid this problem add annotation @JsonProperty for each field, like this:

    @JsonProperty("persondentification")    private String Persondentification;

Viewing all articles
Browse latest Browse all 4

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>