SpaceApi-archive / SpaceApi

Android app and widget showing hackerspace status
18 stars 10 forks source link

clarify array / object #3

Closed sonologic closed 11 years ago

sonologic commented 12 years ago

Another suggestion would be to clarify the use of "array" in the specification -- maybe use "associative array" or "object" when you mean {"key":"value"} and only "array" when you mean ["a", "b", "c"]; at least on the first read of the spec this tripped me up and the example did not seem to make much sense immediately. The API-lint had the same problem for a while, though that seems to be fixed now.

slopjong commented 11 years ago

The reference clearly says of what type a field is and the examples show how to use the fields.