Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
0.12.0 source code.tar.gz | 2019-09-06 | 46.8 kB | |
0.12.0 source code.zip | 2019-09-06 | 56.8 kB | |
README.md | 2019-09-06 | 786 Bytes | |
Totals: 3 Items | 104.4 kB | 0 |
- Updated to edition 2018.
- Simplified reading escaped unicode in strings a bit.
- Provided
From<&[T]>
implementation forJsonValue
whereT: Into<JsonValue>
(closes [#160]). object!
andarray!
macros will no longer re-allocate (closes [#159]).object!
andarray!
macros can be now used without being imported into local scope (by usingjson::object!
orjson::array!
, thanks @matthias-t).- BREAKING
HashMap
andBTreeMap
conversions are now more generic, working for any pair ofK
key andV
value whereK: AsRef<str>
andV: Into<JsonValue>
. This means that type inference won't always work in your favor, but should be much more flexible. - You can now
.collect()
an interator of(K, V)
(with bounds same as point above) into anObject
.