@mapbox/jsonlint-lines-primitives

Validate JSON

Usage no npm install needed!

<script type="module">
  import mapboxJsonlintLinesPrimitives from 'https://cdn.skypack.dev/@mapbox/jsonlint-lines-primitives';
</script>

README

JSON Lint

A fork of the lines-primitive branch of tmcw/jsonlint, which is a fork of zaach/jsonlint that adds line number annotations to the parsed JSON.

This fork is used by Mapbox GL JS, specifically for providing helpful error messages when validating Mapbox GL style JSON documents.