Utility/JsonParser.php
public function getMandatoryParam($path)
    {
        $this->validatePath($path);

        $value = $this->translatePathElement($path, $this->params);

        if(null === $value)
        {
            throw new JsonException("Json mandatory param '$path' not found found.");
        }
        return $value;
    }
public function getMandatoryParam($path)
    {
        $this->validatePath($path);

        $value = $this->translatePathElement($path, $this->params);

        if(null === $value)
        {
            throw new JsonException("Json mandatory param '$path' not found found.");
        }
        return $value;
    }
public function getMandatoryParam ( $ path ) { $ this -> validatePath ( $ path ) ; $ value = $ this -> translatePathElement ( $ path , $ this -> params ) ; if ( null === $ value ) { throw new JsonException ( "Json mandatory param '$path' not found found." ) ; } return $ value ; }
Returns json key value or throws exception if key doesn't exist

@throws JsonException If key doesn't exist
@param  string $path key
@return mixed        value
Returns json key value or throws exception if key doesn t exist