[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Source view] [Print] [Project Stats]
Part of the Joomla Framework Registry Package
Copyright: | Copyright (C) 2005 - 2021 Open Source Matters, Inc. All rights reserved. |
License: | GNU General Public License version 2 or later; see LICENSE |
File Size: | 78 lines (2 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Json:: (2 methods):
objectToString()
stringToObject()
objectToString($object, array $options = []) X-Ref |
Converts an object into a JSON formatted string. param: object $object Data source object. param: array $options Options used by the formatter. return: string JSON formatted string. |
stringToObject($data, array $options = ['processSections' => false]) X-Ref |
Parse a JSON formatted string and convert it into an object. If the string is not in JSON format, this method will attempt to parse it as INI format. param: string $data JSON formatted string to convert. param: array $options Options used by the formatter. return: object Data object. |
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |