Allow serialization of anonymous types with JSON and XML serializers
I make extensive use of both JSON and XML serialization in web and middleware architectures. While moving objects between the browser and services in a system in a portable format is a big win, the need to provide static types for any data element that you need to work with can be cumbersome. Allowing anonymous types to be serialized and supporting the definition of anonymous types during deserialization would in my opinion be a big advance in the .Net platform.
4
votes
1 comment
-
ChrisS
commented
Yes! Also can we have JSON.parse and JSON.stringify support just like modern browsers have?