// SYNTAX TEST "Packages/JavaScript/JSON.sublime-syntax" { "dict": { } // ^^^ meta.structure.dictionary.json // ^ punctuation.section.dictionary.begin.json // ^ punctuation.section.dictionary.end.json , // <- punctuation.separator.dictionary.pair.json "sep": {}, // ^ punctuation.separator.dictionary.key-value.json "array": [ ], // ^^^ meta.structure.array.json // ^ punctuation.section.array.begin.json // ^ punctuation.section.array.end.json "string": "string", // ^ punctuation.definition.string.begin.json // ^^^^^^^^ meta.structure.dictionary.value.json string.quoted.double.json // ^ punctuation.definition.string.end.json "bool": false, // ^^^^^ constant.language.json "num": 20.09, // ^^^^^ constant.numeric.json "neg": -9, // ^^ constant.numeric.json "E": 20e10, // ^^^^^ constant.numeric.json //^^^ meta.structure.dictionary.key.json string.quoted.double.json // ^ punctuation.separator.dictionary.key-value.json - meta.structure.dictionary.key.json "escape": "\n", // ^^ constant.character.escape.json // ^^^^ meta.structure.dictionary.value.json string.quoted.double.json - meta.structure.dictionary.key.json "illegal": "\.", // ^^ invalid.illegal.unrecognized-string-escape.json "unterminated string //^^^^^^^^^^^^^^^^^^^^ string.quoted.double.json // ^ string.quoted.double.json invalid.illegal.unclosed-string.json // <- - string /**/: "test", // ^ meta.structure.dictionary.json comment.block.json // ^ punctuation.separator.dictionary.key-value.json - comment // ^^^^^^ meta.structure.dictionary.value.json string.quoted.double.json "array2": [ "foobar", // ^^^^^^^^ meta.structure.array.json string.quoted.double.json - meta.structure.dictionary.key.json ], [] //^^ invalid.illegal.expected-dictionary-separator.json }