PHP 클래스 Neos\Eel\Helper\JsonHelper

상속: implements Neos\Eel\ProtectedContextAwareInterface
파일 보기 프로젝트 열기: neos/flow-development-collection 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

allowsCallOfMethod() 공개 메소드

All methods are considered safe
public allowsCallOfMethod ( string $methodName ) : boolean
$methodName string
리턴 boolean

parse() 공개 메소드

JSON decode the given string
public parse ( string $json, boolean $associativeArrays = true ) : mixed
$json string
$associativeArrays boolean
리턴 mixed

stringify() 공개 메소드

JSON encode the given value
public stringify ( mixed $value ) : string
$value mixed
리턴 string