On Sat, Mar 23, 2013 at 9:15 AM, Carl (CBM) <cbm.wikipedia(a)gmail.com> wrote:
On Thu, Mar 21, 2013 at 8:03 PM, Brad Jorsch
Remember that clients should not be depending on
the specific query string data returned inside the query-continue node, with either the
old-style or new style continuation.
I am not certain what this means. The names of the continuation
parameters have long been documented in the API spec at
states that the continuation parameter for that module is named 'eicontinue'.
Perhaps it's not clear in the documentation, but I've always written
my continue functions to do something like the following, which seems
to accord with what Brad is saying.
for (JSONObject moduleObject : prevResult.getJSONObject("query-continue"))
for (String moduleParam : moduleObject.keys())
This has the advantage of being query-independent, fairly simple, and
not being broken when continue parameters change, documented or not.