public function asArray(bool $decodeJSON = true) : array
    {
        if(!$decodeJSON) {
            return $this->_data;
        }

        $return = [];
        foreach($this->_data as $key => $value) {
            $decoded = json_decode($value);

            $return[$key] = $decoded;
            if(
                !is_array($decoded)  &&
                !is_object($decoded)
            ) {
                $return[$key] = $value;
            }
        }

        return $return;
    }
public function asArray(bool $decodeJSON = true) : array
    {
        if(!$decodeJSON) {
            return $this->_data;
        }

        $return = [];
        foreach($this->_data as $key => $value) {
            $decoded = json_decode($value);

            $return[$key] = $decoded;
            if(
                !is_array($decoded)  &&
                !is_object($decoded)
            ) {
                $return[$key] = $value;
            }
        }

        return $return;
    }
public function asArray ( bool $ decodeJSON = true ) : array { if ( ! $ decodeJSON ) { return $ this -> _data ; } $ return = [ ] ; foreach ( $ this -> _data as $ key => $ value ) { $ decoded = json_decode ( $ value ) ; $ return [ $ key ] = $ decoded ; if ( ! is_array ( $ decoded ) && ! is_object ( $ decoded ) ) { $ return [ $ key ] = $ value ; } } return $ return ; }
Returns table values.

@param bool $decodeJSON Whether the JSONs should be decoded or not.

@return array Table values.
Returns table values .