I receive a java-script encoded page when I am doing the GET request for a search in Google api.
Now I need to extract the value of “unescapedUrl” and “titleNoFormatting” out of this.
Normally in C++ I would use search by word and then use pointers to get the next coming characters, but I have no idea what to do in java.
I receive a java-script encoded page when I am doing the GET request for
Share
This appears to be mostly JSON.
If so, and if this is JSON output, then a C++ developer should use a JSON parsing library.
Similarly, a Java developer should use a JSON parsing library. Android has the org.json parsing classes built in, and there is a separate
JSONReader(based on GSON) in Android 3.x.