#json #flatten

bin+lib rust-flatten-json

Tiny Rust library for flattening JSON and JSON type inference

2 unstable releases

Uses old Rust 2015

0.2.0 Jan 28, 2020
0.1.0 Oct 27, 2018

#516 in #json

Download history 70/week @ 2023-06-13 118/week @ 2023-06-20 87/week @ 2023-06-27 123/week @ 2023-07-04 130/week @ 2023-07-11 85/week @ 2023-07-18 119/week @ 2023-07-25 137/week @ 2023-08-01 94/week @ 2023-08-08 124/week @ 2023-08-15 155/week @ 2023-08-22 214/week @ 2023-08-29 179/week @ 2023-09-05 38/week @ 2023-09-12 41/week @ 2023-09-19 69/week @ 2023-09-26

373 downloads per month
Used in json2csv

MIT license

12KB
222 lines

MIT licensed

rust-flatten-json [docs]

Tiny Rust library for flattening JSON and infering JSON types

Usage

In your Cargo.toml

[dependencies]
rust-flatten-json = "0.1.0"

Example

Read JSON from stdin and output flat JSON to stdout -> bin/from_stdin.rs

Dependencies

~0.7–1.8MB
~38K SLoC