Merge: json::serialization: intro `attributes_path` as support to `class_name_heuristic`
authorJean Privat <jean@pryen.org>
Thu, 11 Aug 2016 19:43:20 +0000 (15:43 -0400)
committerJean Privat <jean@pryen.org>
Thu, 11 Aug 2016 19:43:20 +0000 (15:43 -0400)
Intro a list of the attribute names to the currently deserialized object which can be used to infer the Nit type of a JSON object to deserialize. It is not the most reliable information, some objects won't have an associated attribute like the root deserialized object and collection items.

Should help for #2246.

As a bonus, this PR improves the doc to `Deserializer` mainly to mention `errors` from `deserialize`.

Pull-Request: #2252
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>


Trivial merge