2023-10-12 08:17:48 +02:00
|
|
|
/*! `json` grammar compiled for Highlight.js 11.9.0 */
|
2022-07-15 06:10:25 +02:00
|
|
|
(()=>{var e=(()=>{"use strict";return e=>{const a=["true","false","null"],n={
|
|
|
|
scope:"literal",beginKeywords:a.join(" ")};return{name:"JSON",keywords:{
|
|
|
|
literal:a},contains:[{className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,
|
|
|
|
relevance:1.01},{match:/[{}[\],:]/,className:"punctuation",relevance:0
|
|
|
|
},e.QUOTE_STRING_MODE,n,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],
|
|
|
|
illegal:"\\S"}}})();hljs.registerLanguage("json",e)})();
|