Mapper de objeto Pretty Write como string

String json = mapper.writerWithDefaultPrettyPrinter().writeValueAsString(<object>);
Talented Tarantula