I am using the Twitter API, and the response I get is in JSON format. When I parse JSON using C# so the value of profile_image_url does not contain the proper URL. This URL is absolutly fine in the response, but after parsing the response I get the following URL. How do I remove backslashes?
I am using the Twitter API, and the response I get is in JSON
Share
You can remove backslashes using the Replace function:
But perhaps you ought to spend some time working out how those backslashes got there in the first place. It sounds like you aren’t parsing the JSON correctly. What parser are you using?