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