[community-group] [Format] Object vs Array (#55)

dbanksdesign has just created a new issue for https://github.com/design-tokens/community-group:

== [Format] Object vs Array ==
```json
{
  "token name": {
    "value": "token value"
  }
}
```

The structure in the example above is a JSON object, an unordered set of name/value pairs.

- Objects can't contain members with duplicate keys
- Ordering of object members may not be preserved (as per [RFC 7159](https://tools.ietf.org/html/rfc7159#section-4)), meaning token retrieval may or may not result in the same ordering as the input

Please raise concerns if these limitations create problems for implementers.

Please view or discuss this issue at https://github.com/design-tokens/community-group/issues/55 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 8 September 2021 05:17:17 UTC