Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

jackson object to string

Book book = new Book("Harry Potter", "1", "J.K.Rowling");
String bookAsString = objectMapper.writeValueAsString(book);
 
PREVIOUS NEXT
Tagged: #jackson #object #string
ADD COMMENT
Topic
Name
4+2 =