#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 164/week @ 2023-11-27 127/week @ 2023-12-04 119/week @ 2023-12-11 128/week @ 2023-12-18 25/week @ 2024-01-01 16/week @ 2024-01-08 13/week @ 2024-01-15 36/week @ 2024-01-22 52/week @ 2024-01-29 38/week @ 2024-02-05 18/week @ 2024-02-12 54/week @ 2024-02-19 96/week @ 2024-02-26 41/week @ 2024-03-04 27/week @ 2024-03-11

221 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
~90K SLoC