{"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":{"integrity":"sha512-1xquwhwrocZEcURmccMYk1C3g2oj6mu0np1LT1dDGmvd/VVXC0Z9j6NV78zCSyJCIdL2y+RRBh4LVWW6J6NU6Q==","shasum":"775f2dc95039a86fe3e6e55e4467e10c2ecae414","tarball":"http://registry-npm.ywwl.com/@codemirror/lang-json/download/@codemirror/lang-json-0.18.0.tgz","fileCount":10,"unpackedSize":14805,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgP7znCRA9TVsSAnZWagAA8Z0QAJyzh1gCN+LRnLukmtGg\nTf/iSZQLvn9wFD88If5s+X2mlzwhv8jm1cFPhq8355JqOOGFVBeR2VgbV5s+\nmJavM7E8uqQ7c8mZQGo9W5FsDMpWl0c5wGKXOI0K5Ow0hYcWb9Y2YOq67C0x\nwmWXufiiZaHzI5hCZlJxvzvzs+Is6I803gVogzc8ALTwH591Ahoxmf92uoJj\ny3e7MEkj7/uszczu8tbsj3yFHKwFXYASjUdX6RaJNJSVqBj1Ezo60iCOtJes\nTuc12e5gTJICp0cUpTsJLil+I1xZweZcuVnB7w27GBz9HGMyt+7cUgbgoLXN\n229GlcEzATFuUK3Wwa/KJ7X7RYgu/gVEuACFQFv8spqZCRVg5tRXexNq0olc\nKyglXL5W23tVOEPilI0e+Xfzy5AF70aiIterKV4d6HhxGsgpSbrwQh5lohmq\ndbAxfmc78u8e+OBvpTwaS9RaWuWIzYf2+tUtUkiSc7JeKwDjMorM++R4KqpR\ndCyMwItG1kqvzrmwcx4kDQtgSsZM3Zam2TKy60MX30QX/3/hWVhYIeEmeaqa\n5DlKkGlVoCALwcujFdyJX8HMAY5jlqm0sbssCaTI24spWaWtU1KmdQYGY5fm\n6hW73n/xWmC5Fgk5es5Nadx/2Nhbt49CYlH2BOjUOcu/riAq0xhNerGKYOH3\nWQ3t\r\n=vD3N\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDFRz85SO8wfKj4zEq3MF+uUwSN35J1iLqZEK7dCOR9wgIhAKcuGvuVBXeQ4s9R8XFDDksx0W+9XwP5pq+A937PhwTk"}],"size":4762,"noattachment":false,"key":"/@codemirror/lang-json/-/@codemirror/lang-json-0.18.0.tgz"},"_npmUser":{"name":"marijn","email":"marijnh@gmail.com"},"directories":{},"maintainers":[{"name":"adrianheine","email":"mail@adrianheine.de"},{"name":"marijn","email":"marijnh@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lang-json_0.18.0_1614789863096_0.9506715657327338"},"_hasShrinkwrap":false,"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## API Reference\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.LezerLanguage\">LezerLanguage</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\n","publish_time":1614789863307,"_cnpm_publish_time":1614789863307,"dist-tags":{"latest":"6.0.2"}}