9 references to GetValueKind
ConfigurationSchemaGenerator (1)
ConfigSchemaEmitter.cs (1)
450
if (propertyNodeType?.
GetValueKind
() == JsonValueKind.String && propertyNodeType.GetValue<string>() == "boolean")
Microsoft.AspNetCore.OpenApi (1)
Services\Schemas\OpenApiSchemaService.cs (1)
89
if (schema.
GetValueKind
() == JsonValueKind.True)
Microsoft.Extensions.AI.Abstractions (2)
Utilities\AIJsonUtilities.Schema.cs (2)
364
JsonValueKind kind = schema.
GetValueKind
();
390
if (entry?.
GetValueKind
() is JsonValueKind.String &&
Microsoft.Extensions.AI.Abstractions.Tests (2)
Utilities\AIJsonUtilitiesTests.cs (2)
283
Assert.Equal(testData.ExpectedJsonSchema.
GetValueKind
(), schemaAsNode.
GetValueKind
());
System.Text.Json (3)
System\Text\Json\Nodes\JsonValue.cs (2)
111
if (
GetValueKind
() != otherNode.
GetValueKind
())
System\Text\Json\Serialization\JsonSerializer.Read.HandleMetadata.cs (1)
472
JsonValueKind metadataValueKind = jsonNode?.
GetValueKind
() ?? JsonValueKind.Null;