mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-01 01:26:32 +00:00
jq directives for jsondocck Closes rust-lang/rust#142479. Adds `jq` directives for `jsondocck`. I decided to add jq instead of replacing jsonpath entirely so that migration could happen incrementally. In theory, it should be possible to replace every jsonpath test case with the new `jq` directives. Moving forward, this might put more burden on reviewers as test case writers would have the option to use jq or jsonpath or even both. ~~Note that you cannot use `jq_set` with jsonpath directives or `set` with jq directives~~. Diff should be reviewed without whitespace. r? @aDotInTheVoid