Search Support

Beware of phishing attacks: Mozilla will never ask you to call a number or visit a non-Mozilla website. Please ignore such requests.

Learn More

Remove the escaping of string while JSON.decode calling in developers toolbar.

  • 1 svar
  • 1 har dette problem
  • 4 visninger
  • Seneste svar af cor-el

more options

Remove the escape string in the return string.

Vedhæftede skærmbilleder

Ændret af httpsOmkar den

All Replies (1)

more options

That is not possible in this case because the result shown in the Web Console is enclosed in quotation marks and quotes (") in the string need to be escaped. You would have to use a method that doesn't enclose like a prompt or alert to be able to see an unescaped string. When specifying the string you can use single quotes to avoid having to escape the quotes.