# JSON serialize struct

* [serde](https://crates.io/crates/serde)
* [serde_json](https://crates.io/crates/serde_json)

## Cargo.toml

{% embed include file="src/examples/json/json-serialize-struct/Cargo.toml" %}

## Code

{% embed include file="src/examples/json/json-serialize-struct/src/main.rs" %}

## Output

{% embed include file="src/examples/json/json-serialize-struct/out.out" %}


