Psr7Middlewares\Middleware\JsonValidator::fromArray PHP 메소드

fromArray() 공개 정적인 메소드

public static fromArray ( array $json ) : static | callable
$json array
리턴 static | callable
    public static function fromArray(array $json)
    {
        return static::fromEncodedString(json_encode($json, JSON_UNESCAPED_SLASHES));
    }