0

I am trying to post json which have sub string with double quotes using backslash \ After post below mentioned json I am expecting DataFilter="RoleName="Rakesh" but I am getting DataFilter="RoleName=\"Rakesh\"

    {
    "DataFilter":"RoleName=\"Rakesh\" " 
    }

Is there any way to get string with double double quotes

JonE
  • 2,406
  • 4
  • 29
  • 46
raj
  • 1
  • You said you want double double quotes so "RoleName="Rakesh"", I would add another escape so it would be `"RoleName=\"Rakesh\"\"". That, or you can use character entities: http://dev.w3.org/html5/html-author/charref so it would be `"RoleName="Rakesh&quot"` I haven't tested that so it may not work. Just a suggestion. – ZeroBased_IX Oct 02 '15 at 11:28
  • But this is deserialized in "RoleName=\"Rakesh\"\" " but I am expecting DataFilter="RoleName="Rakesh"" – raj Oct 02 '15 at 11:41

0 Answers0