API16

API16:JRegistryFormatJSON

From Joomla! Documentation

Defined in

libraries/joomla/registry/format/json.php

Methods

Method name Description
objectToString Converts an object into a JSON formatted string.

Unfortunately, there is no way to have ini values nested further than two levels deep. Therefore we will only go through the first two levels of the object.

stringToObject Parse a JSON formatted string and convert it into an object.

Importing

jimport( 'joomla.registry.format.json' );



Examples

Code Examples