Skip to content

Commit

Permalink
Found missing JsonSerializer attribute.
Browse files Browse the repository at this point in the history
  • Loading branch information
KristofferStrube committed May 6, 2024
1 parent 38261c0 commit e09d808
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
using KristofferStrube.Blazor.WebAudio.UnionTypes;
using KristofferStrube.Blazor.WebAudio.Converters;
using KristofferStrube.Blazor.WebAudio.UnionTypes;
using System.Text.Json.Serialization;

namespace KristofferStrube.Blazor.WebAudio;

/// <summary>
/// A value that is either a <see cref="AudioContextLatencyCategory"/> or a <see cref="double"/>.
/// </summary>
[JsonConverter(typeof(UnionTypeJsonConverter<AudioContextLatencyCategoryOrDouble>))]
public class AudioContextLatencyCategoryOrDouble : UnionType
{
/// <summary>
Expand Down

0 comments on commit e09d808

Please sign in to comment.