#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

46 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