5 references to DecimalConverter
Aspire.Hosting.Nats.Tests (1)
artifacts\obj\Aspire.Hosting.Nats.Tests\Debug\net8.0\System.Text.Json.SourceGeneration\System.Text.Json.SourceGeneration.JsonSourceGenerator\AppJsonContext.Decimal.g.cs (1)
27
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateValueInfo<decimal>(options, global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.
DecimalConverter
);
Nats.Common (1)
AppJsonContext.Decimal.g.cs (1)
27
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateValueInfo<decimal>(options, global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.
DecimalConverter
);
System.Text.Json (3)
System\Text\Json\Nodes\JsonValue.CreateOverloads.cs (2)
97
public static JsonValue Create(decimal value, JsonNodeOptions? options = null) => new JsonValuePrimitive<decimal>(value, JsonMetadataServices.
DecimalConverter
, options);
105
public static JsonValue? Create(decimal? value, JsonNodeOptions? options = null) => value.HasValue ? new JsonValuePrimitive<decimal>(value.Value, JsonMetadataServices.
DecimalConverter
, options) : null;
System\Text\Json\Serialization\Metadata\DefaultJsonTypeInfoResolver.Converters.cs (1)
60
Add(JsonMetadataServices.
DecimalConverter
);