what I am having here is a web service that gives me the following JSON code :
[
{
\"_OrderDetails\": [
{
\"ProductName\": \"FUCHS SUPER
Looking at your code, the right way to get your item objects is
Item[] placelist = gson.fromJson(responseJSON, Item[].class);
because your JSON is an item object list [ (BEGIN_ARRAY)
Item item = gson.fromJson(responseJSON, Item.class);
throws an exception because Gson is expecting an single item object { (BEGIN_OBJECT) but is an array.
You can not deserialize the same JSON in two ways, as array and as an object, if your JSON is an array, deserialize it as an array, if you JSON is an object deserialize it as an object but you can not deserialize in both ways.