Difference between revisions of "JRegistryFormatJson"
From Joomla! Documentation
m (→User contributed notes: moving preparation) |
m (moving preparation) |
||
Line 14: | Line 14: | ||
|- | |- | ||
|public | |public | ||
− | |[[JRegistryFormatJson::objectToString | + | |[[API17:JRegistryFormatJson::objectToString|objectToString]] |
|Converts an object into a JSON formatted string. | |Converts an object into a JSON formatted string. | ||
|- | |- | ||
|public | |public | ||
− | |[[JRegistryFormatJson::stringToObject | + | |[[API17:JRegistryFormatJson::stringToObject|stringToObject]] |
|Parse a JSON formatted string and convert it into an object. | |Parse a JSON formatted string and convert it into an object. | ||
|- | |- | ||
|} | |} | ||
* '''Defined in''' libraries/joomla/registry/format/json.php | * '''Defined in''' libraries/joomla/registry/format/json.php | ||
− | * '''Extends''' [[JRegistryFormat | + | * '''Extends''' [[API17:JRegistryFormat|JRegistryFormat]] |
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.registry.format.json' );</source> | <source lang="php">jimport( 'joomla.registry.format.json' );</source> | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JRegistryFormatJson source code''' on [[jplatform:registry/format/json.php|BitBucket]] | * {{JVer|11.1}} '''JRegistryFormatJson source code''' on [[jplatform:registry/format/json.php|BitBucket]] | ||
− | * {{JVer|11.1}} Subpackage [[Subpackage Registry | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage Registry|Registry]] |
− | * [[JRegistryFormatJson|Other versions of JRegistryFormatJson]] | + | * [[API17:JRegistryFormatJson|Other versions of JRegistryFormatJson]] |
{{SeeAlso:JRegistryFormatJson}} | {{SeeAlso:JRegistryFormatJson}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> |
Revision as of 21:22, 11 May 2013
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JRegistryFormatJson[edit]
Description[edit]
Template:Description:JRegistryFormatJson [Edit Descripton]
Methods[edit]
Visibility | Method name | Description |
---|---|---|
public | objectToString | Converts an object into a JSON formatted string. |
public | stringToObject | Parse a JSON formatted string and convert it into an object. |
- Defined in libraries/joomla/registry/format/json.php
- Extends JRegistryFormat
Importing[edit]
jimport( 'joomla.registry.format.json' );
See also[edit]
- JRegistryFormatJson source code on BitBucket
- Subpackage Registry
- Other versions of JRegistryFormatJson
Template:SeeAlso:JRegistryFormatJson [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />