Transmog Documentation

Transforms nested JSON data into flat, tabular formats while preserving relationships between parent and child records.

Overview

Transmog flattens nested objects, extracts arrays into separate tables, generates unique identifiers, and supports CSV, Parquet, ORC, and Avro output formats with configurable error handling and batch processing.

Example

import transmog as tm

data = {"company": "TechCorp", "employees": [{"name": "Alice", "role": "Engineer"}]}
result = tm.flatten(data, name="companies")

print(result.main)    # Main company data
print(result.tables)  # Employee data in separate table

Documentation