public function executeJson($command, $params = null)
    {
        return json_decode($this->execute($command, $params), true);
    }
public function executeJson($command, $params = null)
    {
        return json_decode($this->execute($command, $params), true);
    }
public function executeJson ( $ command , $ params = null ) { return json_decode ( $ this -> execute ( $ command , $ params ) , true ) ; }
Execute a command on the API and return the content as json decoded array..

@param string        $command The command to post.

@param null|string[] $params  The parameters (if any).

@return array
Execute a command on the API and return the content as json decoded array ..