Debian Codegraph @

tests/snippets/snbt/json.txt

raw
1 ---input---
2 {
3 "text": "This is JSON",
4 "extra": [
5 "however",
6 "it's also technically valid SNBT.."
7 ]
8 }
9
10 ---tokens---
11 '{' Punctuation
12 '\n ' Text.Whitespace
13 '"' Literal.String.Double
14 'text' Literal.String.Double
15 '"' Literal.String.Double
16 ':' Punctuation
17 ' ' Text.Whitespace
18 '"' Literal.String.Double
19 'This is JSON' Literal.String.Double
20 '"' Literal.String.Double
21 ',' Punctuation
22 '\n ' Text.Whitespace
23 '"' Literal.String.Double
24 'extra' Literal.String.Double
25 '"' Literal.String.Double
26 ':' Punctuation
27 ' ' Text.Whitespace
28 '[' Punctuation
29 '\n ' Text.Whitespace
30 '"' Literal.String.Double
31 'however' Literal.String.Double
32 '"' Literal.String.Double
33 ',' Punctuation
34 '\n ' Text.Whitespace
35 '"' Literal.String.Double
36 "it's also technically valid SNBT.." Literal.String.Double
37 '"' Literal.String.Double
38 '\n ' Text.Whitespace
39 ']' Punctuation
40 '\n' Text.Whitespace
41
42 '}' Punctuation
43 '\n' Text