how to read json file in javascript react native code example Example: import json file in react native const customData = require('./customData.json');