> For the complete documentation index, see [llms.txt](https://glitch9.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://glitch9.gitbook.io/docs/support/how-to-setup-newtonsoft-json.md).

# How to setup Newtonsoft.Json

1. **Open the Unity Editor** and navigate to the **Window** menu.
2. Select **Package Manager** to open the Unity Package Manager.
3. Click on the **+** button at the top left of the window, and select **"Add package by name..."**.
4. Paste <mark style="color:red;">**com.unity.nuget.newtonsoft-json**</mark> into the dialog box and click **Add**.&#x20;

   <figure><img src="/files/JWKX4idyEurJWAHTK9rS" alt=""><figcaption></figcaption></figure>
5. Unity will now download and install Newtonsoft.Json into your project.

**Verify Installation:**

* After installation, `Newtonsoft.Json` should appear in the list of packages in the Package Manager. You can also verify the package is correctly added to your project by checking the **Packages** folder in your Unity Project window.
* Ensure that the `Newtonsoft.Json` namespace is accessible by attempting to use it within your scripts. For example, you can try adding `using Newtonsoft.Json;` at the top of one of your C# script files to confirm it's recognized by Unity.
