private static void UnmarshallResult(JsonUnmarshallerContext context,DescribeMyUserProfileResponse response)
{
int originalDepth = context.CurrentDepth;
int targetDepth = originalDepth + 1;
while (context.Read())
{
if (context.TestExpression("UserProfile", targetDepth))
{
context.Read();
response.UserProfile = SelfUserProfileUnmarshaller.GetInstance().Unmarshall(context);
continue;
}
if (context.CurrentDepth <= originalDepth)
{
return;
}
}
return;
}