I have some JSON returned from REST that looks like this:
{
"query": {
"count": 8,
"created": "2012-02-28T23:22:20Z",
"lang": "en-US",
"results": {
"tr": [
{
"td": [
{
"align": "right",
"p": "(9)"
},
{
"align": "center",
"style": "padding-left: 15px",
"p": "$1 - $2"
},
{
"style": "padding-left: 25px;",
"p": "NLHOLDEM"
}
]
},
{
"td": [
{
"align": "right",
"p": "(3)"
},
{
"align": "center",
"style": "padding-left: 15px",
"p": "$2 - $4"
},
{
"style": "padding-left: 25px;",
"p": "HOLDEM"
}
]
},
etc
so there's an array of TRs and each contain an array of TDs. inside the TDs there are three different values for "p" "9", "$1-$2" and "NLHOLDEM". Then there is another TD with three "p"s etc.
I want to map each of the P values to a field in a row
so my table would look like
9 $1-$2 NLHOLDEM
etc
etc
I see how to build the grid and put three labels in it, but I can't figure out how to map this.
thanks in advance