24 references to Parse
Aspire.Components.Common.Tests (2)
ConformanceTests.cs (2)
326var config = JsonNode.Parse(ValidJsonConfig); 340var config = JsonNode.Parse(json);
Aspire.Hosting.Azure (3)
Provisioning\Provisioners\AzureProvisioner.cs (1)
195? JsonNode.Parse(await File.ReadAllTextAsync(userSecretsPath, cancellationToken).ConfigureAwait(false))!.AsObject()
Provisioning\Provisioners\BicepProvisioner.cs (2)
51outputObj = JsonNode.Parse(outputJson); 446var parameters = JsonNode.Parse(jsonString)?.AsObject();
Aspire.Hosting.Redis.Tests (1)
RedisFunctionalTests.cs (1)
670var jo = JsonObject.Parse(content);
Aspire.Hosting.Tests (8)
Schema\SchemaTests.cs (8)
231var manifestJson = JsonNode.Parse(manifestText); 265var manifestJson = JsonNode.Parse(manifestText); 285var manifestJson = JsonNode.Parse(manifestText); 304var manifestJson = JsonNode.Parse(manifestText); 344var manifestJson = JsonNode.Parse(manifestText); 367var manifestJson = JsonNode.Parse(manifestText); 745var manifestJson = JsonNode.Parse(manifestText); 758var manifestJson = JsonNode.Parse(manifestText);
ConfigurationSchemaGenerator.Tests (2)
GeneratorTests.cs (2)
1579var actualJson = JsonNode.Parse(actual)!; 1580var expectedJson = JsonNode.Parse(expected)!;
Microsoft.AspNetCore.Http.Extensions.Tests (1)
RequestDelegateGenerator\RequestDelegateCreationTestBase.cs (1)
255var node = JsonNode.Parse(body);
Microsoft.AspNetCore.Http.Microbenchmarks (1)
src\Http\Http.Extensions\test\RequestDelegateGenerator\RequestDelegateCreationTestBase.cs (1)
255var node = JsonNode.Parse(body);
Microsoft.ML.AutoML (4)
SweepableEstimator\Converter\MultiModelPipelineConverter.cs (1)
26var jsonObject = JsonNode.Parse("{}");
SweepableEstimator\Converter\SweepableEstimatorConverter.cs (1)
29var jObject = JsonObject.Parse("{}");
SweepableEstimator\Converter\SweepableEstimatorPipelineConverter.cs (1)
29var jNode = JsonNode.Parse("{}");
SweepableEstimator\Converter\SweepablePipelineConverter.cs (1)
27var jsonObject = JsonNode.Parse("{}");
Microsoft.ML.AutoML.SourceGenerator (1)
SearchSpaceGenerator.cs (1)
35var searchSpacesJNodes = searchSpacesJson.Select(x => JsonNode.Parse(x));
Microsoft.ML.GenAI.Mistral (1)
Mistral_7B_0_3ChatTemplateBuilder.cs (1)
125arguments = JsonObject.Parse(tc.FunctionArguments),