I use Spring, Jersey and Jackson to provide an API that produces JSON.
My @Component has a @Get method that returns Response.ok(entity).build().
That output is very compact. How do I make that output pretty / formatted?
I use Spring, Jersey and Jackson to provide an API that produces JSON.
My @Component has a @Get method that returns Response.ok(entity).build().
That output is very compact. How do I make that output pretty / formatted?
© 2022 - 2024 — McMap. All rights reserved.