Merge: Fix model_json and nitweb
authorJean Privat <jean@pryen.org>
Sat, 3 Dec 2016 13:11:30 +0000 (08:11 -0500)
committerJean Privat <jean@pryen.org>
Sat, 3 Dec 2016 13:11:30 +0000 (08:11 -0500)
commit86d9345b466fa8497f6a8bd0a014f5eec845e8bd
treec8462b17c69b2e3a348ed1f2e585d2ec76696dee
parentdf1c460a434034fb4bffad869e0a077565503067
parenta1547dba4bd4d7f3b74c15679c820e2ec9c75eba
Merge: Fix model_json and nitweb

Was broken since #2312

* Migrate `model_json` to new serialization API
* Add tests to `model_json` to ensure this doesn't happen anymore
* Migrate `web` package and `nitweb` to new API

@xymus a lot of serialization for you. Note: for each entity, I needed two deserialization version `full` and no full. Wasn't sure on how to handle this concern properly with your API

Pull-Request: #2327
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>