Module: ActiveSupport::JSON::Encoding

Defined in:
lib/active_support/json/encoders/string.rb

Constant Summary collapse

ESCAPED_CHARS =
{
  "\010" =>  '\b',
  "\f"   =>  '\f',
  "\n"   =>  '\n',
  "\r"   =>  '\r',
  "\t"   =>  '\t',
  '"'    =>  '\"',
  '\\'   =>  '\\\\',
  '>'    =>  '\u003E',
  '<'    =>  '\u003C',
  '&'    =>  '\u0026'
}