code: public function parseJson(string $json)
      {
          return $this->builder->build(
              $this->scopedJsonDecoder->decode($json)
          );
      }
docs: Parse a JSON string.
  
  @param string $json
  
  @throws \InvalidArgumentException When attempting to parse JSON belonging to a different space or environment
  
  @return ResourceInterface|ResourceArray