# Sandbox.Resources.ResourceCompileContext.ReadSourceAsJson

```csharp
System.Text.Json.Nodes.JsonObject ReadSourceAsJson()
```

Read the source, either from in memory, or from disk

### Returns

`System.Text.Json.Nodes.JsonObject`

Declared in [Sandbox.Resources.ResourceCompileContext](/api/Sandbox.Resources.ResourceCompileContext).
Assembly: `Sandbox.Engine`.
