Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • 1
    In json files, all keys and values are quoted, except for numeric values. If the json file you want to pass as a string contains these quote characters, they will not be altered if you read it in with myprogram (Get-Content foo.json -Raw) Commented Oct 15, 2018 at 19:06
  • @Theo: The problem here is PowerShell's (lack of) quoting when passing a string with embedded " chars. to an external program. Commented Oct 15, 2018 at 19:44