> ## Documentation Index
> Fetch the complete documentation index at: https://si.easyaf.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# AskUserQuestionUnansweredReasonConverter

> Converts the `unanswered` field of an AskUserQuestion annotation to and from a nullable [AskUserQuestionUnansweredReason](/claudeessentials/api-reference/CloudNimble/ClaudeEs...

## Definition

**Assembly:** CloudNimble.ClaudeEssentials.dll

**Namespace:** CloudNimble.ClaudeEssentials.Hooks.Converters

**Inheritance:** System.Text.Json.Serialization.JsonConverter\<System.Nullable\<CloudNimble.ClaudeEssentials.Hooks.AskUserQuestionUnansweredReason>>

## Syntax

```csharp theme={"dark"}
CloudNimble.ClaudeEssentials.Hooks.Converters.AskUserQuestionUnansweredReasonConverter
```

## Summary

Converts the `unanswered` field of an AskUserQuestion annotation to and from a nullable [AskUserQuestionUnansweredReason](https://si.easyaf.dev/api-reference/CloudNimble/ClaudeEssentials/Hooks/AskUserQuestionUnansweredReason).

## Remarks

The schema instructs consumers to treat any unrecognized value as absent, so this converter reads unknown
values as [`null`](https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null) rather than throwing as the default enum handling would.

## Constructors

### &#x20;.ctor

#### Syntax

```csharp theme={"dark"}
public AskUserQuestionUnansweredReasonConverter()
```

## Methods

### &#x20;Read Override

#### Syntax

```csharp theme={"dark"}
public override System.Nullable<CloudNimble.ClaudeEssentials.Hooks.AskUserQuestionUnansweredReason> Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `reader` | `System.Text.Json.Utf8JsonReader` | - |
| `typeToConvert` | `System.Type` | - |
| `options` | `System.Text.Json.JsonSerializerOptions` | - |

#### Returns

Type: `System.Nullable<CloudNimble.ClaudeEssentials.Hooks.AskUserQuestionUnansweredReason>`

### &#x20;Write Override

#### Syntax

```csharp theme={"dark"}
public override void Write(System.Text.Json.Utf8JsonWriter writer, System.Nullable<CloudNimble.ClaudeEssentials.Hooks.AskUserQuestionUnansweredReason> value, System.Text.Json.JsonSerializerOptions options)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `writer` | `System.Text.Json.Utf8JsonWriter` | - |
| `value` | `System.Nullable<CloudNimble.ClaudeEssentials.Hooks.AskUserQuestionUnansweredReason>` | - |
| `options` | `System.Text.Json.JsonSerializerOptions` | - |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.