JRegistryFormatJson::stringToObject: Difference between revisions
From Joomla! Documentation
m clean up |
m preparing for archive only |
||
| Line 4: | Line 4: | ||
Parse a JSON formatted string and convert it into an object. | Parse a JSON formatted string and convert it into an object. | ||
<source lang="php"> | <source lang="php"> | ||
| Line 37: | Line 37: | ||
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Registry|Registry]] | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Registry|Registry]] | ||
* [[API17:JRegistryFormatJson::stringToObject|Other versions of JRegistryFormatJson::stringToObject]] | * [[API17:JRegistryFormatJson::stringToObject|Other versions of JRegistryFormatJson::stringToObject]] | ||
===User contributed notes=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JRegistryFormatJson::stringToObject | category=JRegistryFormatJson::stringToObject | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Latest revision as of 03:35, 25 March 2017
JRegistryFormatJson::stringToObject
Description
Parse a JSON formatted string and convert it into an object.
public function stringToObject (
$data
$process_sections=false
)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $data | |||
| $process_sections | false |
- Returns
- Defined on line 44 of libraries/joomla/registry/format/json.php
See also
JRegistryFormatJson::stringToObject source code on BitBucket
Class JRegistryFormatJson
Subpackage Registry- Other versions of JRegistryFormatJson::stringToObject
User contributed notes
Code Examples