write/edit/overwrite a json file in react native
<p>I know how to read the json file just by importing it</p>

<p><code>import file from './config/data.json';
 console.log(file);
</code>. </p>

<p>But is there an easy way to write or edit on it. </p>