{"categories":[{"label":"Linguistic","url":"https://skillfed.io/packages/category/text-processing-linguistic"},{"label":"Compilers","url":"https://skillfed.io/packages/category/software-development-compilers"}],"enrichment":{"capability":"Provides a JSON grammar parser for tree-sitter, enabling incremental parsing and syntax tree analysis of JSON documents.","skillfed_tags":["parser-generator","syntax-tree","incremental-parsing"],"use_cases":["Build a JSON linter or validator that reports precise error locations using the parse tree.","Extract specific nested fields from large JSON files without deserializing the entire document.","Implement syntax-aware JSON editing or refactoring tools that preserve formatting.","Analyze JSON structure programmatically for schema validation or transformation.","Create language-agnostic JSON tooling by leveraging tree-sitter's multi-language support."],"what_it_does":"tree-sitter-json is a grammar definition for the tree-sitter incremental parser framework, focused on JSON documents. It does not parse JSON directly; instead, it provides the syntax rules that tree-sitter uses to build abstract syntax trees (ASTs) from JSON input. This is useful when you need structured analysis of JSON beyond simple deserialization\u2014for example, to extract specific fields, validate structure, or perform linting without loading the entire document into memory.\n\nThe package is a compiled extension (available as prebuilt wheels for major platforms) with no runtime dependencies. It sits in the tree-sitter ecosystem alongside similar grammar packages for other languages. Installation requires Python 3.9 or later, and you'll need the tree-sitter Python bindings to actually use it.","worth_installing":"Yes, if you are already using tree-sitter for code analysis and need to parse JSON as part of a larger workflow. No, if you simply need to read or validate JSON\u2014use the standard library or a dedicated JSON library instead. The value is in incremental parsing and AST-based analysis, not in basic JSON handling."},"id":"tree-sitter-json","links":{"html":"https://skillfed.io/packages/tree-sitter-json","md":"https://skillfed.io/packages/tree-sitter-json.md","pypi":"https://pypi.org/project/tree-sitter-json/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2024-11-11","license_spdx":null,"license_treatment":"permissive","name":"tree-sitter-json","python_support":"supports_current","summary":"JSON grammar for tree-sitter"},"popularity":{"monthly_downloads":3540611,"position":2584,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.24.8"}
