7 lines
423 B
JavaScript
7 lines
423 B
JavaScript
|
/*! `json` grammar compiled for Highlight.js 11.3.1 */
|
||
|
(()=>{var e=(()=>{"use strict";return e=>({name:"JSON",contains:[{
|
||
|
className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},{
|
||
|
match:/[{}[\],:]/,className:"punctuation",relevance:0},e.QUOTE_STRING_MODE,{
|
||
|
beginKeywords:"true false null"
|
||
|
},e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"})
|
||
|
})();hljs.registerLanguage("json",e)})();
|