writeFile ('myjsonfile.json', json, 'utf8', callback);. If you want to append it, read the JSON file and convert it back to an object fs.
確定! 回上一頁