Category: JSON Tools

Convert JSON to PHP Array

This tool converts JSON objects into executable PHP arrays. To do this, simply enter a valid JSON. The result is an associative PHP array in the form of executable source code. This can be included in your own PHP program. This makes it very easy to write test cases for JSON-based REST services that require a PHP-internal data representation.
Results will be displayed here.

Example for the conversion of a JSON to a PHP array

Input{
"title": "Convert JSON to PHP Array",
"language": "EN"
}
Output$data = array (
'title' => 'Convert JSON to PHP Array',
'language' => 'EN',
);

Similar Tools