I want to parse Wikimedia results with ObjectMapper. Here is the JSON structure:
{
"continue1" : {
"rdcontinue" : "!!!|12723219",
"continue1" : "||"
},
"query" : {
"pages" : {
"3632887" : {
"pageid" : 3632887,
"ns" : 0,
"title" : "!!",
"redirects" : [ {
"pageid" : 3122689,
"ns" : 0,
"title" : "‼"
}, {
"pageid" : 36372278,
"ns" : 0,
"title" : "!! (disambiguation)"
}, {
"pageid" : 37523807,
"ns" : 0,
"title" : "‼ (disambiguation)"
} ]
},
"16381751" : {
"pageid" : 16381751,
"ns" : 0,
"title" : "!!Destroy-Oh-Boy!!"
},
"2978668" : {
"pageid" : 2978668,
"ns" : 0,
"title" : "!Action Pact!"
}
}
}
}
Notice the varying entry id's: 3632887, 16381751, 2978668...
What should be my Java class hierarchical structure?