Thread:Talk:Ask API/askargs: units of measurement/reply (2)

So, I have to convert units of measurements in my client application again, although it could have ben done by SMW. The application should know the conversion rates etc.

But even that is made difficult. The required units (when shown at all) are not in the  objects but in the. Moreover, while  is an object,   is an array, so I cannot just go there and get the unit, I have to traverse the array at least once to convert in to an object with the same indices as . Why? Why? Why?

I have to parse JSON, which is supposed to be parsed already, in dozens of lines of code; just because there is no sane way to get quantities in needed units in the API, or at least, it is not documented.