Chilkat2-Python
Chilkat2-Python
Decode HTML Entity Encoded JSON
See more JSON Examples
Decodes an HTML entity encoded string to JSON.Chilkat Chilkat2-Python Downloads
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"}