title: How do we parse JSON in Unity3d?
body: <p>When I try to use JsonUtility to parse the JSON from a REST call returning an array of elements, it fails saying that top level must be an object. C'mon guys. That's ridiculous.</p>
  <p>OK, moving on to figuring out how to use Newtonsoft.json because it works well everywhere else.</p>
  <p>Tried using JSON .NET for Unity out of the asset store. Seemed like it would work fine and did in the editor, but didn't work (calls to it failed with exceptions) when I tried to use it in a Mac local build on my dev macbook pro. So if it doesn't work on my dev machine and for mac builds, then it's a no go. <a href="https://assetstore.unity.com/packages/tools/input-management/json-net-for-unity-11347" rel="nofollow noreferrer">https://assetstore.unity.com/packages/tools/input-management/json-net-for-unity-11347</a></p>
  <p>Tried using jilleJr's version from here: <a href="https://github.com/jilleJr/Newtonsoft.Json-for-Unity" rel="nofollow noreferrer">https://github.com/jilleJr/Newtonsoft.Json-for-Unity</a> but the installation instructions caused the package manager to not be able to open. I get a null reference exception when following the directions to add the package directly into my manifest.json</p>
  <p>So what's the secret to making JSON work in Unity 2019/2020 right now? Seems like a huge problem for a platform to have.</p>