Skip to content

Commit

Permalink
use different converter
Browse files Browse the repository at this point in the history
  • Loading branch information
LukaszRozmej committed May 2, 2024
1 parent 49cd863 commit 9bb26d6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@ public override void Write(Utf8JsonWriter writer, NativeCallTracerCallFrame valu
}
else
{
JsonSerializer.Serialize(writer, value.Input.AsMemory(), options);
JsonSerializer.Serialize(writer, (ReadOnlyMemory<byte>)value.Input.AsMemory(), options);
}

if (value.Output?.Count > 0)
{
writer.WritePropertyName("output"u8);
JsonSerializer.Serialize(writer, value.Output.AsMemory(), options);
JsonSerializer.Serialize(writer, (ReadOnlyMemory<byte>)value.Output.AsMemory(), options);
}

if (value.Error is not null)
Expand Down

0 comments on commit 9bb26d6

Please sign in to comment.