{"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":{"integrity":"sha512-+T1flHdgpqDDlJZ2Lkil/rLiRy684WMLc74xUnjJH48GQdfJo/pudlTRreZmKwzP8/tGdKf83wlbAdOCzlJOGQ==","shasum":"0a0be701a5619c4b0f8991f9b5e95fe33f462330","tarball":"http://registry-npm.ywwl.com/@codemirror/lang-json/download/@codemirror/lang-json-6.0.1.tgz","fileCount":8,"unpackedSize":9804,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBdvBqmnW5LHKCDsQVjl/nPuHFxO3TeRPCebgEanqSriAiEAq+oCymFE5BsOwL9aZczVSkFTQ29rO7nifkUPQw4mjW4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjVn0+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq9pg//VgchU4+WFTaetdqCBCHheLBzRgNohFslG5VuJKZchwg7uznQ\r\nhYoCRXQSufu+1rJ0pLzyrZUGBEa8b4mlj0dj0rVhkwIv7NrjKssFwtPhxO/z\r\nwHpl4v1VjAycoXTJLjQY7od7DzPYHEFKEmSVsnoxW5UOMM94W9dwQ+N/3Rd7\r\nXoVkGxrr+CgXtkBQzWq36pWtgcGbClEgj9ZuDto0RWCGIPVYpyZUQF6EADXY\r\nsig7IYe1JBdT3J4XlOEigIwxNTCb/7C4UHaQX0k8bVe/sMsd+KqvE8KUwKDB\r\nDUaEP44rMlWdfYlqwlo5aR6ZUFIN1NnmLuJj0NPQWOcoOqe4cnqF2xGRSRpE\r\n99o7BBBqrUKRL+ZBWkkzQL8X6XNohuVWPD+/BjBS0fatBiji4QT/i6JuoZvo\r\nc2FU4CWV3tWPnfNizRmJDahgB/jdn8mgtYdgyFRhuwBWP4pNrERhVyefrgso\r\n+U/lkRJJZJMaEjhU6R5e72yATVDzw5w+H0qwAgW0/vnjjxebQAr2VMZlPYsT\r\nWGdWzTx8dytR2p4W9YWpVhN+h029BMXIyiyO697ZEOYO7Qll5pcz5GgveB3d\r\nYxHgwp9rm3R6lIPw2dS/2apUWm/cZSERHIMlfIj5AHUSmqAgN8EZehCti0H2\r\n8vr757QbuAleg5xfG7W1964aMyWOGNTYD88=\r\n=mLPR\r\n-----END PGP SIGNATURE-----\r\n","size":3499,"noattachment":false,"key":"/@codemirror/lang-json/-/@codemirror/lang-json-6.0.1.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_6.0.1_1666612542291_0.48487447026705555"},"_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":1666612542455,"_cnpm_publish_time":1666612542455,"dist-tags":{"latest":"6.0.2"}}