This is a small code snippet showing how to use Google Gson library to deserialize an incoming string in json format into a class array.