{"_id":"@codemirror/lang-json","_rev":"4537820","name":"@codemirror/lang-json","description":"JSON language support for the CodeMirror code editor","dist-tags":{"latest":"6.0.2"},"maintainers":[{"name":"adrianheine","email":""},{"name":"marijn","email":"marijnh@gmail.com"}],"time":{"modified":"2026-04-09T15:02:37.000Z","created":"2020-12-29T19:50:39.080Z","6.0.2":"2025-06-19T11:55:06.657Z","6.0.1":"2022-10-24T11:55:42.455Z","6.0.0":"2022-06-08T07:08:49.011Z","0.20.0":"2022-04-20T14:14:52.351Z","0.19.2":"2022-02-15T14:18:41.247Z","0.19.1":"2021-08-11T13:28:04.871Z","0.19.0":"2021-08-11T12:33:56.432Z","0.18.0":"2021-03-03T16:44:23.307Z","0.17.1":"2021-01-06T19:25:18.067Z","0.17.0":"2020-12-29T19:50:39.080Z"},"users":{},"author":{"name":"Marijn Haverbeke","email":"marijn@haverbeke.berlin","url":"http://marijnhaverbeke.nl"},"repository":{"type":"git","url":"git+https://github.com/codemirror/lang-json.git"},"versions":{"6.0.2":{"name":"@codemirror/lang-json","version":"6.0.2","description":"JSON language support for the CodeMirror code editor","scripts":{"test":"cm-runtests","prepare":"cm-buildhelper src/json.ts"},"keywords":["editor","code"],"author":{"name":"Marijn Haverbeke","email":"marijn@haverbeke.berlin","url":"http://marijnhaverbeke.nl"},"type":"module","main":"dist/index.cjs","exports":{"import":"./dist/index.js","require":"./dist/index.cjs"},"types":"dist/index.d.ts","module":"dist/index.js","sideEffects":false,"license":"MIT","dependencies":{"@codemirror/language":"^6.0.0","@lezer/json":"^1.0.0"},"devDependencies":{"@codemirror/buildhelper":"^1.0.0"},"repository":{"type":"git","url":"git+https://github.com/codemirror/lang-json.git"},"_id":"@codemirror/lang-json@6.0.2","gitHead":"ef0c630e5f3735f3c8c1c3d39ea10cde0046cc85","bugs":{"url":"https://github.com/codemirror/lang-json/issues"},"homepage":"https://github.com/codemirror/lang-json#readme","_nodeVersion":"22.14.0","_npmVersion":"11.3.0","dist":{"shasum":"054b160671306667e25d80385286049841836179","size":3665,"noattachment":false,"key":"/@codemirror/lang-json/-/@codemirror/lang-json-6.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@codemirror/lang-json/download/@codemirror/lang-json-6.0.2.tgz"},"_npmUser":{"name":"marijn","email":"marijn@haverbeke.berlin","actor":{"name":"marijn","email":"marijn@haverbeke.berlin","type":"user"}},"directories":{},"maintainers":[{"name":"adrianheine","email":""},{"name":"marijn","email":"marijnh@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/lang-json_6.0.2_1750334106482_0.30725592714663175"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-06-19T11:55:06.657Z","publish_time":1750334106657,"_source_registry_name":"default","_cnpm_publish_time":1750334106657},"6.0.1":{"name":"@codemirror/lang-json","version":"6.0.1","description":"JSON language support for the CodeMirror code editor","scripts":{"test":"cm-runtests","prepare":"cm-buildhelper src/json.ts"},"keywords":["editor","code"],"author":{"name":"Marijn Haverbeke","email":"marijnh@gmail.com","url":"http://marijnhaverbeke.nl"},"type":"module","main":"dist/index.cjs","exports":{"import":"./dist/index.js","require":"./dist/index.cjs"},"types":"dist/index.d.ts","module":"dist/index.js","sideEffects":false,"license":"MIT","dependencies":{"@codemirror/language":"^6.0.0","@lezer/json":"^1.0.0"},"devDependencies":{"@codemirror/buildhelper":"^0.1.0"},"repository":{"type":"git","url":"git+https://github.com/codemirror/lang-json.git"},"gitHead":"5440a4b31a6703f8f6ee28c6af07cca11af220d3","bugs":{"url":"https://github.com/codemirror/lang-json/issues"},"homepage":"https://github.com/codemirror/lang-json#readme","_id":"@codemirror/lang-json@6.0.1","_nodeVersion":"16.13.1","_npmVersion":"8.10.0","dist":{"shasum":"0a0be701a5619c4b0f8991f9b5e95fe33f462330","size":3499,"noattachment":false,"key":"/@codemirror/lang-json/-/@codemirror/lang-json-6.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@codemirror/lang-json/download/@codemirror/lang-json-6.0.1.tgz"},"_npmUser":{"name":"marijn","email":"marijnh@gmail.com"},"directories":{},"maintainers":[{"name":"adrianheine","email":""},{"name":"marijn","email":"marijnh@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lang-json_6.0.1_1666612542291_0.48487447026705555"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-10-26T14:23:22.636Z","publish_time":1666612542455,"_cnpm_publish_time":1666612542455},"6.0.0":{"name":"@codemirror/lang-json","version":"6.0.0","description":"JSON language support for the CodeMirror code editor","scripts":{"test":"cm-runtests","prepare":"cm-buildhelper src/json.ts"},"keywords":["editor","code"],"author":{"name":"Marijn Haverbeke","email":"marijnh@gmail.com","url":"http://marijnhaverbeke.nl"},"type":"module","main":"dist/index.cjs","exports":{"import":"./dist/index.js","require":"./dist/index.cjs"},"types":"dist/index.d.ts","module":"dist/index.js","sideEffects":false,"license":"MIT","dependencies":{"@codemirror/language":"^6.0.0","@lezer/json":"^1.0.0"},"devDependencies":{"@codemirror/buildhelper":"^0.1.0"},"repository":{"type":"git","url":"git+https://github.com/codemirror/lang-json.git"},"gitHead":"ed4971bc5ad5e9fbae66d0e5207aea2051de3d05","bugs":{"url":"https://github.com/codemirror/lang-json/issues"},"homepage":"https://github.com/codemirror/lang-json#readme","_id":"@codemirror/lang-json@6.0.0","_nodeVersion":"16.13.1","_npmVersion":"8.10.0","dist":{"shasum":"6ac373248c2d44ceab6d5d58879cc543095e503e","size":3466,"noattachment":false,"key":"/@codemirror/lang-json/-/@codemirror/lang-json-6.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@codemirror/lang-json/download/@codemirror/lang-json-6.0.0.tgz"},"_npmUser":{"name":"marijn","email":"marijnh@gmail.com"},"directories":{},"maintainers":[{"name":"adrianheine","email":""},{"name":"marijn","email":"marijnh@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lang-json_6.0.0_1654672128791_0.9542864658814787"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-06-08T07:13:52.022Z","publish_time":1654672129011,"_cnpm_publish_time":1654672129011},"0.20.0":{"name":"@codemirror/lang-json","version":"0.20.0","description":"JSON language support for the CodeMirror code editor","scripts":{"test":"cm-runtests","prepare":"cm-buildhelper src/json.ts"},"keywords":["editor","code"],"author":{"name":"Marijn Haverbeke","email":"marijnh@gmail.com","url":"http://marijnhaverbeke.nl"},"type":"module","main":"dist/index.cjs","exports":{"import":"./dist/index.js","require":"./dist/index.cjs"},"types":"dist/index.d.ts","module":"dist/index.js","sideEffects":false,"license":"MIT","dependencies":{"@codemirror/language":"^0.20.0","@lezer/json":"^0.16.0"},"devDependencies":{"@codemirror/buildhelper":"^0.1.0"},"repository":{"type":"git","url":"git+https://github.com/codemirror/lang-json.git"},"gitHead":"76903a71b60305be038e9575f6f7fc797863fdc2","bugs":{"url":"https://github.com/codemirror/lang-json/issues"},"homepage":"https://github.com/codemirror/lang-json#readme","_id":"@codemirror/lang-json@0.20.0","_nodeVersion":"16.13.1","_npmVersion":"8.4.0","dist":{"shasum":"0cef6c3db35a4d9107896312b444d41f77cda0b4","size":3453,"noattachment":false,"key":"/@codemirror/lang-json/-/@codemirror/lang-json-0.20.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@codemirror/lang-json/download/@codemirror/lang-json-0.20.0.tgz"},"_npmUser":{"name":"marijn","email":"marijnh@gmail.com"},"directories":{},"maintainers":[{"name":"adrianheine","email":""},{"name":"marijn","email":"marijnh@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lang-json_0.20.0_1650464092152_0.9637000427639055"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-04-20T14:14:57.346Z","publish_time":1650464092351,"_cnpm_publish_time":1650464092351},"0.19.2":{"name":"@codemirror/lang-json","version":"0.19.2","description":"JSON language support for the CodeMirror code editor","scripts":{"test":"cm-runtests","prepare":"cm-buildhelper src/json.ts"},"keywords":["editor","code"],"author":{"name":"Marijn Haverbeke","email":"marijnh@gmail.com","url":"http://marijnhaverbeke.nl"},"type":"module","main":"dist/index.cjs","exports":{"import":"./dist/index.js","require":"./dist/index.cjs"},"types":"dist/index.d.ts","module":"dist/index.js","sideEffects":false,"license":"MIT","dependencies":{"@codemirror/highlight":"^0.19.0","@codemirror/language":"^0.19.0","@lezer/json":"^0.15.0"},"devDependencies":{"@codemirror/buildhelper":"^0.1.0"},"repository":{"type":"git","url":"git+https://github.com/codemirror/lang-json.git"},"gitHead":"276b6ad30e8a0032ac349fbc361f609d0825aa41","bugs":{"url":"https://github.com/codemirror/lang-json/issues"},"homepage":"https://github.com/codemirror/lang-json#readme","_id":"@codemirror/lang-json@0.19.2","_nodeVersion":"16.13.1","_npmVersion":"8.4.0","dist":{"shasum":"b311a0c16382343261fdc3cbda72f09a61ade7db","size":3597,"noattachment":false,"key":"/@codemirror/lang-json/-/@codemirror/lang-json-0.19.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@codemirror/lang-json/download/@codemirror/lang-json-0.19.2.tgz"},"_npmUser":{"name":"marijn","email":"marijnh@gmail.com"},"directories":{},"maintainers":[{"name":"adrianheine","email":""},{"name":"marijn","email":"marijnh@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lang-json_0.19.2_1644934721088_0.7707763402659051"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-15T14:18:51.502Z","publish_time":1644934721247,"_cnpm_publish_time":1644934721247},"0.19.1":{"name":"@codemirror/lang-json","version":"0.19.1","description":"JSON language support for the CodeMirror code editor","scripts":{"test":"cm-runtests","prepare":"cm-buildhelper src/json.ts"},"keywords":["editor","code"],"author":{"name":"Marijn Haverbeke","email":"marijnh@gmail.com","url":"http://marijnhaverbeke.nl"},"type":"module","main":"dist/index.cjs","exports":{"import":"./dist/index.js","require":"./dist/index.cjs"},"types":"dist/index.d.ts","module":"dist/index.js","sideEffects":false,"license":"MIT","dependencies":{"@codemirror/highlight":"^0.19.0","@codemirror/language":"^0.19.0","@lezer/json":"^0.15.0"},"devDependencies":{"@codemirror/buildhelper":"^0.1.0"},"repository":{"type":"git","url":"git+https://github.com/codemirror/lang-json.git"},"gitHead":"b84cd773d02906aeb4669febd424c0a0ec183155","bugs":{"url":"https://github.com/codemirror/lang-json/issues"},"homepage":"https://github.com/codemirror/lang-json#readme","_id":"@codemirror/lang-json@0.19.1","_nodeVersion":"16.4.0","_npmVersion":"7.18.1","dist":{"shasum":"616588d1422529965243c10af6c44ad0b9134fb0","size":3566,"noattachment":false,"key":"/@codemirror/lang-json/-/@codemirror/lang-json-0.19.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@codemirror/lang-json/download/@codemirror/lang-json-0.19.1.tgz"},"_npmUser":{"name":"marijn","email":"marijnh@gmail.com"},"directories":{},"maintainers":[{"name":"adrianheine","email":""},{"name":"marijn","email":"marijnh@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lang-json_0.19.1_1628688484696_0.8346287842011539"},"_hasShrinkwrap":false,"publish_time":1628688484871,"_cnpm_publish_time":1628688484871,"_cnpmcore_publish_time":"2021-12-16T15:41:57.502Z"},"0.19.0":{"name":"@codemirror/lang-json","version":"0.19.0","description":"JSON language support for the CodeMirror code editor","scripts":{"test":"cm-runtests","prepare":"cm-buildhelper src/json.ts"},"keywords":["editor","code"],"author":{"name":"Marijn Haverbeke","email":"marijnh@gmail.com","url":"http://marijnhaverbeke.nl"},"type":"module","main":"dist/index.cjs","exports":{"import":"./dist/index.js","require":"./dist/index.cjs"},"types":"dist/index.d.ts","module":"dist/index.js","sideEffects":false,"license":"MIT","dependencies":{"@codemirror/highlight":"^0.19.0","@codemirror/language":"^0.19.0","@lezer/json":"^0.14.0"},"devDependencies":{"@codemirror/buildhelper":"^0.1.0"},"repository":{"type":"git","url":"git+https://github.com/codemirror/lang-json.git"},"gitHead":"7488ec05f2a997c84587cd895d6305ae1f8d464c","bugs":{"url":"https://github.com/codemirror/lang-json/issues"},"homepage":"https://github.com/codemirror/lang-json#readme","_id":"@codemirror/lang-json@0.19.0","_nodeVersion":"16.4.0","_npmVersion":"7.18.1","dist":{"shasum":"084d2ab4ed30ff4b69c77185e00edadc241a69d0","size":3535,"noattachment":false,"key":"/@codemirror/lang-json/-/@codemirror/lang-json-0.19.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@codemirror/lang-json/download/@codemirror/lang-json-0.19.0.tgz"},"_npmUser":{"name":"marijn","email":"marijnh@gmail.com"},"directories":{},"maintainers":[{"name":"adrianheine","email":""},{"name":"marijn","email":"marijnh@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lang-json_0.19.0_1628685236306_0.6842902730376204"},"_hasShrinkwrap":false,"publish_time":1628685236432,"_cnpm_publish_time":1628685236432,"_cnpmcore_publish_time":"2021-12-16T15:41:57.676Z"},"0.18.0":{"name":"@codemirror/lang-json","version":"0.18.0","description":"JSON language support for the CodeMirror code editor","scripts":{"test":"echo 'No tests'","prepare":"tsc -p tsconfig.local.json && rollup -c"},"keywords":["editor","code"],"author":{"name":"Marijn Haverbeke","email":"marijnh@gmail.com","url":"http://marijnhaverbeke.nl"},"type":"module","main":"dist/index.cjs","exports":{"import":"./dist/index.js","require":"./dist/index.cjs"},"types":"dist/index.d.ts","module":"dist/index.js","sideEffects":false,"license":"MIT","dependencies":{"@codemirror/highlight":"^0.18.0","@codemirror/language":"^0.18.0","lezer-json":"^0.13.0"},"devDependencies":{"rollup":"^2.35.1","rollup-plugin-dts":"^2.0.1","typescript":"^4.1.3"},"repository":{"type":"git","url":"git+https://github.com/codemirror/lang-json.git"},"gitHead":"2143ed79a46916bc3e9d00b7c4a715b686738eba","bugs":{"url":"https://github.com/codemirror/lang-json/issues"},"homepage":"https://github.com/codemirror/lang-json#readme","_id":"@codemirror/lang-json@0.18.0","_nodeVersion":"15.5.0","_npmVersion":"7.5.3","dist":{"shasum":"775f2dc95039a86fe3e6e55e4467e10c2ecae414","size":4762,"noattachment":false,"key":"/@codemirror/lang-json/-/@codemirror/lang-json-0.18.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@codemirror/lang-json/download/@codemirror/lang-json-0.18.0.tgz"},"_npmUser":{"name":"marijn","email":"marijnh@gmail.com"},"directories":{},"maintainers":[{"name":"adrianheine","email":""},{"name":"marijn","email":"marijnh@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lang-json_0.18.0_1614789863096_0.9506715657327338"},"_hasShrinkwrap":false,"publish_time":1614789863307,"_cnpm_publish_time":1614789863307,"_cnpmcore_publish_time":"2021-12-16T15:41:57.868Z"},"0.17.1":{"name":"@codemirror/lang-json","version":"0.17.1","description":"JSON language support for the CodeMirror code editor","scripts":{"test":"echo 'No tests'","prepare":"tsc -p tsconfig.local.json && rollup -c"},"keywords":["editor","code"],"author":{"name":"Marijn Haverbeke","email":"marijnh@gmail.com","url":"http://marijnhaverbeke.nl"},"type":"module","main":"dist/index.cjs","exports":{"import":"./dist/index.js","require":"./dist/index.cjs"},"types":"dist/index.d.ts","module":"dist/index.js","sideEffects":false,"license":"MIT","dependencies":{"@codemirror/highlight":"^0.17.0","@codemirror/language":"^0.17.0","lezer-json":"^0.13.0","lezer-tree":"^0.13.0"},"devDependencies":{"rollup":"^2.35.1","rollup-plugin-dts":"^2.0.1","typescript":"^4.1.3"},"repository":{"type":"git","url":"git+https://github.com/codemirror/lang-json.git"},"gitHead":"a2a8b0b8d1ce17516aa360abd459f9b40a9a5fe8","bugs":{"url":"https://github.com/codemirror/lang-json/issues"},"homepage":"https://github.com/codemirror/lang-json#readme","_id":"@codemirror/lang-json@0.17.1","_nodeVersion":"15.5.0","_npmVersion":"7.3.0","dist":{"shasum":"6cb73d5c59169b376b1192b53be22f7350c065a1","size":4812,"noattachment":false,"key":"/@codemirror/lang-json/-/@codemirror/lang-json-0.17.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@codemirror/lang-json/download/@codemirror/lang-json-0.17.1.tgz"},"_npmUser":{"name":"marijn","email":"marijnh@gmail.com"},"directories":{},"maintainers":[{"name":"adrianheine","email":""},{"name":"marijn","email":"marijnh@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lang-json_0.17.1_1609961117898_0.058866199100871874"},"_hasShrinkwrap":false,"publish_time":1609961118067,"_cnpm_publish_time":1609961118067,"_cnpmcore_publish_time":"2021-12-16T15:41:58.108Z"},"0.17.0":{"name":"@codemirror/lang-json","version":"0.17.0","description":"JSON language support for the CodeMirror code editor","scripts":{"test":"echo 'No tests'","prepare":"tsc && rollup -c"},"keywords":["editor","code"],"author":{"name":"Marijn Haverbeke","email":"marijnh@gmail.com","url":"http://marijnhaverbeke.nl"},"type":"module","main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.js","sideEffects":false,"license":"MIT","dependencies":{"@codemirror/highlight":"^0.17.0","@codemirror/language":"^0.17.0","lezer-json":"^0.13.0","lezer-tree":"^0.13.0"},"devDependencies":{"rollup":"^2.35.1","rollup-plugin-dts":"^2.0.1","typescript":"^4.1.3"},"repository":{"type":"git","url":"git+https://github.com/codemirror/lang-json.git"},"gitHead":"27fb50850e1e0488ea1b588e9341a514d368d5e2","bugs":{"url":"https://github.com/codemirror/lang-json/issues"},"homepage":"https://github.com/codemirror/lang-json#readme","_id":"@codemirror/lang-json@0.17.0","_nodeVersion":"15.5.0","_npmVersion":"7.3.0","dist":{"shasum":"d99ebff190c975a5020b95f0ca43510de3b3944f","size":3747,"noattachment":false,"key":"/@codemirror/lang-json/-/@codemirror/lang-json-0.17.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@codemirror/lang-json/download/@codemirror/lang-json-0.17.0.tgz"},"_npmUser":{"name":"marijn","email":"marijnh@gmail.com"},"directories":{},"maintainers":[{"name":"adrianheine","email":""},{"name":"marijn","email":"marijnh@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lang-json_0.17.0_1609271438924_0.049848049010598805"},"_hasShrinkwrap":false,"publish_time":1609271439080,"_cnpm_publish_time":1609271439080,"_cnpmcore_publish_time":"2021-12-16T15:41:58.311Z"}},"readme":"<!-- NOTE: README.md is generated from src/README.md -->\n\n# @codemirror/lang-json [![NPM version](https://img.shields.io/npm/v/@codemirror/lang-json.svg)](https://www.npmjs.org/package/@codemirror/lang-json)\n\n[ [**WEBSITE**](https://codemirror.net/) | [**ISSUES**](https://github.com/codemirror/dev/issues) | [**FORUM**](https://discuss.codemirror.net/c/next/) | [**CHANGELOG**](https://github.com/codemirror/lang-json/blob/main/CHANGELOG.md) ]\n\nThis package implements JSON language support for the\n[CodeMirror](https://codemirror.net/) code editor.\n\nThe [project page](https://codemirror.net/) has more information, a\nnumber of [examples](https://codemirror.net/examples/) and the\n[documentation](https://codemirror.net/docs/).\n\nThis code is released under an\n[MIT license](https://github.com/codemirror/lang-json/tree/main/LICENSE).\n\nWe aim to be an inclusive, welcoming community. To make that explicit,\nwe have a [code of\nconduct](http://contributor-covenant.org/version/1/1/0/) that applies\nto communication around the project.\n\n## Usage\n\n```javascript\nimport {EditorView, basicSetup} from \"codemirror\"\nimport {json} from \"@codemirror/lang-json\"\n\nconst view = new EditorView({\n  parent: document.body,\n  doc: `{\"version\": \"9.99.99\", \"data\": [1, 2, 3]}`,\n  extensions: [basicSetup, json()]\n})\n```\n\n## API Reference\n\n<dl>\n<dt id=\"user-content-json\">\n  <code><strong><a href=\"#user-content-json\">json</a></strong>() → <a href=\"https://codemirror.net/docs/ref#language.LanguageSupport\">LanguageSupport</a></code></dt>\n\n<dd><p>JSON language support.</p>\n</dd>\n<dt id=\"user-content-jsonlanguage\">\n  <code><strong><a href=\"#user-content-jsonlanguage\">jsonLanguage</a></strong>: <a href=\"https://codemirror.net/docs/ref#language.LRLanguage\">LRLanguage</a></code></dt>\n\n<dd><p>A language provider that provides JSON parsing.</p>\n</dd>\n<dt id=\"user-content-jsonparselinter\">\n  <code><strong><a href=\"#user-content-jsonparselinter\">jsonParseLinter</a></strong>() → fn(<a id=\"user-content-jsonparselinter^returns^view\" href=\"#user-content-jsonparselinter^returns^view\">view</a>: <a href=\"https://codemirror.net/docs/ref#view.EditorView\">EditorView</a>) → <a href=\"https://codemirror.net/docs/ref#lint.Diagnostic\">Diagnostic</a>[]</code></dt>\n\n<dd><p>Calls\n<a href=\"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/parse\"><code>JSON.parse</code></a>\non the document and, if that throws an error, reports it as a\nsingle diagnostic.</p>\n</dd>\n</dl>\n","_attachments":{},"homepage":"https://github.com/codemirror/lang-json#readme","bugs":{"url":"https://github.com/codemirror/lang-json/issues"},"license":"MIT"}