Open crosscourt opened 7 years ago
[DataMember(IsRequired = false)] public string NewField { get; set; }
It seems adding a new field is not supported. Got an exception "Input string was not in a correct format"
IsRequired of [DataMember] is not supported for backward compatibility methods now, you can get compatibility when you set SerializationMethod to Map instead of Array on SerializationContext.
IsRequired
[DataMember]
SerializationMethod
Map
Array
SerializationContext
[DataMember(IsRequired = false)] public string NewField { get; set; }
It seems adding a new field is not supported. Got an exception "Input string was not in a correct format"