JSON output for rustdoc
documentation was removed in approx 2016 due to falling behind. RFC 2963 adds it back.
cargo +nightly rustdoc --lib -- --output-format json
If you have jq
installed, you can grab a specific node and take a look at it.
jq '.index[] | select(.id == "24:387")' target/doc/digital_garden.json