The examples provided by ext using JSON via XHR assume your php to support json_encode().
For those running php 4.x that might not work out of the box. But it is really easy to fix:
1.) Download JSON.php from:
http://mike.teczno.com/JSON/JSON.phps
2.) copy JSON.php to the example dir of ext.
3.) Change the php file in the example as follows:
(here i use the "ext tree" as an example)
In: example/tree/get-nodes.php add /remark:
Then it should work.Code:require_once("../JSON.php"); ... ... ... ... //echo json_encode($nodes); $json = new Services_JSON(); echo $json->encode($nodes);
Btw.: For those new to JSON here is a good wrap up from ibm of how to turn xml into json:
http://www-128.ibm.com/developerwork...x-xml2jsonphp/
Wolfgang