it can go in your plugin wherever you need it to go. You will need to adjust the path you want to save to based on how you set it up. You also need to make sure the folder where you want to save the json files exists on the server, ACF will not create the folder if it does not already exist and this will cause it to not save it at all.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users