8 references to JsonUnionAttribute
System.Text.Json (8)
System\Text\Json\Serialization\Attributes\JsonUnionAttribute.cs (1)
16
/// <see cref="
JsonUnionAttribute
"/> on its own does not make a type a union — the
System\Text\Json\Serialization\JsonSerializerOptions.Converters.cs (1)
32
/// <see cref="
JsonUnionAttribute
.TypeClassifier"/> or <see cref="JsonPolymorphicAttribute.TypeClassifier"/>.
System\Text\Json\Serialization\JsonTypeClassifierFactory.cs (2)
16
/// It is referenced by the <see cref="
JsonUnionAttribute
.TypeClassifier"/> and
32
/// or per-type via <see cref="
JsonUnionAttribute
.TypeClassifier"/> /
System\Text\Json\Serialization\Metadata\DefaultJsonTypeInfoResolver.Union.cs (2)
68
JsonUnionAttribute
? attr = typeof(TUnion).GetCustomAttribute<
JsonUnionAttribute
>();
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (1)
577
/// from <see cref="
JsonUnionAttribute
.TypeClassifier"/> or <see cref="JsonPolymorphicAttribute.TypeClassifier"/>.
System\Text\Json\Serialization\Metadata\JsonUnionInfoValuesOfT.cs (1)
52
/// Resolved from <see cref="
JsonUnionAttribute
.TypeClassifier"/> at compile time.