Jump to content

Incorrect JSON terminology in documentation

Recommended Posts

A tiny thing, really.
In the documentation for the JSON feedback format, the term "array" is used for JSON objects.

text, mod and icon are objects. items is an array (inside an object).
In JavaScript, and thus JSON, "arrays" are ordered lists: ["this", "is", "an", "array"], while dictionaries/mappings are called "objects": {"this": "is", "an": "object"} (In JS, thing["key"] is equivalent to thing.key)


Link to post
Share on other sites
  • Create New...