mirror of
https://github.com/rust-lang-nursery/rust-cookbook
synced 2025-02-16 12:18:27 +00:00
Added period to end of instantiate sentence.
This commit is contained in:
parent
ab0c1ea8f4
commit
6ec45fe16f
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
The example below shows two simple ways to embed JSON in Rust.
|
||||
The first method parses block JSON as a block using the parse method from the json crate. It then unwraps the parsed JSON.
|
||||
The second method instantiates an object as JSON using the object macro. Key value relationships are easily set using `=>`
|
||||
The second method instantiates an object as JSON using the object macro. Key value relationships are easily set using `=>`.
|
||||
After demonstrating two simple ways to write JSON, the assert_eq macro ensures equivalence.
|
||||
|
||||
[![json][json-badge]][json]
|
||||
|
|
Loading…
Add table
Reference in a new issue