flex_json is a simple Python utility for converting JSON files (containing arrays of objects) into JSON Lines (JSONL) format. JSONL is a lightweight and efficient data serialization format where each line represents a single JSON object.
- Converts JSON files with arrays into JSONL format.
- Handles large JSON files efficiently by processing objects line by line.
- Easy to use with minimal setup.
To use this tool, you need Python 3.11 or later and the jsonlines
library. Install the required dependencies with:
pip install jsonlines