How do I make Jackson's build() method pretty-print its JSON output?
I use Spring, Jersey and Jackson to provide an API that produces JSON.
My @Component has a @Get method that returns Response.ok(enti开发者_高级运维ty).build().
That output is very compact. How do I make that output pretty / formatted?
精彩评论