Using Gson to build Java objects from JSON