# IPEndPointJsonConverter.Write(Utf8JsonWriter, IPEndPoint, JsonSerializerOptions)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.serialization.ipendpointjsonconverter/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.serialization.ipendpointjsonconverter/methods/)

[Source](https://github.com/dotnet/orleans/blob/6a0e937f544c35ffcf11b37e4c2b7de5a1580a03/src/Orleans.Core/Serialization/SystemTextJson/IPEndPointJsonConverter.cs#L26-L29)

```csharp
public override void Write(Utf8JsonWriter writer, IPEndPoint value, JsonSerializerOptions options)
```

Writes a specified value as JSON.

### Parameters

- `writer` (`Utf8JsonWriter`): The writer to write to.
- `value` (`IPEndPoint`): The value to convert to JSON.
- `options` (`JsonSerializerOptions`): An object that specifies serialization options to use.

### Exceptions

- `System.ArgumentNullException`: `writer` or `value` is `null`.
