チップス
phpにjson を ubuntu にインストールする
ubuntu 13.10 で json_decode() が使えなかったのでインストールしました。
apt-get install php5-dev
apt-get install php5-json*
I then updated the php.ini (which for me was located in ‘/etc/php5/apache2/’) to include the following line at the end:
extension=json.so