method

escape_html_entities_in_json=

rails latest stable - Class: ActiveSupport

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.2.1) is shown here.

escape_html_entities_in_json=(value)
public

No documentation available.

# File activesupport/lib/active_support/json.rb, line 10
    def escape_html_entities_in_json=(value)
      ActiveSupport::JSON::Encoding.escape_regex = \
        if value
          /[\010\f\n\r\t"\\><&]/
        else
          /[\010\f\n\r\t"\\]/
        end
      @escape_html_entities_in_json = value
    end