{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/6"},{"label":"Text Processing","url":"https://skillfed.io/packages/category/text-processing/2"},{"label":"Documentation","url":"https://skillfed.io/packages/category/software-development-documentation"},{"label":"Disassemblers","url":"https://skillfed.io/packages/category/software-development-disassemblers"}],"enrichment":{"capability":"Maps each value in a JSON document to its source location (line, column, character position) and JSON Pointer path, enabling precise error reporting and source-aware JSON processing.","skillfed_tags":["json-parsing","source-mapping","error-reporting"],"use_cases":["Report validation errors in JSON files with exact line and column numbers for user-friendly error messages.","Build JSON linters or formatters that need to map diagnostics back to source positions.","Implement JSON-aware code editors or IDEs that highlight specific values or keys.","Debug JSON parsing issues by correlating parsed values with their exact source locations.","Generate source maps for JSON-to-code transpilers or code generators."],"what_it_does":"json-source-map is a Python library that parses JSON and produces a detailed source map: for each value in the document, it records the JSON Pointer path to that value and its precise location in the source text (line, column, and character position for both the key and value). This is useful when you need to report errors or warnings tied to specific parts of a JSON file and want to tell users exactly where to look.\n\nThe library handles all JSON types\u2014primitives (strings, numbers, booleans, null) and structures (arrays, objects)\u2014and tracks whitespace correctly. It returns a dictionary mapping JSON Pointer paths to Entry objects, each containing start and end locations with line, column, and character position. No external runtime dependencies are required.","worth_installing":"Yes, if you need precise source location tracking for JSON values. The package is stable, has zero dependencies, and works on current Python versions. The dormant maintenance status is a minor concern only if you expect future Python compatibility issues; for current use (Python 3.8\u20133.11), it is reliable and ready to use."},"id":"json-source-map","links":{"html":"https://skillfed.io/packages/json-source-map","md":"https://skillfed.io/packages/json-source-map.md","pypi":"https://pypi.org/project/json-source-map/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2022-12-20","license_spdx":null,"license_treatment":"permissive","name":"json-source-map","python_support":"supports_current","summary":"Calculate the source map for a JSON document."},"popularity":{"monthly_downloads":373985,"position":7151,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.0.5"}
