I am using the retrofit efficient networking library, but I am unable to handle Dynamic JSON which contains single prefix responseMessage which changes to
responseMessage
In addition to what you told -
Use Callback Then you can retrieve the fields using regular get method. For more information, go through the javadoc of gson.
http://google-gson.googlecode.com/svn/tags/1.2.3/docs/javadocs/com/google/gson/JsonObject.html