Skip to content

Commit 53ddaf9

Browse files
authored
Merge pull request #685 from rimutaka/master
Linked ReadMe to Using Derive page.
2 parents fcddb9a + 8daa85b commit 53ddaf9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,9 @@ autocomplete field names to prevent typos, which was impossible in the
196196
when we write `p.phones[0]`, then `p.phones` is guaranteed to be a
197197
`Vec<String>` so indexing into it makes sense and produces a `String`.
198198

199+
Read [Using derive](https://serde.rs/derive.html)
200+
for details on setting up `#[derive(Serialize, Deserialize)]` macro.
201+
199202
## Constructing JSON values
200203

201204
Serde JSON provides a [`json!` macro][macro] to build `serde_json::Value`

0 commit comments

Comments
 (0)