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