If i send query
http://api.tvmaze.com/shows/101?embed=cast
i should get information for a show and get embedded cast members.
However on the show above , i check for the following , but one cast member does not have any images.
p.Item("_embedded").Item("cast").Item(CastCount).Item("person").Item("image").Item("medium")
If i check p.Item("_embedded").Item("cast").Item(CastCount).Item("person").Exists("image") it shill show true
if i check p.Item("_embedded").Item("cast").Item(CastCount).Item("person").Item("image").Exists("medium") it errors out that there is no Object
I thought that p.Item("_embedded").Item("cast").Item(CastCount).Item("person").Item("image") should return info if the image contains either
.Item("medium") OR .Item("original") but i cannot check for this without the error.
I cannot check if Null or Exists as both will fail if there are or are not images
Pls advise if this should always return image information even it there is nothing there ie blank data?