Download Latest Version 0.12.4 source code.zip (112.4 kB)
Email in envelope

Get an email when there's a new version of json-rust

Home / v0.12.0
Name Modified Size InfoDownloads / 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 for JsonValue where T: Into<JsonValue> (closes [#160]).
  • object! and array! macros will no longer re-allocate (closes [#159]).
  • object! and array! macros can be now used without being imported into local scope (by using json::object! or json::array!, thanks @matthias-t).
  • BREAKING HashMap and BTreeMap conversions are now more generic, working for any pair of K key and V value where K: AsRef<str> and V: 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 an Object.
Source: README.md, updated 2019-09-06