public function dataValue()
    {
        $result = null;
        if (is_array($this->value)) {
            $this->value = $this->arrayFilterEmptyRecursive($this->value);
            $result = (!empty($this->value)) ? Convert::array2json($this->value) : $result;
        } else {
            $result = parent::dataValue();
        }

        return $result;
    }
public function dataValue()
    {
        $result = null;
        if (is_array($this->value)) {
            $this->value = $this->arrayFilterEmptyRecursive($this->value);
            $result = (!empty($this->value)) ? Convert::array2json($this->value) : $result;
        } else {
            $result = parent::dataValue();
        }

        return $result;
    }
public function dataValue ( ) { $ result = null ; if ( is_array ( $ this -> value ) ) { $ this -> value = $ this -> arrayFilterEmptyRecursive ( $ this -> value ) ; $ result = ( ! empty ( $ this -> value ) ) ? Convert :: array2json ( $ this -> value ) : $ result ; } else { $ result = parent :: dataValue ( ) ; } return $ result ; }
Overrides parent behaviour to remove empty elements

@return mixed|null|string
Overrides parent behaviour to remove empty elements