Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
m-redding committed Oct 13, 2023
1 parent 621dc6d commit 7a5570d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ internal class SampleJsonValidator : SchemaValidator
}
```

## Serialize and deserialize JSON data using the Event H
## Serialize and deserialize JSON data using the Event Hub `EventData` model

In order to serialize an `EventData` instance with JSON information, you can do the following:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ private async ValueTask<object> DeserializeInternalAsync(
try
{
// Attempt to deserialize
var dataStream = data.ToStream();
using var dataStream = data.ToStream();
if (async)
{
objectToReturn = await deserializer.DeserializeAsync(dataStream, dataType, cancellationToken: cancellationToken).ConfigureAwait(false);
Expand Down

0 comments on commit 7a5570d

Please sign in to comment.