http://mike.teczno.com/JSON/JSON.phps 某php页面的的代码。 $json = new Services_JSON(); echo $json->encode( $this );