FavoriteSrikanta Mohapatra (LTM) asked in #ApexJan 31, 2017, 5:41 AMEscape double quote and backslash from a Json stringI am looking for code to escape double quote and backslash.String val='my "test" \string';after escape it should displaymy "test" \stringthanks in advance.3 answersSortSort by DateSort by Most HelpfulSort by DateLoad more comments...Nishad KJan 31, 2017, 6:56 AMHi Kabu,See the link: http://stackoverflow.com/questions/19176024/how-to-escape-special-characters-in-building-a-json-string Add a commentWrite an answer...BoldItalicUnderlineStrikethroughBulleted ListNumbered ListAdd linkCode blockInsert imageAttach filesLink URLCancelSave0/9000Reply
Nishad KJan 31, 2017, 6:56 AMHi Kabu,See the link: http://stackoverflow.com/questions/19176024/how-to-escape-special-characters-in-building-a-json-string