Mapper объекта Prett

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