# Sandbox.Json.ParseToJsonObject

## Overload 1

```csharp
static System.Text.Json.Nodes.JsonObject ParseToJsonObject(string json)
```

Parse some Json to a JsonObject

### Parameters

- `json` (`string`)

### Returns

`System.Text.Json.Nodes.JsonObject`

## Overload 2

```csharp
static System.Text.Json.Nodes.JsonObject ParseToJsonObject(ref System.Text.Json.Utf8JsonReader reader)
```

Parse some Json to a JsonNode

### Parameters

- `ref reader` (`System.Text.Json.Utf8JsonReader`)

### Returns

`System.Text.Json.Nodes.JsonObject`

Declared in [Sandbox.Json](/api/Sandbox.Json).
Assembly: `Sandbox.Engine`.
