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

A user _could_ in effect have an array in object syntax with stringified number keys. 

```js
{
  'colors': {
    '0': {},
    '1': {},
    '2': {}
  }
}
```

I don't think ordering is a big enough use case for the spec itself to handle. Tools can handle that part. Plus, depending on the language of the output, Style Dictionary re-orders the variables. Sass for example is imperative so you cannot use a variable before it is referenced. 

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


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

Received on Tuesday, 2 November 2021 16:30:56 UTC