Serializes and writes an object or value to a JSON file in OPFS. Note: Stored as plaintext readable by same-origin scripts. Direct callers requiring encrypted-at-rest storage must use getFileStore.
getFileStore
Virtual path relative to OPFS root
Object or value to serialize
Serializes and writes an object or value to a JSON file in OPFS. Note: Stored as plaintext readable by same-origin scripts. Direct callers requiring encrypted-at-rest storage must use
getFileStore.