GerardRodes / pick-json

Read a single attribute of a json and stop there

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pick json

Read a single attribute of a json and stop there

how does it work?

instead of reading the whole json it stops reading bytes once found the picked attribute and its value is returned

run it

$ cargo build --release
$ target/release/pick-json tests/types.json emoji
"🔥"

About

Read a single attribute of a json and stop there


Languages

Language:Rust 100.0%