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 comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...