PHP Class Neos\Eel\Helper\JsonHelper

Inheritance: implements Neos\Eel\ProtectedContextAwareInterface
Afficher le fichier Open project: neos/flow-development-collection Class Usage Examples

Méthodes publiques

Méthode Description
allowsCallOfMethod ( string $methodName ) : boolean All methods are considered safe
parse ( string $json, boolean $associativeArrays = true ) : mixed JSON decode the given string
stringify ( mixed $value ) : string JSON encode the given value

Method Details

allowsCallOfMethod() public méthode

All methods are considered safe
public allowsCallOfMethod ( string $methodName ) : boolean
$methodName string
Résultat boolean

parse() public méthode

JSON decode the given string
public parse ( string $json, boolean $associativeArrays = true ) : mixed
$json string
$associativeArrays boolean
Résultat mixed

stringify() public méthode

JSON encode the given value
public stringify ( mixed $value ) : string
$value mixed
Résultat string