Re: [community-group] Escape sequences are not defined (#167)

I think this could be solved by using JSON's escaping rules. See image below from json.org:

![](https://www.json.org/img/string.png)

To add our own "downstream" escaping, a double backslash would suffice. So you'd type:

```
{
  "button-content": {
    "$value": "\\{click\\}"
  }
}
```

The parser would "see" this:

```
{
  "button-content": {
    "$value": "\{click\}"
  }
}
```

And know to escape the `{` and `}` characters, passing the through to the final token.

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


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

Received on Sunday, 4 December 2022 20:18:38 UTC