How to print out a nicely formatted JSON string? When working on a POC where I developed a plain REST service where I had to provide a json payload as an output I was struggling with getting my json payload nicely formatted. Searching for a pretty printer for json strings did not delivery any results....

According to the blog series (https://blogs.sap.com/2021/03/03/be-prepared-for-the-upgrade-2105-clean-up-your-rap-business-objects-to-adapt-them-to-the-upcoming-changes)  which describes about  cleaning up our RAP code before the update 2105 , I would like to point out some of my suggestions about the solutions described in the blog above (How I would tackle the same problem ). NB: The solutions Mentioned in the post are not suggested....