Skip to content

flex_json is a Python utility that converts JSON files into the JSON Lines (JSONL) format. It reads a standard JSON file, which typically contains a list or array of objects, and outputs a corresponding JSONL file where each object is written to a new line.

License

Notifications You must be signed in to change notification settings

ImKairat/flex_json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flex_json

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.

Features

  • 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.

Installation

To use this tool, you need Python 3.11 or later and the jsonlines library. Install the required dependencies with:

pip install jsonlines

About

flex_json is a Python utility that converts JSON files into the JSON Lines (JSONL) format. It reads a standard JSON file, which typically contains a list or array of objects, and outputs a corresponding JSONL file where each object is written to a new line.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published