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