2 writes to NumberHandling
Microsoft.AspNetCore.Grpc.JsonTranscoding (1)
Internal\Json\JsonConverterHelper.cs (1)
47
NumberHandling
= JsonNumberHandling.AllowNamedFloatingPointLiterals,
Microsoft.ML.SearchSpace.Tests (1)
SearchSpaceTest.cs (1)
28
NumberHandling
= JsonNumberHandling.Strict,
10 references to NumberHandling
System.Text.Json (10)
src\libraries\System.Text.Json\Common\JsonSourceGenerationOptionsAttribute.cs (1)
94
/// Specifies the default value of <see cref="JsonSerializerOptions.
NumberHandling
"/> when set.
System\Text\Json\Nodes\JsonValueOfTPrimitive.cs (1)
54
converter.WriteNumberWithCustomHandling(writer, Value, options.
NumberHandling
);
System\Text\Json\Schema\JsonSchemaExporter.cs (1)
90
JsonNumberHandling effectiveNumberHandling = customNumberHandling ?? typeInfo.NumberHandling ?? typeInfo.Options.
NumberHandling
;
System\Text\Json\Serialization\JsonSerializerContext.cs (1)
65
!JsonHelpers.RequiresSpecialNumberHandlingOnWrite(options.
NumberHandling
) &&
System\Text\Json\Serialization\Metadata\JsonPropertyInfo.cs (4)
584
if (!EffectiveNumberHandling.HasValue && Options.
NumberHandling
!= JsonNumberHandling.Strict)
586
EffectiveNumberHandling = Options.
NumberHandling
;
605
if (!handling.HasValue && Options.
NumberHandling
!= JsonNumberHandling.Strict)
607
handling = Options.
NumberHandling
;
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (2)
486
/// Gets or sets the type-level <see cref="JsonSerializerOptions.
NumberHandling
"/> override.
514
internal JsonNumberHandling EffectiveNumberHandling => _numberHandling ?? Options.
NumberHandling
;