Can you not do that???? If there is no downsized image - don't include it in the response! Empty objects break serialization field requirements in strongly typed languages (like Kotlin) since now all of a sudden, we have to allow the image object to have all nullable fields. This sucks ass, guys. Fix it please.
The trending GIFs endpoint (https://api.giphy.com/v1/gifs/trending) sometimes returns JSON objects with no fields (completely blank):
Can you not do that???? If there is no downsized image - don't include it in the response! Empty objects break serialization field requirements in strongly typed languages (like Kotlin) since now all of a sudden, we have to allow the image object to have all nullable fields. This sucks ass, guys. Fix it please.