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.
Metadata
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| jsonl2json-1.0.0.tar.gz | 3.2 kB | Without provenance | Details for jsonl2json-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| jsonl2json-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for jsonl2json-1.0.0-py3-none-any.whl |
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
|
Security for jsonl2json 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.