> For the complete documentation index, see [llms.txt](https://docs.yarnspinner.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yarnspinner.dev/api/csharp/yarn.compiler/yarn.compiler.project/yarn.compiler.project.getjson.md).

# GetJson()

Method in [Project](/api/csharp/yarn.compiler/yarn.compiler.project.md)

## Summary

Gets a string containing JSON-formatted text that represents this [Project](/api/csharp/yarn.compiler/yarn.compiler.project.md) .

```csharp
public string GetJson();
```

## Returns

The [Project](/api/csharp/yarn.compiler/yarn.compiler.project.md) , serialized to JSON.
