We should openly allow developers to modify the default serialization options.
Since the merged of this PR 3, two issues arise here:
Properties of generic types that have definitions is enum types will throw an exception when deserialized.
[IgnoreDataMember] attribute are no longer supported. After serialization, you will see undesired properties in the json file, unless you mark them with the new [JsonIgnore] attribute.
All previous stability tests based on this component will be invalidated.
Because the System.Text.Json component only support the [System.Text.Json.Serialization.JsonIgnoreAttribute] attribute, not the [IgnoreDataMember] attribute
We should openly allow developers to modify the default serialization options.
Since the merged of this PR 3, two issues arise here:
[IgnoreDataMember]
attribute are no longer supported. After serialization, you will see undesired properties in the json file, unless you mark them with the new[JsonIgnore]
attribute.All previous stability tests based on this component will be invalidated.
Because the
System.Text.Json
component only support the[System.Text.Json.Serialization.JsonIgnoreAttribute]
attribute, not the[IgnoreDataMember]
attribute