Commit 10daf04
authored
Add
Technically the JSON lexer is not ideal for json5 but I observe many
people writing valid json or jsonc into `.json5` files ([random
example](https://github.com/it-at-m/refarch/blob/main/renovate.json5))
so I think it's worth adding it. Here is a rendering of a JSON5 file
with all features:
<img width="593" height="355" alt="image"
src="https://github.com/user-attachments/assets/5248d3fe-954d-4a3f-9180-38bbe1260fe6"
/>.json5 to json Lexer (#1224)1 parent dccba78 commit 10daf04
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
0 commit comments