Jackson JSON custom serialization for certain fields

Is there a way using Jackson JSON Processor to do custom field level serialization? For example, I’d like to have the class public class Person { public String name; public int age; …

How to handle a NumberFormatException with Gson in deserialization a JSON response

I’m reading a JSON response with Gson, which returns somtimes a NumberFormatException because an expected int value is set to an empty string. Now I’m wondering what’s the best way to handle this kind …