tartrazine/spec/tests/json/test_basic.txt

31 lines
832 B
Plaintext
Raw Normal View History

2024-08-03 10:36:47 +00:00
---input---
{"foo": "bar", "foo2": [1, 2, 3], "\u0123": "\u0123"}
---tokens---
'{' Punctuation
'"foo"' Name.Tag
':' Punctuation
' ' Text.Whitespace
'"bar"' Literal.String.Double
',' Punctuation
' ' Text.Whitespace
'"foo2"' Name.Tag
':' Punctuation
' ' Text.Whitespace
'[' Punctuation
'1' Literal.Number.Integer
',' Punctuation
' ' Text.Whitespace
'2' Literal.Number.Integer
',' Punctuation
' ' Text.Whitespace
'3' Literal.Number.Integer
'],' Punctuation
' ' Text.Whitespace
'"\\u0123"' Name.Tag
':' Punctuation
' ' Text.Whitespace
'"\\u0123"' Literal.String.Double
'}' Punctuation
'\n' Text.Whitespace