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