Sample code for 30+ languages & platforms
PowerShell

Decode HTML Entity Encoded JSON

See more JSON Examples

Decodes an HTML entity encoded string to JSON.

Chilkat PowerShell Downloads

PowerShell
Add-Type -Path "C:\chilkat\ChilkatDotNet47-x64\ChilkatDotNet47.dll"

$success = $false

$sb = New-Object Chilkat.StringBuilder

$success = $sb.Append("{"xyz": "abc"}")

$sb.EntityDecode()

# This is a test comment;
$($sb.GetAsString())

# Output is:

# {"xyz": "abc"}