pyion2json
Convert an Amazon Ion document(s) to JSON
What it is and what it does
pyion2json is a lightweight converter that transforms Amazon Ion format documents into JSON. It provides two main functions: one to convert individual Ion values, and another to convert result cursors from AWS QLDB queries directly into JSON arrays. The package has no declared runtime dependencies, making it minimal to install.
The package is abandoned, with its last release on 2020-03-13 and no commits since then. It was designed as a simple bridge between Ion and JSON formats, particularly useful for QLDB workflows. The description notes incomplete work on BLOB and CLOB conversion, so those features may not be fully reliable.
Use it for:
- Convert Ion query results from AWS QLDB into JSON arrays for downstream processing or API responses.
- Transform individual Ion documents into JSON for storage in systems that expect JSON format.
- Bridge Ion-based data sources to JSON-consuming applications without writing custom parsing logic.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Converts Amazon Ion documents and QLDB query results to JSON format for easier consumption in Python applications.
No, unless you have a specific, narrow need to convert Ion to JSON and are prepared to fork and maintain the code yourself. The package is abandoned with no recent updates, incomplete feature coverage (BLOB/CLOB conversion marked TODO), and unclear dependency requirements. For active QLDB workflows, consider writing a custom converter or checking for more recently maintained alternatives.
Install
pyion2json on PyPI
pip
pip install pyion2jsonuv
uv add pyion2jsonpoetry
poetry add pyion2jsonInstalling pyion2json
Before you install
High install friction with no runtime dependencies. The package is abandoned—last updated 2020-03-13, with no recent maintenance or commits. Use only if you need this specific conversion and are willing to maintain a fork if issues arise.
License in practice
MIT license is permissive and imposes no significant restrictions on use, modification, or distribution.
Quickstart
pip install pyion2json
from pyion2json import ion_to_json
from pyion2json import ion_cursor_to_json
# Convert individual Ion values
json_doc = ion_to_json(ion_doc)
# Convert QLDB cursor results
json_rows = ion_cursor_to_json(qldb_cursor)
Requires Ion parsing capability available in your environment; the package itself declares no runtime dependencies.
Verify before relying
- Whether amazon.ion is an undeclared runtime dependency or optional peer dependency.
- Current status of BLOB and CLOB conversion (marked TODO in the description).
- Whether the package works with current versions of Python and Ion libraries.
Package facts
| License | MIT (permissive) |
| Python support | not specified |
| Install friction | high — source build required |
| Runtime dependencies | none |
| Maintenance | abandoned — 2,345 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 178,409/month — #10,193 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pyion2json-0.0.2.tar.gz
Keywords: Amazon, Ion, JSON
Tags
More Build Tools packages
Provides reusable utilities for Python…
permissive · top 100 on PyPI
tqdmWraps any iterable to display a real-time…
copyleft · top 100 on PyPI
pippip is the standard installer for Python…
permissive · top 100 on PyPI
hatchlingHatchling is a standards-compliant Python build…
permissive · top 100 on PyPI
grpcio-toolsGenerates Python gRPC service stubs and message…
permissive · top 1,000 on PyPI
pre-commitpre-commit is a framework for installing and…
permissive · top 1,000 on PyPI
amazon-ionParses and serializes Amazon Ion, a…
permissive · top 5,000 on PyPI
dynamodb-jsonConverts Python objects to and from DynamoDB's…
unclear · top 5,000 on PyPI
json-flattenConverts nested JSON objects into flat…
permissive · top 15,000 on PyPI
json-fixPatches Python's built-in `json` module to…
permissive · top 15,000 on PyPI
warchant_dc_schemaGenerates JSON Schema (2020-12 draft) from…
permissive · top 15,000 on PyPI
sphinxcontrib-qthelpA Sphinx extension that converts documentation…
permissive · top 1,000 on PyPI
json-numpyProvides lossless JSON encoding and decoding…
permissive · top 15,000 on PyPI
numpyencoderProvides a custom JSON encoder class that…
permissive · top 15,000 on PyPI
rdflib-jsonldProvides JSON-LD parsing and serialization for…
permissive · top 15,000 on PyPI