1 reference to WhenWritingDefault
System.Text.Json.SourceGeneration (1)
JsonSourceGenerator.Emitter.cs (1)
1063JsonIgnoreCondition.WhenWritingDefault => propertySpec.PropertyType.CanBeNull ? SerializedValueCheckType.IgnoreWhenNull : SerializedValueCheckType.IgnoreWhenDefault,