-Added support for serializing extension data

-Added support for reference loop handling and type name handling to extension data
-Bug fixes
This commit is contained in:
James Newton-King
2013-10-06 12:32:56 +13:00
parent 23cc86837e
commit 3536c76873
10 changed files with 434 additions and 69 deletions
@@ -87,6 +87,10 @@ namespace Newtonsoft.Json.Utilities
else
callExpression = Expression.Block(callExpression, Expression.Constant(null));
}
else
{
callExpression = EnsureCastExpression(callExpression, type);
}
LambdaExpression lambdaExpression = Expression.Lambda(typeof(MethodCall<T, object>), callExpression, targetParameterExpression, argsParameterExpression);