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