Go
Go
Decode HTML Entity Encoded JSON
See more JSON Examples
Decodes an HTML entity encoded string to JSON.Chilkat Go Downloads
success := false
sb := chilkat.NewStringBuilder()
success = sb.Append("{"xyz": "abc"}")
sb.EntityDecode()
// This is a test comment;
fmt.Println(*sb.GetAsString())
// Output is:
// {"xyz": "abc"}
sb.DisposeStringBuilder()