79 references to JsonObject
Aspire.Dashboard (1)
Otlp\Model\OtlpHelpers.cs (1)
138var o = new JsonObject();
Aspire.Dashboard.Tests (9)
Integration\OtlpGrpcServiceTests.cs (6)
163var configJson = new JsonObject 165["Dashboard"] = new JsonObject 167["Otlp"] = new JsonObject 205configJson = new JsonObject 207["Dashboard"] = new JsonObject 209["Otlp"] = new JsonObject
Integration\StartupTests.cs (3)
509var configJson = new JsonObject 511["Logging"] = new JsonObject 513["LogLevel"] = new JsonObject
Aspire.Hosting (3)
Devcontainers\DevcontainerSettingsWriter.cs (2)
42portsAttributes = new JsonObject(); 55portAttributes = new JsonObject();
src\Shared\SecretsStore.cs (1)
52var contents = new JsonObject();
Aspire.Hosting.Azure (3)
Provisioning\JsonExtensions.cs (1)
18node = new JsonObject();
Provisioning\Provisioners\BicepProvisioner.cs (2)
221var parameters = new JsonObject(); 495parameters[parameter.Key] = new JsonObject()
Aspire.Hosting.Azure.Tests (12)
AzureBicepProvisionerTests.cs (11)
23var parameters = new JsonObject(); 54.WithParameter("jsonObj", new JsonObject { ["key"] = "value" }) 59var parameters = new JsonObject(); 82.WithParameter("jsonObj", new JsonObject { ["key"] = "value" }); 88.WithParameter("jsonObj", new JsonObject { ["key"] = "value" }); 90var parameters0 = new JsonObject(); 94var parameters1 = new JsonObject(); 145.WithParameter("jsonObj", new JsonObject { ["key"] = "value" }); 147var parameters0 = new JsonObject(); 151var parameters1 = new JsonObject(); 175var parameters0 = new JsonObject();
AzureBicepResourceTests.cs (1)
187.WithParameter("param3", new JsonObject() { ["value"] = "nested" })
ConfigurationSchemaGenerator (11)
ConfigSchemaEmitter.cs (11)
44var root = new JsonObject(); 62var categoryNode = new JsonObject(); 67parent["definitions"] = new JsonObject 69["logLevel"] = new JsonObject 140pathSegmentNode = new JsonObject(); 246propertiesNode = new JsonObject(); 286var propertyNode = new JsonObject(); 319var containerNode = new JsonObject(); 632new JsonObject 637new JsonObject 640["items"] = new JsonObject
dotnet-user-jwts (5)
Helpers\JwtAuthenticationSchemeSettings.cs (4)
22var settingsObject = new JsonObject 38authentication.Add(SchemesKey, new JsonObject 46config[AuthenticationKey] = new JsonObject 48[SchemesKey] = new JsonObject
Helpers\SigningKeysHandler.cs (1)
75secrets ??= new JsonObject();
Microsoft.AspNetCore.OpenApi (11)
Extensions\JsonNodeSchemaExtensions.cs (1)
373var mappings = new JsonObject();
Services\Schemas\OpenApiSchemaService.cs (5)
66schema = new JsonObject 75schema = new JsonObject 78[OpenApiSchemaKeywords.ItemsKeyword] = new JsonObject 91schema = new JsonObject(); 105return new JsonObject { [OpenApiSchemaKeywords.RefKeyword] = context.TypeInfo.GetSchemaReferenceId() };
Services\Schemas\OpenApiSchemaStore.cs (5)
21[new OpenApiSchemaKey(typeof(IFormFile), null)] = new JsonObject 27[new OpenApiSchemaKey(typeof(IFormFileCollection), null)] = new JsonObject 30["items"] = new JsonObject 38[new OpenApiSchemaKey(typeof(Stream), null)] = new JsonObject 44[new OpenApiSchemaKey(typeof(PipeReader), null)] = new JsonObject
Microsoft.DotNet.Internal.SymbolHelper (3)
SymbolPromotionHelper.cs (3)
103JsonObject registrationPayload = new() 123JsonObject visibilityPayload = new() 252JsonObject extensionPayload = new()
MSBuild (10)
JsonOutputFormatter.cs (9)
21private readonly JsonNode _topLevelNode = new JsonObject(); 37JsonNode propertiesNode = new JsonObject(); 55JsonNode itemsNode = new JsonObject(); 61JsonObject jsonItem = new(); 91JsonObject itemsNode = new(); 97JsonObject jsonItem = new(); 132JsonObject targetResultsNode = new(); 136JsonObject targetResults = new(); 141JsonObject jsonItem = new();
XMake.cs (1)
4639var jsonNode = new JsonObject();
Stress.ApiService (1)
Program.cs (1)
210var jsonWithUrl = new JsonObject
System.Text.Json (7)
System\Text\Json\Nodes\JsonObject.cs (4)
36public JsonObject(IEnumerable<KeyValuePair<string, JsonNode?>> properties, JsonNodeOptions? options = null) : this(options) 69internal JsonObject(JsonElement element, JsonNodeOptions? options = null) : this(options) 91: new JsonObject(Options); 94var jObject = new JsonObject(Options)
System\Text\Json\Schema\JsonSchema.cs (2)
158var objSchema = new JsonObject(); 192var properties = new JsonObject();
System\Text\Json\Serialization\Converters\Node\JsonObjectConverter.cs (1)
15jsonTypeInfo.CreateObjectForExtensionDataProperty = () => new JsonObject(options.GetNodeOptions());
TestProject.AppHost (3)
TestProgram.cs (3)
146var root = new JsonObject(); 149var projectJson = new JsonObject(); 163var endpointJsonObject = new JsonObject