public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
CreateStreamingURLResponse response = new CreateStreamingURLResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("Expires", targetDepth))
{
var unmarshaller = DateTimeUnmarshaller.Instance;
response.Expires = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("StreamingURL", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.StreamingURL = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}