PHP Extension
PHP Extension
Decode HTML Entity Encoded JSON
See more JSON Examples
Decodes an HTML entity encoded string to JSON.Chilkat PHP Extension Downloads
<?php
include("chilkat.php");
$success = false;
$sb = new CkStringBuilder();
$success = $sb->Append('{"xyz": "abc"}');
$sb->EntityDecode();
// This is a test comment;
print $sb->getAsString() . "\n";
// Output is:
// {"xyz": "abc"}
?>