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++ - llvm function pass ReplaceInstWithInst malloc -

java.lang.NoClassDefFoundError When Creating New Android Project -

Decoding a Python 2 `tempfile` with python-future -