Skip to content

Instantly share code, notes, and snippets.

View tomups's full-sized avatar
🤹
Everyday I'm juggling

Tomás tomups

🤹
Everyday I'm juggling
View GitHub Profile
@tomups
tomups / jsonpath_to_jsonata_converter.py
Last active March 25, 2025 19:34
JSONPath to JSONata converter for AWS Step Functions
#!/usr/bin/env python3
"""
JSONPath to JSONata Converter for AWS Step Functions
This script helps with the initial conversion of AWS Step Functions state machines
from JSONPath to JSONata query language. It performs basic transformations but
complex expressions may need manual adjustment.
Usage:
python jsonpath_to_jsonata_converter.py input_file.json output_file.json