Filesystem syntax

i need some help with setting up a save file for my game it should be a json but how to i setup the filesystem to store my json in a specific folder on the users pc…btw the game willl be a standalone and with that a programm on the users pc all help is appreciated! ^^

Take a look here Variables in text file - #10 by UlisesFreitas