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