readFileSync () method, you need to parse the JSON data using the JSON.parse() method. Using the require method, you can read your JSON file in one line of code ...
確定! 回上一頁