It seems that back-slash doesn't work:
> echo "[{\"name\": \"oren\"}]" > input.json
> type .\input.json
[{\
name\: \oren\}]
It seems that back-slash doesn't work:
> echo "[{\"name\": \"oren\"}]" > input.json
> type .\input.json
[{\
name\: \oren\}]
According to this link:
The PowerShell escape character is the backtick "`" character
And indeed:
> echo "[{`"name`": `"oren`"}]" > input.json
> type .\input.json
[{"name": "oren"}]
Strangely enough, this info is not (easily?) found in the official docs