https://github.com/zaibacu/json2jsonl
A tool to take large JSON and convert it to JSONL
https://github.com/zaibacu/json2jsonl
json jsonl transform
Last synced: 3 months ago
JSON representation
A tool to take large JSON and convert it to JSONL
- Host: GitHub
- URL: https://github.com/zaibacu/json2jsonl
- Owner: zaibacu
- License: mit
- Created: 2021-09-08T13:20:39.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-09-13T06:35:22.000Z (almost 5 years ago)
- Last Synced: 2025-01-18T10:29:33.827Z (over 1 year ago)
- Topics: json, jsonl, transform
- Language: Rust
- Homepage:
- Size: 16.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# About
This is a tool to take large JSON blob and convert it to JSONL file which can be readed as stream
## Build
Rust language and Cargo is used to build project. More info: [Cargo](https://doc.rust-lang.org/cargo/index.html)
## Usage
`json2jsonl .json .jsonl`
# Caveats
At the moment it expects root element of JSON to be array and each array item as a line in JSONL.
**TODO**: somekind of pattern to control this