I suggest you ...

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
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Brian GriffinBrian Griffin shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    1 comment

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • ChrisSChrisS commented  ·   ·  Flag as inappropriate

        Yes! Also can we have JSON.parse and JSON.stringify support just like modern browsers have?

      Feedback and Knowledge Base