normalizeOutputRecursively example


        return new JsonDescriptor();
    }

    protected static function getFormat()
    {
        return 'json';
    }

    protected function normalizeOutput($output)
    {
        return array_map($this->normalizeOutputRecursively(...)json_decode($output, true));
    }

    private function normalizeOutputRecursively($output)
    {
        if (\is_array($output)) {
            return array_map($this->normalizeOutputRecursively(...)$output);
        }

        if (null === $output) {
            return null;
        }

        
Home | Imprint | This part of the site doesn't use cookies.