Skip to content

Commit a27d99a

Browse files
authored
Merge pull request #35 from rdettai/patch-1
Note about OwnedValue
2 parents 50a10a7 + 750d04c commit a27d99a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ an iterator, which has the same API when iterating the `BTreeMap`.
1818
You can take advantage of `OwnedValue` to parse a `String` containing unparsed `JSON` into a `Value` without having to worry about lifetimes,
1919
as `OwnedValue` will take ownership of the `String` and reference slices of it, rather than making copies.
2020

21+
Note: `OwnedValue` does not implement `Deserialize`.
22+
2123
# Limitations
2224
The feature flag `cowkeys` uses `Cow<str>` instead of `&str` as keys in objects. This enables support for escaped data in keys.
2325
Without the `cowkeys` feature flag `&str` is used, which does not allow any JSON escaping characters in keys.

0 commit comments

Comments
 (0)