src/Client.php
public function parseJson(string $json)
    {
        return $this->builder->build(
            $this->scopedJsonDecoder->decode($json)
        );
    }
public function parseJson(string $json)
    {
        return $this->builder->build(
            $this->scopedJsonDecoder->decode($json)
        );
    }
public function parseJson ( string $ json ) { return $ this -> builder -> build ( $ this -> scopedJsonDecoder -> decode ( $ json ) ) ; }
Parse a JSON string.

@param string $json

@throws \InvalidArgumentException When attempting to parse JSON belonging to a different space or environment

@return ResourceInterface|ResourceArray
Parse a JSON string .