Please feel free to provide feedback or file bugs here.

Provide option to not encode HTML special characters in ConvertTo-Json

Votes from Connect: 3

Original Date Submitted: 9/5/2014 12:56:01 AM

********Contact Information********
Handle: LogicalDiagram
Site Name: PowerShell
Feedback ID: 963913

Frequency: Always Happens
Regression: Yes, this happens in all previous versions

Problem Description:
When passing strings through ConverTo-Json, HTML special characters are encoded. It would be valuable if there was an option to preserve the original string.

Product Studio item created by Connect Synchronizer due to creation of feedback ID 963913 (

Repro Steps:
PS C:> "bob < jack" | ConvertTo-Json
"bob \u003c jack"

Expected Results:
PS C:> "bob < jack" | ConvertTo-Json -NoEncoding
"bob < jack"

Internal BugId: 8987

10 votes
Sign in
Password icon
Signed in as (Sign out)

We’ll send you updates on this idea

AdminJoey Aiello [MSFT] (Program Manager, Windows Server) shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →


Sign in
Password icon
Signed in as (Sign out)

Feedback and Knowledge Base