# IPAddressJsonConverter.Write(Utf8JsonWriter, IPAddress, JsonSerializerOptions)

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

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

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

Writes a specified value as JSON.

### Parameters

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

### Exceptions

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