Filesystem and json file syntax

i already got some help on how to setup up the saving into a json file but how does the syntax for the filesystem work looks confusing and no one could explain pls help lol