Json.Net – private setters(daniel.wertheim.se)
submitted by
sedanwer(216) 1 year, 6 months ago
This post is a simple on explaining how you can make Json.Net handle private setters. I will show you three solutions but only one fulfills my requirements:
- No attributes should be required
- No fields should be serialized/deserialized only properties
The solution is to extend the DefaultContractResolver.....
|category: C#
|Views: 2
tags:
C# another
Everyones tags:
Your Tags: