Fix handling for when tags object is an array

This commit is contained in:
Phillip Thelen 2015-06-27 19:49:58 +02:00
parent 5910c3f532
commit 77380b46c1

View file

@ -50,6 +50,15 @@ public class TagsAdapter extends TypeAdapter<Tags>{
case END_OBJECT:
in.endObject();
isClosed=true;
break;
case BEGIN_ARRAY:
in.beginArray();
break;
case END_ARRAY:
in.endArray();
isClosed = true;
break;
default:
}
} while(!isClosed);