enterprise/syn-serde/examples/rust2json/README.md
2020-02-17 06:09:45 -06:00

215 B

Parse a Rust source file into a syn_serde::File and print out a JSON representation of the syntax tree.

cargo run -- src/main.rs

The output is the same as rust2json_main.json.