]> git.lizzy.rs Git - rust.git/commit
Add `encode` and `decode` shortcut functions
authorAdolfo Ochagavía <aochagavia92@gmail.com>
Sat, 28 Jun 2014 13:33:37 +0000 (15:33 +0200)
committerAdolfo Ochagavía <aochagavia92@gmail.com>
Mon, 30 Jun 2014 19:35:46 +0000 (21:35 +0200)
commit6ae5e92cc226fc9252957df56afbd5fbd5b2b2a8
tree48f0444f3e8fd01cdb5070a415c9e39df4da7d3a
parent1e55dce0e40578ef0875044f5ce6371510b2e40c
Add `encode` and `decode` shortcut functions

Now you can just use `json::encode` and `json::decode`, which is very
practical

**Deprecated `Encoder::str_encode` in favor of `json::encode`**

[breaking-change]
src/libserialize/json.rs