{"library":"json-to-ast","type":"library","category":null,"description":"A lightweight, zero-dependency JSON parser that produces an Abstract Syntax Tree (AST) with full location information. Version 2.1.0 supports Emoji, runs on Node >=4, and provides error messages with precise character offsets. Unlike JSON.parse, it returns a structured tree with node types like 'object', 'array', 'identifier', 'literal' and detailed 'loc' (location) data including line, column, offset, and source. Ideal for linters, formatters, code mods, and tools needing to analyze or manipulate JSON structure. Last released in 2019 with no recent updates, possibly in maintenance mode.","language":"javascript","status":"maintenance","version":"2.1.0","tags":["javascript","json-parser","parser","ast","json","tree"],"last_verified":"Wed May 27","install":[{"cmd":"npm install json-to-ast","imports":["import parse from 'json-to-ast'","import { parse } from 'json-to-ast'","import type { ASTNode, ValueNode } from 'json-to-ast'"]},{"cmd":"yarn add json-to-ast","imports":[]},{"cmd":"pnpm add json-to-ast","imports":[]}],"homepage":null,"github":"https://github.com/vtrushin/json-to-ast","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/json-to-ast","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/json-to-ast/compatibility"}}