public function getOptions(): int
    {
        $options = $this->traitGetOptions();

        if (! (bool)($options & \JSON_THROW_ON_ERROR)) {
            $options |= \JSON_THROW_ON_ERROR;
        }

        return $options;
    }
public function getOptions(): int
    {
        $options = $this->traitGetOptions();

        if (! (bool)($options & \JSON_THROW_ON_ERROR)) {
            $options |= \JSON_THROW_ON_ERROR;
        }

        return $options;
    }
public function getOptions ( ) : int { $ options = $ this -> traitGetOptions ( ) ; if ( ! ( bool ) ( $ options & \ JSON_THROW_ON_ERROR ) ) { $ options |= \ JSON_THROW_ON_ERROR ; } return $ options ; }
Returns options used while encoding and decoding JSON sources.

@return int
Returns options used while encoding and decoding JSON sources .