Merge: json: Refactor the APIs
authorJean Privat <jean@pryen.org>
Mon, 17 Nov 2014 22:55:57 +0000 (17:55 -0500)
committerJean Privat <jean@pryen.org>
Mon, 17 Nov 2014 22:55:57 +0000 (17:55 -0500)
commit20e4a3a08d273417e9e69ef5798b97845f139d4c
tree3e6eb4fafdd41b42048625e0a40cc6006527e800
parentd72a7e5b07a5fd24a659f4144857462643d11843
parent3551d1236a48d89725b9852a1379f0cd9412729d
Merge: json: Refactor the APIs

Refactor the `json` library taking feedback of @privat, @Morriar and @xymus into account. Also, correct some bugs related to JSON encoding/decoding and remove ad hoc escaping routines.

TODO: Support Unicode escaping.

Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>

Pull-Request: #907
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>