Anonymous Anonymous - 1 day ago
34 0

With this simple example you can convert XML to a JSON array.

React JSX

PHP XML to JSON array

$xml = simplexml_load_string($xml_string);
$json = json_encode($xml);
$array = json_decode($json,TRUE);
OlimpRc Автопродажа:
Comments