title: I need to retrieve data to display sample from my JSON local file
body: <p>Main app:   </p>
  
  <pre><code>Import data from ‘../data.json’;
  
  export default Class App extend component {
  
    Render(){
            Return (
                 &lt;View&gt;
                      &lt;Text&gt;Name&lt;Text&gt;
                 &lt;View&gt;
             );
        }
  }
  </code></pre>
  
  <p>JSON file:</p>
  
  <pre><code>data : {
         “name” : “jonh”,
  }
  </code></pre>