Difference between revisions of "JRegistryFormatJson"
From Joomla! Documentation
(Bulk upload by Doxiki2) |
m (moving preparation) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
+ | =={{JVer|11.1}} JRegistryFormatJson== | ||
+ | ===Description=== | ||
+ | {{Description:JRegistryFormatJson}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[Description:JRegistryFormatJson|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JRegistryFormatJson|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
+ | !Visibility | ||
!Method name | !Method name | ||
!Description | !Description | ||
|- | |- | ||
− | |[[JRegistryFormatJson::objectToString | + | |public |
+ | |[[API17:JRegistryFormatJson::objectToString|objectToString]] | ||
|Converts an object into a JSON formatted string. | |Converts an object into a JSON formatted string. | ||
|- | |- | ||
− | |[[JRegistryFormatJson::stringToObject | + | |public |
+ | |[[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 | ||
+ | * '''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=== | ||
− | * [[JRegistryFormatJson|Other versions of | + | * {{JVer|11.1}} '''JRegistryFormatJson source code''' on [[jplatform:registry/format/json.php|BitBucket]] |
+ | * {{JVer|11.1}} Subpackage [[API17:Subpackage Registry|Registry]] | ||
+ | * [[API17:JRegistryFormatJson|Other versions of JRegistryFormatJson]] | ||
{{SeeAlso:JRegistryFormatJson}} | {{SeeAlso:JRegistryFormatJson}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JRegistryFormatJson|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JRegistryFormatJson|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | === | + | ===User contributed notes=== |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
Line 40: | Line 42: | ||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude> | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
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 />