Serializes and writes data to a JSON file in the server storage.
Relative path inside the sandboxed root
Data object or value to write
Optional
Optional root directory override
Serializes and writes data to a JSON file in the server storage.