How to format json string to pretty printed in Kate

I’ve not seen too many editors that will break lines for you like that. Even with Vim, it breaks lines if you specify the maximum line-width etc. However, in most editors, if you specify the different bits in different lines, they will do the indenting for you.