# ToString Method

## Overloads

| [ToString()](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.AbstractStructure.ToString.htm#Qlik_Engine_AbstractStructure_ToString) |  | Creates a string representation of the underlying json structure.<br>Equivalent to `ToString(Formatting.Indented)` |
| --- | --- | --- |
| [ToString(Formatting)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.AbstractStructure.ToString.htm#Qlik_Engine_AbstractStructure_ToString_Newtonsoft_Json_Formatting_) |  | Creates a string representation of the underlying json structure. |

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

## ToString()

Creates a string representation of the underlying json structure. Equivalent to `ToString(Formatting.Indented)`

### Declaration

```

          public override string ToString()
    
  
```

### Returns

| Type | Description |
| --- | --- |
| System.String | The string representation of the underlying json structure. |

### Overrides

System.Object.ToString()

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

## ToString(Formatting)

Creates a string representation of the underlying json structure.

### Declaration

```

          public string ToString(Formatting formatting)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| Newtonsoft.Json.Formatting | formatting | Formatting of the string. |

### Returns

| Type | Description |
| --- | --- |
| System.String | The string representation of the underlying json structure. |