jq

Run jq-compatible JSON filters directly with moonx

jq
json
query
cli
wasm
moon add bobzhang/jq@0.1.1
Download zip
Author
Version
0.1.1
License
Apache-2.0
Last updated
2 hours ago
Downloads
6
README

#jq for moonx

Run jq-compatible JSON filters without installing a separate binary:

printf '%s' '{"name":"Moon"}' | moonx bobzhang/jq -r '.name' moonx bobzhang/jq -n -c '{ok: true, values: [1, 2]}' moonx bobzhang/jq -c '.items[]' data.json

moonx uses the linear-memory WebAssembly build by default. Arguments after bobzhang/jq are passed directly to the jq-compatible command.

Supported options:

  • -c, --compact-output: print compact JSON.
  • -r, --raw-output: print strings without JSON quotes.
  • -f, --from-file FILE: read the filter from FILE.
  • -n, --null-input: evaluate once with null input.
  • -l, --logs: process newline-delimited JSON and skip invalid lines.

Source Files

Powered by MoonBit

Site sourceReport issuePackagesBuild queueSkillsStatistics

© 2026 mooncakes.io