; Pairs
;-------

(pair
  key: [
    (string
      .
      "\"" @identifier.key.delimiter.left
      "\"" @identifier.key.delimiter.left
      .
    ) @identifier.key
    (number) @identifier.key
  ])

; Literals
;-------

(true) @value.boolean
(false) @value.boolean
(null) @value.null

(comment) @comment

(string
  .
  "\"" @string.delimiter.left
  "\"" @string.delimiter.right
  .
) @string

(number) @value.number

; Tokens
;-------

[
  ":"
  ","
] @punctuation.delimiter

[
  "["
  "]"
  "{"
  "}"
]  @bracket
