1 | hljs.registerLanguage("json",(()=>{"use strict";return e=>({name:"JSON",
|
2 | contains:[{className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01
|
3 | },{match:/[{}[\],:]/,className:"punctuation",relevance:0},e.QUOTE_STRING_MODE,{
|
4 | beginKeywords:"true false null"
|
5 | },e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"})
|
6 | })()); |
\ | No newline at end of file |