Commit Graph

10 Commits

Author SHA1 Message Date
Erick Tryzelaar
00b502a6d2 Add a json pretty printer 2015-03-05 22:16:11 -08:00
Erick Tryzelaar
9db40b008f Add tests and remove dead comments 2015-03-05 20:06:03 -08:00
Erick Tryzelaar
2ee5a416ad Factor out the remaining json tests into tests/ 2015-03-05 19:49:17 -08:00
Erick Tryzelaar
ddfaf9d177 Add Deserializer::visit_enum to help json enum deserialization 2015-03-05 19:17:18 -08:00
Erick Tryzelaar
e7ce710da5 Fix parsing json into optional types
Does not yet handle parsing missing values as `None` yet though.
Closes #25.
2015-03-04 09:45:11 -08:00
Erick Tryzelaar
e9f356755f Add json value deserializer 2015-03-04 09:45:11 -08:00
Erick Tryzelaar
cd3cad8ef5 Fix serializing json enums 2015-03-04 09:45:11 -08:00
Erick Tryzelaar
4b2354597d Start fixing the json tests 2015-03-04 09:44:56 -08:00
Erick Tryzelaar
b2f52df5ff Fix serializing json objects 2015-03-03 21:55:48 -08:00
Erick Tryzelaar
6382441f2e Rename the json tests 2015-03-03 21:47:42 -08:00