Parse nested json in unity
<p>I have an issue parsing this json : </p>

<pre><code>{
    "product_info":
    {
        "title": "Product Name"
    }
}
</code></pre>

<p>here is my code : </p>

<pre><code>using UnityEngine;
using System.Collections;
using System.IO;
using System.Net;
using UnityEngine.UI;

public class ReadJson : MonoBehaviour
{
    public Text myText;

    [System.Serializable]
    public class ProductInfo
    {
        public string title { get; set; }
    }

    [System.Serializable]
    public class RootObject
    {
        public ProductInfo product_info { get; set; }
    }

    void Start () {

        TextAsset asset = Resources.Load (Path.Combine ("Json", "toulouse")) as TextAsset;

        RootObject m = JsonUtility.FromJson&lt;RootObject&gt; (asset.text);

        Debug.Log (m.product_info.title);

    }
}
</code></pre>

<p>I receive this error message : "Object reference not set to an instance of an object". I already tried, with success to parse a not nested json but not I don't understand why but doesn't work even after created the appropriated class.</p>