---
id: "P:cAlgo.API.ExecuteScriptResult.Json"
kind: "property"
type: "T:cAlgo.API.ExecuteScriptResult"
url: "https://help.ctrader.com/ctrader-algo/references/Controls/ExecuteScriptResult/Json/"
---

> Documentation index for agents: https://help.ctrader.com/ctrader-algo/llms.txt · machine index: https://help.ctrader.com/ctrader-algo/api.json

# ExecuteScriptResult.Json

Member of [ExecuteScriptResult](https://help.ctrader.com/ctrader-algo/references/Controls/ExecuteScriptResult/index.md).

## Json

Returned JSON result of execution.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
public string Json {get;}
```

Python:

```python
executeScriptResult.Json: str
```

### Returns

`string` — 

### Examples

C#:

```csharp
var webView = new WebView { Width = 300, Height = 100 };
webView.NavigateToStringAsync("<html><body>Hello</body></html>");
webView.NavigationCompleted += args => webView.ExecuteScriptAsync("JSON.stringify({ bid: 1.085 })", result =>
{
    if (result.IsSuccessful)
        Print("JSON result: {0}", result.Json);
});
Chart.AddControl(webView);
```

Python:

```python
webView = WebView()
webView.NavigateToStringAsync("<html><body>Hello</body></html>")
webView.NavigationCompleted += lambda args: webView.ExecuteScriptAsync("JSON.stringify({ bid: 1.085 })", lambda result: api.Print(f"JSON result: {result.Json}"))
api.Chart.AddControl(webView)
```

