]> git.lizzy.rs Git - rust.git/commit
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)
commit7f8c687fdfbf076ef1667f4d95633d4e0812b516
treee91078087df374bfbecf76d3cfefa98f9c4c71b5
parent4032b85aec962486af7f205e72e93efc8a0bc434
parenta320149dcce2eb27d3014113cbf87aacc04d24eb
Auto merge of #19490 - oli-obk:json_non_string_key_maps, r=alexcrichton

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