Hello,
I have been fighting with the example in Chapter 7 for almost 5 hours...only to realise that PHP-JSON may not contain the same functionality as JSON-PHP.
Based on the "Other Tools" section of Chapter 7, I thought PHP-JSON would be the logical choice and simple replacement, given I seek the fastest server components. The PHP-JSON website identifies performance gains over native PHP, but I could not get the example to work until I added the line to include JSON-PHP. The cryptic error messages led me nowhere, until I read the last post (see
http://p2p.wrox.com/topic.asp?TOPIC_ID=41360). BTW, the module is installed, as phpinfo() reports it.
Is there functionality in JSON-PHP that is not in PHP-JSON? Any additional comments or thoughts? I am new to JSON and suspect I need to do some more reading...
Thanks.