chunk-json-lite

Crates.iochunk-json-lite
lib.rschunk-json-lite
version0.1.0
sourcesrc
created_at2019-10-25 13:32:33.423898
updated_at2019-10-25 13:32:33.423898
descriptionA little tool to split a json into multiple valid json array of a given max size
homepage
repositoryhttps://github.com/Kerollmops/chunk-json-lite
max_upload_size
id175610
size7,984
LV2 Maintainers (github:rustaudio:lv2-maintainers)

documentation

README

chunk-json-lite

A little tool to split a json into multiple valid json array of a given max size

Example usage

$ cargo install chunk-json-lite
$ cat misc/movies-10.json | chunk-json-lite '10 MB'
$ cat chunk.0.json

You can also combine it with csv2json-lite and transform a csv into chunked json:

$ cargo install csv2json-lite chunk-json-lite
$ cat misc/movies-10.csv | csv2json-lite | chunk-json-lite '10 MB'
$ cat chunk.0.json
Commit count: 3

cargo fmt