# WriteJson Method

## Overloads

| [WriteJson(JsonWriter)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.AbstractStructure.WriteJson.htm#Qlik_Engine_AbstractStructure_WriteJson_Newtonsoft_Json_JsonWriter_) |  | Writes the full json structure of the object to the argument writer. |
| --- | --- | --- |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.AbstractStructure.WriteJson.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.AbstractStructure.WriteJson.htm)

## WriteJson(JsonWriter)

Writes the full json structure of the object to the argument writer.

### Declaration

```

          public void WriteJson(JsonWriter writer)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| Newtonsoft.Json.JsonWriter | writer | The target writer. |