public function setJsonOptions($options)
    {
        $this->encodingOptions = (int) $options;

        return $this->setData($this->getData());
    }
public function setJsonOptions($options)
    {
        $this->encodingOptions = (int) $options;

        return $this->setData($this->getData());
    }
public function setJsonOptions ( $ options ) { $ this -> encodingOptions = ( int ) $ options ; return $ this -> setData ( $ this -> getData ( ) ) ; }
Set the JSON encoding options.

@param  int  $options
@return mixed
Set the JSON encoding options .