enterprise/syn-serde/examples/rust2json/README.md

8 lines
215 B
Markdown
Raw Permalink Normal View History

2020-02-17 12:09:45 +00:00
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).