]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #19490 - oli-obk:json_non_string_key_maps, r=alexcrichton
authorbors <bors@rust-lang.org>
Mon, 19 Jan 2015 21:37:52 +0000 (21:37 +0000)
committerbors <bors@rust-lang.org>
Mon, 19 Jan 2015 21:37:52 +0000 (21:37 +0000)
importing object type string key maps is still supported
writing them should be explicit, and can be done as follows

```rust
let some_tree_map : TreeMap<String, Json> = ...;
Json::Object(some_tree_map).to_writer(&mut writer);
```

related to #8335, #9028, #9142


Trivial merge