TAK

phpでjsonをxmlに変換する

xmljsonに変換したい人ばっかりなんですが、
逆をしたい人もいるでしょう。


JAX.php で、そういうことができます


require_once("JAX.php");


.....


$json = file_get_contents( $argv[1]  );

$jax = new JAX();

echo      $jax->json2xml(  "XML"  , $json  );

これで実行できます。