public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
DescribeBudgetResponse response = new DescribeBudgetResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("Budget", targetDepth))
{
var unmarshaller = BudgetUnmarshaller.Instance;
response.Budget = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}