1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
---input---
{"special--key": 10b, normal_key: false, "json..///_type_key": "yup"}
---tokens---
'{' Punctuation
'"' Literal.String.Double
'special--key' Literal.String.Double
'"' Literal.String.Double
':' Punctuation
' ' Text.Whitespace
'10b' Literal.Number.Integer
',' Punctuation
' ' Text.Whitespace
'normal_key' Name.Attribute
':' Punctuation
' ' Text.Whitespace
'false' Name.Attribute
',' Punctuation
' ' Text.Whitespace
'"' Literal.String.Double
'json..///_type_key' Literal.String.Double
'"' Literal.String.Double
':' Punctuation
' ' Text.Whitespace
'"' Literal.String.Double
'yup' Literal.String.Double
'"' Literal.String.Double
'}' Punctuation
'\n' Text
|