1 write to JsonSerializerOptions
Microsoft.JSInterop.Tests (1)
Infrastructure\DotNetStreamReferenceJsonConverterTest.cs (1)
15JsonSerializerOptions = JSRuntime.JsonSerializerOptions;
4 references to JsonSerializerOptions
Microsoft.JSInterop.Tests (4)
Infrastructure\DotNetStreamReferenceJsonConverterTest.cs (4)
16JsonSerializerOptions.Converters.Add(new DotNetStreamReferenceJsonConverter(JSRuntime)); 26var ex = Assert.Throws<NotSupportedException>(() => JsonSerializer.Deserialize<DotNetStreamReference>(json, JsonSerializerOptions)); 37var json = JsonSerializer.Serialize(streamRef, JsonSerializerOptions); 52var json = JsonSerializer.Serialize(streamRef, JsonSerializerOptions);