Tuesday, March 22, 2016

Complex Overlay Type

Hi there,

I'm trying to parse data from a wiki and want to use overlay types. For simple types I have no problem.
But in the following there is a property dynamicaly created by the server and I have no idea to get the data.
Any suggestions would be helpful.

Here the data:
The problem is the "4180" which is dfifferent for each call I didn't know it.
Nested types didn't solve the problem because I do not know the property "4180".

Thanks and best regards,
{      "batchcomplete": "",      "query": {          "pages": {              "4180": {                  "pageid": 4180,                  "ns": 0,                  "title": "Kalifornien",                  "revisions": [                      {                          "contentformat": "text/x-wiki",                          "contentmodel": "wikitext",                          "*": "{{quickbar\n| Lage={{Vorlage:USA-map|Map of USA CA.svg|Kalifornien|250px}}}}"                      }                  ]              }          }      }  }

You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment