| Crates.io | jqr |
| lib.rs | jqr |
| version | 0.1.1 |
| created_at | 2025-12-17 07:40:05.602924+00 |
| updated_at | 2025-12-17 09:25:49.054351+00 |
| description | A jq implementation in Rust |
| homepage | |
| repository | https://github.com/EvanL1/jqr |
| max_upload_size | |
| id | 1989508 |
| size | 153,750 |
A jq implementation in Rust.
curl -fsSL https://raw.githubusercontent.com/EvanL1/jqr/master/install.sh | sh
Or build from source:
cargo install --path .
echo '{"name": "Alice", "age": 30}' | jqr '.name'
# "Alice"
echo '[1, 2, 3]' | jqr 'map(. * 2)'
# [2, 4, 6]
echo '"hello world"' | jqr 'gsub("world"; "jqr")'
# "hello jqr"
., .foo, .[0], .[], |, ,+, -, *, /, %, ==, !=, <, >, and, or, not, //[], {}if-then-else, try-catchas $x, $xdef f: ...;map, select, keys, values, length, type, sort, unique, group_by, flatten, reverse, contains, split, join, to_entries, from_entries, range, reduce, recurse, add, min, max, floor, ceil, round, sqrt, etc.test, match, capture, scan, sub, gsub, splitsMIT