Skip to main content

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.

Release files for jsonl2json 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jsonl2json 1.0.0
File Size Uploaded
jsonl2json-1.0.0.tar.gz 3.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for jsonl2json 1.0.0
File Interpreter ABI Platform
jsonl2json-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.1 kB

Release files / jsonl2json-1.0.0.tar.gz

Download URL jsonl2json-1.0.0.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d1f539466fbd3e8ce6124aa1dba1048eb612bd9a894016f1f0e0c056ab1da50b
BLAKE2b-256 checksum
How to use checksums
73bfdc83549763a3416d8a3f2a4716f0f820a6f95fc7ec28e7825a7dfce30277
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release files / jsonl2json-1.0.0-py3-none-any.whl

Download URL jsonl2json-1.0.0-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
61f9cb89a567ee981722d1315e83e6da34de4836aab284ca998c31557634c664
BLAKE2b-256 checksum
How to use checksums
92b86a96f9e3bf8d2a8ab8c18f2311ddc5b58ca5e08ab844f77293319f26840a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page