# Retrofit an GSON: deserialize a specific object type based on the value of a field

**URL:** <https://discuss.kotlinlang.org/t/retrofit-an-gson-deserialize-a-specific-object-type-based-on-the-value-of-a-field/10440>\
**Category:** Android\
**Created:** [November 21, 2018, 12:34am UTC](https://discuss.kotlinlang.org/t/retrofit-an-gson-deserialize-a-specific-object-type-based-on-the-value-of-a-field/10440 "2018-11-21T00:34:14Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![carlos.5](https://avatars.discourse-cdn.com/v4/letter/c/c0e974/32.png) [@carlos.5](https://discuss.kotlinlang.org/u/carlos.5)\
**Post date:** [November 23, 2018, 3:54pm UTC](https://discuss.kotlinlang.org/t/retrofit-an-gson-deserialize-a-specific-object-type-based-on-the-value-of-a-field/10440/10 "2018-11-23T15:54:32Z")

</div>

sorry, my English is very poor

I wanted to say if  
Could you help me with that?

> [@Upload multiple photos with queue, service and retrofit](https://discuss.kotlinlang.org/t/upload-multiple-photos-with-queue-service-and-retrofit/10492/3):
>
> thank you, sorry I’m missing question. To upload a list of photos, I would like help, how can I use queue in kotlin

---

_[View the full topic](https://discuss.kotlinlang.org/t/retrofit-an-gson-deserialize-a-specific-object-type-based-on-the-value-of-a-field/10440)._
