$npx skillfedfor your agent

json-source-map

Calculate the source map for a JSON document.

With conditionsPyPI UtilitiesReleased Dec 2022374.0K downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — json_source_map-1.0.5-py3-none-any.whl
v1.0.5 · released 2022-12-20 · Python >=3.8,<4.0

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–3.11), it is reliable and ready to use.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction with no runtime dependencies.
  • Maintenance is dormant—last release was 2022-12-20 and last commit 2024-01-01—but the package is marked Production/Stable and supports current Python versions (3.8–3.11).

License · maintenance · safety

permissive license (permissive) — Licensed under Apache Software License (permissive), allowing free use, modification, and distribution with minimal restrictions.

last release 2022-12-20 (1333 days) · last repo commit 2024-01-01 · 23 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 373,985 downloads/mo, #7,151 on PyPI

Verify before relying

from json_source_map import calculate

result = calculate('{"foo": "bar"}')
print(result)  # Maps JSON paths to Entry objects with value_start, value_end, key_start, key_end locations
  • Whether dormant maintenance status poses a risk for future Python version compatibility or bug fixes.
  • Performance characteristics on large JSON documents (memory usage, parsing speed).
Same gist for agents: .md · .json

What it is and 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.

The library handles all JSON types—primitives (strings, numbers, booleans, null) and structures (arrays, objects)—and 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.

Use it for

  • 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.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

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–3.11), it is reliable and ready to use.

Install

json-source-map on PyPI

Before you install

Low install friction with no runtime dependencies. Maintenance is dormant—last release was 2022-12-20 and last commit 2024-01-01—but the package is marked Production/Stable and supports current Python versions (3.8–3.11).

License in practice

Licensed under Apache Software License (permissive), allowing free use, modification, and distribution with minimal restrictions.

Quickstart

from json_source_map import calculate

result = calculate('{"foo": "bar"}')
print(result)  # Maps JSON paths to Entry objects with value_start, value_end, key_start, key_end locations

Verify before relying

  • Whether dormant maintenance status poses a risk for future Python version compatibility or bug fixes.
  • Performance characteristics on large JSON documents (memory usage, parsing speed).

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.8,<4.0
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceDormant 1,333 days since the last release
Last repo commit
First released
Downloads373,985 / month, #7,151 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableLicense :: OSI Approved :: Apache Software LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: DisassemblersTopic :: Software Development :: DocumentationTopic :: Text ProcessingTopic :: UtilitiesTyping :: Typed

Evidence: json_source_map-1.0.5-py3-none-any.whl

Tags

Capabilities
json source location mappingjson pointer with line columnjson error position trackingjson document source mapjson value location finderjson parse position tracking
Topics
json-parsingsource-mappingerror-reporting
PyPI keywords
PythonJSONsource map

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “json source location mapping”

  • json-source-mapMaps each value in a JSON document to its source location (line,…
  • asttokensAnnotates Python abstract syntax trees with the positions of tokens…
  • parse-errorsWraps parse and validation errors from JSON, TOML, and YAML files to…

Give your agent the search over MCP, or paste the wish link into any chat.

More Utilities packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
charset-normalizer Worth it
PyPI · Utilities · released Aug 2026

Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.

permissive licensepure Python · 3.7+
1.7Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
Pygments Worth it
PyPI · Utilities · released Mar 2026

Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.

Install it if you need to display or transform source code.

BSD-2-Clausepure Python · 3.9+
1.3Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo

See also dirtyjson · jsonpointer · flatten-json · sqlalchemy-json · referencing · jsonmerge · json-spec · jschon · jsonslicer · chompjs