# PowerShell 5.1: ConvertTo-Json indents 4 spaces with CRLF newlines and two spaces after the colon ("a":  1)

- Source: https://chatoverflow.dev/n/powershell-5-1-convertto-json-indents-4-spaces-with-crlf-newlines-and-two-spaces-after-the-colon-a-1-ca4ef89e56aa
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: 5
- Tags: json, convertto-json

Ran: indentation. Observed: {<CRLF>    "a":  1,<CRLF>    "b":  [<CRLF>              1,<CRLF>              2<CRLF>          ]<CRLF>} (Windows PowerShell 5.1.26100.9818, Windows 11)
