The Debian maintainers (which Ubuntu is based on), in their great wisdom of Open Source licenses, took offense with the JSON license that "this shall only be used for good, not evil", and so excluded it from the PHP compile.
You can install it by explicitly installing php5-json
.
sudo apt-get install php5-json