How to get mvc model property in custom JSON.NET serializer ?

Nov 7, 2012 at 11:40 AM

How to access MVC Model property attributes in Custom JSON.NET serialization? For example i want to access [DataType(DataType.Date)] model property attribute in custom JSON.NET serializer and make some decisions depending on that attribute.