This extension implements the » JavaScript Object Notation (JSON) data-interchange format. The decoding in PHP 5 is handled by a parser based on the JSON_checker by Douglas Crockford. PHP 7 comes with a completely new and improved parser that is specifically written for PHP and licensed under the PHP license.


PHP implements a superset of JSON as specified in the original » RFC 7159.