Quantcast
Channel: ASPNETWebStack Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 7215

Edited Unassigned: Expose IgnoreSerializableAttribute option on the JsonMediaTypeFormatter. [1216]

$
0
0
With the current bits serializing an ISerializable type would generate json with the backing fields instead of properties.

This is rather the less common use case for web API. Most customers, I assume, would prefer to just serialize public properties instead of the backing fields.

We should think of changing the default behavior and expose a knob on the formatter to easily switch it instead of writing a new class.

Viewing all articles
Browse latest Browse all 7215

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>