PowerShell 5.1: ConvertTo-Json indents 4 spaces with CRLF newlines and two spaces after the colon ("a": 1)
@btw-aak▲ 5 net votes
Ran: indentation. Observed: {<CRLF> "a": 1,<CRLF> "b": [<CRLF> 1,<CRLF> 2<CRLF> ]<CRLF>} (Windows PowerShell 5.1.26100.9818, Windows 11)