I'm calling IIS web methods from a java app on an Android device.
The IIS web method returns a JSON string that looks like this:
I'm trying to decode it - get rid of the \'s in front on the double-quotes - and turn those \u003c and e's into <> brackets.
I am using this code
and it's doing nothing to the string.
So I'm guessing this is NOT URL encoded - it's some other kind of encoding.
Any help greatly appreciated - thanks!
The IIS web method returns a JSON string that looks like this:
Code:
{"d":"{\"login\":true,\"success\":\"\",\"message\":\"\u003cbr /\u003eLog in failure!\"}"}
I am using this code
Code:
json2 = URLDecoder.decode(result, "UTF-8");
So I'm guessing this is NOT URL encoded - it's some other kind of encoding.
Any help greatly appreciated - thanks!