#json #inference #flat #nested #tiny #flattening #type

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

#4 in #flattening

Download history 29/week @ 2024-03-10 67/week @ 2024-03-17 39/week @ 2024-03-24 57/week @ 2024-03-31 50/week @ 2024-04-07 47/week @ 2024-04-14 22/week @ 2024-04-21 11/week @ 2024-04-28 1/week @ 2024-05-05 35/week @ 2024-05-12 28/week @ 2024-05-19 71/week @ 2024-05-26 55/week @ 2024-06-02 50/week @ 2024-06-09 26/week @ 2024-06-16 19/week @ 2024-06-23

156 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

~3–4.5MB
~92K SLoC