I'm trying to gather image sources from a JSON file but whenever I use a JSON objects source I get a module error. Is there any workaround for this?
JSON FILE:
 {
   "Image": {"source": "./SourceFolder/ImageFile.png"}
 }
JS FILE
 const file = require('./jason.json');
 var jason = JSON.stringify(file.Image);
 jason = JSON.parse(jason);
 <Image source={require(jason.source)} />
 
    