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.
The example is a Maven project, so to obtain the executable jar file run the following command:
mvn clean install -Dmaven.test.skip=true
- Google Gson library: https://code.google.com/p/google-gson/