Skip to content

jsonl2json: A Python library for converting JSONL (JSON Lines) files to standard JSON files.

License

Notifications You must be signed in to change notification settings

ismailsoftdev/jsonl2json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jsonl2json

A Python library for converting data in the JSON Lines (.jsonl) format to the standard JSON (.json) format

Installation

You can install jsonl2json using pip:

pip install jsonl2json

Usage

You can use jsonl2json in your Python code like this:

from jsonl2json import JsonlToJsonFormatter

jsonl = JsonlToJsonFormatter('input.jsonl', 'output.json')
jsonl.to_json()

This will read the input file input.jsonl and write a JSON array to the output file output.json.

License

jsonltojson is released under the MIT License.txt. See LICENSE for more information.

About

jsonl2json: A Python library for converting JSONL (JSON Lines) files to standard JSON files.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages