Sample code for 30+ languages & platforms
Chilkat2-Python

Decode HTML Entity Encoded JSON

See more JSON Examples

Decodes an HTML entity encoded string to JSON.

Chilkat Chilkat2-Python Downloads

Chilkat2-Python
import chilkat2

success = False

sb = chilkat2.StringBuilder()

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

sb.EntityDecode()

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

# Output is:

# {"xyz": "abc"}