API17

Difference between revisions of "JRegistryFormatJson"

From Joomla! Documentation

m (JoomlaWikiBot moved page JRegistryFormatJson/11.1 to API17:JRegistryFormatJson without leaving a redirect: Robot: Moved page)
m (preparing for archive only)
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
=={{JVer|11.1}} JRegistryFormatJson==
 
=={{JVer|11.1}} JRegistryFormatJson==
 
===Description===
 
===Description===
{{Description:JRegistryFormatJson}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[Description:JRegistryFormatJson|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
 
===Methods===
 
===Methods===
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
Line 14: Line 12:
 
|-
 
|-
 
|public  
 
|public  
|[[JRegistryFormatJson::objectToString/11.1|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/11.1|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/11.1|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/11.1|Registry]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage Registry|Registry]]
* [[JRegistryFormatJson|Other versions of JRegistryFormatJson]]
+
* [[API17:JRegistryFormatJson|Other versions of JRegistryFormatJson]]
{{SeeAlso:JRegistryFormatJson}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[SeeAlso:JRegistryFormatJson|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
 
===User contributed notes===
 
===User contributed notes===
<CodeExamplesForm />
+
=== Code Examples ===
 
<dpl>
 
<dpl>
 
noresultsheader=\n
 
noresultsheader=\n
 
category=JRegistryFormatJson
 
category=JRegistryFormatJson
category=CodeExample
+
namespace=CodeExample
 
category=ClassExample
 
category=ClassExample
 
include=*
 
include=*
Line 45: Line 41:
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:Platform JClasses]][[Category:Platform 11.1]][[Category:JRegistryFormatJson]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 22:35, 24 March 2017

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.

Joomla 11.1 JRegistryFormatJson[edit]

Description[edit]

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]


User contributed notes[edit]

Code Examples[edit]