Methods
    - A
 - E
 - N
 - O
 
Attributes
      | [R] | options | 
Class Public methods
      
        
            
              new(options = nil)
            
            Link
          
          
          
            Instance Public methods
      
        
            
              as_json(value, use_options = true)
            
            Link
          
          
          
            like encode, but only calls #as_json, without encoding to string
            
              encode(value, use_options = true)
            
            Link
          
          
          
            
            
              escape(string)
            
            Link
          
          
          
            
            
              options_for(value)
            
            Link
          
          
          
            # File activesupport/lib/active_support/json/encoding.rb, line 59 def options_for(value) if value.is_a?(Array) || value.is_a?(Hash) # hashes and arrays need to get encoder in the options, so that they can detect circular references options.merge(:encoder => self) else options end end