API17:JRegistryFormatJson::objectToString
From Joomla! Documentation
JRegistryFormatJson::objectToString
Description
Converts an object into a JSON formatted string.
Template:Description:JRegistryFormatJson::objectToString [Edit Descripton]
Since
Synopsis
public JRegistryFormatJson->objectToString ($object, $options=array())
| Parameter | Type | Default | Description |
|---|---|---|---|
| $object | object | Data source object. | |
| $options | array | array() | Options used by the formatter. |
Returns
string JSON formatted string.
Defined in
libraries/joomla/registry/format/json.php
Referenced by
See also
Template:SeeAlso:JRegistryFormatJson::objectToString
Examples
<CodeExamplesForm />