Using JSON in CakePHP 1.2

original post I’m going to explain you how to setup CakePHP 1.2 to output JSON with help of Router::parseExtensions() and the JavascriptHelper::object() method. In this example we’re going to use a simple posts controller like the one in the Cake blog tutorial. First we need to let Cake know to parse .json extentions. Add the […]