Json Encoder adds backslashes?

Hi, I have used the json functions before and do not remember this happening. When I get an http string reply and encode it. The function adds backslashes.

You're double encoding your JSON - you're taking a string (returned from system.net.httpGet) and encoding it into another JSON string.

You should really be using system.net.httpClient, which has native JSON sending and receiving capabilities.

1 Like