PHP Class Nette\Utils\Json

Author: David Grudl
Datei anzeigen 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