Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
Nette
Utils
Json
PHP Class Nette\Utils\Json
Author:
David Grudl
Mostra file
Open project: nette/utils
Class Usage Examples
Public Methods
Method
Description
decode
(
$json
,
$options
) :
mixed
Decodes a JSON string.
encode
(
$value
,
$options
) :
string
Returns the JSON representation of a value.
Method Details
decode()
public
static
method
Decodes a JSON string.
public
static
decode
(
$json
,
$options
) :
mixed
return
mixed
encode()
public
static
method
Returns the JSON representation of a value.
public
static
encode
(
$value
,
$options
) :
string
return
string