40 references to 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 (18)
Extensions\JsonObjectSchemaExtensions.cs (1)
273var mappings = new JsonObject();
Schemas\JsonSchemaMapper\JsonSchemaMapper.cs (11)
123(paramSchemas ??= new()).Add(parameterInfo.Name, paramSchema); 243return new JsonObject { [RefPropertyName] = existingPointer }; 319var typeDiscriminatorPropertySchema = new JsonObject { [ConstPropertyName] = discriminatorNodeValue }; 360(JsonNode)new JsonObject { [TypePropertyName] = MapSchemaType(schemaType) }, 361(JsonNode)new JsonObject 411(properties ??= new()).Add(typeDiscriminator.Value); 481(properties ??= new()).Add(property.Name, propertySchema); 512(properties ??= new()).Add(typeDiscriminator.Value); 525new JsonObject 541(properties ??= new()).Add(typeDiscriminator.Value); 733var schema = new JsonObject();
Services\Schemas\OpenApiSchemaService.cs (1)
51schema[OpenApiSchemaKeywords.ItemsKeyword] = new JsonObject
Services\Schemas\OpenApiSchemaStore.cs (5)
20[new OpenApiSchemaKey(typeof(IFormFile), null)] = new JsonObject { ["type"] = "string", ["format"] = "binary" }, 21[new OpenApiSchemaKey(typeof(IFormFileCollection), null)] = new JsonObject 24["items"] = new JsonObject { ["type"] = "string", ["format"] = "binary" } 26[new OpenApiSchemaKey(typeof(Stream), null)] = new JsonObject { ["type"] = "string", ["format"] = "binary" }, 27[new OpenApiSchemaKey(typeof(PipeReader), null)] = new JsonObject { ["type"] = "string", ["format"] = "binary" },
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)
4629var jsonNode = new JsonObject();
System.Text.Json (5)
System\Text\Json\Nodes\JsonObject.cs (4)
34public JsonObject(IEnumerable<KeyValuePair<string, JsonNode?>> properties, JsonNodeOptions? options = null) : this(options) 70internal JsonObject(JsonElement element, JsonNodeOptions? options = null) : this(options) 89: new JsonObject(Options); 93var jObject = new JsonObject(Options)
System\Text\Json\Serialization\Converters\Node\JsonObjectConverter.cs (1)
14jsonTypeInfo.CreateObjectForExtensionDataProperty = () => new JsonObject(options.GetNodeOptions());
WasmAppBuilder (2)
WasmAppBuilderBaseTask.cs (2)
121JsonObject wasmHostProperties = runtimeOptionsObject.GetOrCreate<JsonObject>("wasmHostProperties", () => new JsonObject()); 141var hostConfigObject = new JsonObject();