Save a variable into a file in JSON format, asynchronously.
The variable to be saved
Path to the file
The variable where to store the result of the operation
Save a variable into a file in JSON format, asynchronously.