Xbase++
Xbase++
Decode HTML Entity Encoded JSON
See more JSON Examples
Decodes an HTML entity encoded string to JSON.Chilkat Xbase++ Downloads
LOCAL nSuccess
LOCAL oSb
nSuccess := 0
oSb := CreateObject("Chilkat.StringBuilder")
nSuccess := oSb:Append("{"xyz": "abc"}")
oSb:EntityDecode()
// This is a test comment;
? oSb:GetAsString()
// Output is:
// {"xyz": "abc"}
oSb:destroy()