Converting javascript stringified string to java string -


i have app uses parse backend. parse calls web scraper returns string parse , have use stringify on string received because it's not allowed sent on network otherwise. once stringify string how can parse in java have original returned string. instance, how go stringified string in javascript

"\"this string\"\r\n\t\t" 

to string in java

"this string" 

to reiterate, start string (such "this string") have stringify send on network (result "\"this string\"\r\n\t\t"). once return stringified string android app, how can original string ("this string")?

try stringescapeutils apache commons

string input = "\"this string\"\r\n\t\t";  string output = stringescapeutils.unescapejava(input);  system.out.println(output);  "this string" 

Comments

Popular posts from this blog

c - How to retrieve a variable from the Apache configuration inside the module? -

c# - Constructor arguments cannot be passed for interface mocks -

python - malformed header from script index.py Bad header -