Sample code for 30+ languages & platforms
C#

Decode HTML Entity Encoded JSON

See more JSON Examples

Decodes an HTML entity encoded string to JSON.

Chilkat C# Downloads

C#
bool success = false;

Chilkat.StringBuilder sb = new Chilkat.StringBuilder();

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

sb.EntityDecode();

//  This is a test comment;
Debug.WriteLine(sb.GetAsString());

//  Output is:

//  {"xyz": "abc"}