Converting Java objects to JSON with Jackson - Stack Overflow
To convert your object
in JSON with Jackson:
ObjectWriter ow = new ObjectMapper().writer().withDefaultPrettyPrinter(); String json = ow.writeValueAsString(object);
Read full article from Converting Java objects to JSON with Jackson - Stack Overflow
No comments:
Post a Comment