This might be relevant. How to properly save player data in data stores upon server close
Also please do what @viindicater said, and no need to JSON-encode anything. This is already done for you.
This might be relevant. How to properly save player data in data stores upon server close
Also please do what @viindicater said, and no need to JSON-encode anything. This is already done for you.