#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 14/week @ 2024-10-29 3/week @ 2024-11-05 4/week @ 2024-11-12 3/week @ 2024-11-19 8/week @ 2024-11-26 20/week @ 2024-12-03 57/week @ 2024-12-10 16/week @ 2024-12-17 4/week @ 2024-12-24 5/week @ 2024-12-31 29/week @ 2025-01-07 45/week @ 2025-01-14 25/week @ 2025-01-21 28/week @ 2025-01-28 68/week @ 2025-02-04 69/week @ 2025-02-11

192 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.8–8.5MB
~86K SLoC