3 ms·
If you generate your JSON with Java using Jackson, it offers Jackson-Views, a very nifty way to define sets of JSON properties according to use case. * http://
by iSnow 12y ago
If you generate your JSON with Java using Jackson, it offers Jackson-Views, a very nifty way to define sets of JSON properties according to use case.
* http://wiki.fasterxml.com/JacksonJsonViews http://wiki.fasterxml.com/JacksonJsonViews
* http://techtraits.com/programming/2011/08/12/implementing-jackson-views/ http://techtraits.com/programming/2011/08/12/implementing-ja...
- ejain 12y agoNeat! Jackson also has a tree data model that can be used like so: user.path("them").path("public_keys").path("primary").path("bundle").textValue(); // null if any node is missing