#json #flattening #inference #flat #nested #tiny #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

#6 in #flattening

Download history 3/week @ 2024-11-15 5/week @ 2024-11-22 10/week @ 2024-11-29 56/week @ 2024-12-06 28/week @ 2024-12-13 7/week @ 2024-12-20 3/week @ 2024-12-27 17/week @ 2025-01-03 54/week @ 2025-01-10 14/week @ 2025-01-17 31/week @ 2025-01-24 42/week @ 2025-01-31 70/week @ 2025-02-07 49/week @ 2025-02-14 65/week @ 2025-02-21 74/week @ 2025-02-28

267 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

~2.9–8.5MB
~87K SLoC