public function setEncodingOptions($encodingOptions) {

		$this->encodingOptions = (int) $encodingOptions;
		
		return $this->setPayload(json_decode($this->data));

	}
public function setEncodingOptions($encodingOptions) {

		$this->encodingOptions = (int) $encodingOptions;
		
		return $this->setPayload(json_decode($this->data));

	}
public function setEncodingOptions ( $ encodingOptions ) { $ this -> encodingOptions = ( int ) $ encodingOptions ; return $ this -> setPayload ( json_decode ( $ this -> data ) ) ; }
set options used while encoding data to JSON
re-encodes payload with new encoding setting

@param int $encodingOptions

@return JsonResponse
@throws \Exception
set options used while encoding data to JSON re - encodes payload with new encoding setting