Direct question: What is the best way to save a JSON file locally and how to do it?
Details: I have a web application that receives user data using the Facebook API (Javascript SDK), I need to save this data to a JSON file locally. After saving, I move to the application written in C language that will open and interpret this JSON so that the data is saved in a database (SQLite3).