PHP
PHP
Decode HTML Entity Encoded JSON
See more JSON Examples
Decodes an HTML entity encoded string to JSON.Chilkat PHP Downloads
<?php
use Chilkat2\StringBuilder;
$sb = new StringBuilder();
$sb->Append('{"xyz": "abc"}');
$sb->EntityDecode();
// This is a test comment;
echo $sb->GetAsString(), "\n";
// Output is:
// {"xyz": "abc"}