This project provides python abstractions for converting Amazon Ion Data Format to JSON format and vice-versa, enabling seamless use of Ion-formatted data in systems that prefer JSON.
- awscli
- amazon (Verify the library name and required version)
- pyion2json (Specify required version if necessary)
Install dependencies using pip install awscli amazon pyion2json
.
python jsion.py -i input.ion -o output.json
Use code with caution.
This command converts the "input.ion" file to the "output.json" file. Available options include:
-i
: Input file path (required)-o
: Output file path (required)-f
: Output format (JSON, default; also supports YAML)
docker build -t ionjsonimg:latest .
Use code with caution.
docker run --name ion_json ionjsonimg:latest -v /path/to/data:/data
Use code with caution.
This mounts the local /path/to/data
directory to the container's /data
directory, allowing you to process files within the container.
If you encounter issues, check the project's issue tracker or provide details on the error message and steps taken.
- This project is licensed under the Apache 2.0 License.
- Unit tests are implemented to ensure correctness and reliability.
- We welcome contributions! See the
CONTRIBUTING.md
file for details.