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