@mapbox/jsonlint-lines-primitives

Validate JSON


Keywords
json, validation, lint, jsonlint
Install
npm install @mapbox/jsonlint-lines-primitives@2.0.2

Documentation

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.