Util/JsonTransformer.php
public function transform($json)
    {
        if (!is_string($json)) {
            throw new \InvalidArgumentException('$json variable is not a string.');
        }
        $assocArrayJson = json_decode($json, true);

        return $this->checkDecodedJson($assocArrayJson);
    }
public function transform($json)
    {
        if (!is_string($json)) {
            throw new \InvalidArgumentException('$json variable is not a string.');
        }
        $assocArrayJson = json_decode($json, true);

        return $this->checkDecodedJson($assocArrayJson);
    }
Transform Json to Associative Array.

@param string $json

@return array