Closed ghost closed 6 years ago
@anirudhagupta this is a rather significant ask because ValueTuple
is not available in full .NET Framework versions before 4.7. Thus extending JsonResult
to support it would require bumping our target framework way up from its current 4.5.2. We are not likely to make such a change -- back-compatibility is too important.
@dougbu no issue then.
when I run this code it's give me {"Item1":"Anirudha","Item2":"Gupta"} I believe that it should be name and email instead of item1 and item2.