Node.js
Node.js
Decode HTML Entity Encoded JSON
See more JSON Examples
Decodes an HTML entity encoded string to JSON.Chilkat Node.js Downloads
NODEJS_PRELUDE
function chilkatExample() {
var success = false;
var sb = new chilkat.StringBuilder();
success = sb.Append("{"xyz": "abc"}");
sb.EntityDecode();
// This is a test comment;
console.log(sb.GetAsString());
// Output is:
// {"xyz": "abc"}
}
chilkatExample();