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

@c1rrus I like the idea about optional "name" property, but I think that example with the path you provided might create some confusion. You propose that "path" is "object group" / "actual token name". But I assume that if you ask anyone familiar with json format, what is the path of the token 2, the answer will probably be "object group" / "token 2". No need to check the documentation for such a trivial question, right?

```
{
  "object group": {
    "token 2": {
       "name": "actual token name",
       "value": "hello world"
      // This token's name is: "actual token name" (note how the "token 2" key is now ignored)
      // Its path is: "object group" / "actual token name"
    }
  }
}
```

-- 
GitHub Notification of comment by ivnmaksimovic
Please view or discuss this issue at https://github.com/design-tokens/community-group/issues/55#issuecomment-919234757 using your GitHub account


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

Received on Tuesday, 14 September 2021 14:59:49 UTC