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

7 lines
215 B
Markdown

Parse a Rust source file into a `syn_serde::File` and print out a JSON representation of the syntax tree.
```text
cargo run -- src/main.rs
```
The output is the same as [rust2json_main.json](rust2json_main.json).