System:Json

From Aspen Documentation

The JSON class is not loaded by default, although it is provided in the default distribution.

To enable the xml class, place the following configuration in any of your configuration files:

$config['load_add_core_class'][] = array('classname' => 'Json', 'folder' => 'formats');


Function Description
php_json_encode Encodes a php array (single-tier or multidimensional) into a JSON object.