PHP Class Nette\Utils\Json

Author: David Grudl
Afficher le fichier Open project: nette/utils Class Usage Examples

Méthodes publiques

Méthode 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 méthode

Decodes a JSON string.
public static decode ( $json, $options ) : mixed
Résultat mixed

encode() public static méthode

Returns the JSON representation of a value.
public static encode ( $value, $options ) : string
Résultat string