When I perform a ListAccounts query I get this:
{
"result": {
"": 0.0,
"account": 0.0,
"account3": 0.0,
"account7": 0.0
},
"error": null,
"id": "1"
}
However ListReceivedByAccount(0, true); looks like this:
{
"result": [
{
"account": "",
"amount": 0.0,
"confirmations": 0
},
{
"account": "account",
"amount": 0.0,
"confirmations": 0
},
{
"account": "account3",
"amount": 0.0,
"confirmations": 0
},
{
"account": "account7",
"amount": 0.0,
"confirmations": 0
}
],
"error": null,
"id": "1"
Notice how the embedded array data is formatted differently? Is there a name or term that describes these different array formats (named vs unnamed)?
Why is it different and can this be fixed in a future version?
If it is fixed in a future version will the outermost "id" property become "2" so I can add the logic to my parsers?