# JSON deserialize custom internal struct using "deserialize-with"

deserialize_with

## Cargo.toml

{% embed include file="src/examples/json/deserialize-to-internal-struct-using-function/Cargo.toml" %}

## Data

{% embed include file="src/examples/json/deserialize-to-internal-struct-using-function/data.json" %}

## Code

{% embed include file="src/examples/json/deserialize-to-internal-struct-using-function/src/main.rs" %}


