mirror of
https://github.com/serde-rs/json.git
synced 2025-12-29 21:00:37 +00:00
Merge pull request 1295 from claudecodering/master
This commit is contained in:
commit
8b674e41d5
@ -18,7 +18,7 @@
|
||||
///
|
||||
/// Variables or expressions can be interpolated into the JSON literal. Any type
|
||||
/// interpolated into an array element or object value must implement Serde's
|
||||
/// `Serialize` trait, while any type interpolated into a object key must
|
||||
/// `Serialize` trait, while any type interpolated into an object key must
|
||||
/// implement `Into<String>`. If the `Serialize` implementation of the
|
||||
/// interpolated type decides to fail, or if the interpolated type contains a
|
||||
/// map with non-string keys, the `json!` macro will panic.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user