Skip to main content

Merge To Local Storage

info

Please note that this content is under development and is not ready for implementation. This status message will be updated as content development progresses.

Description

The mergeToLocalStorage service is responsible for merging data into the browser's local storage. It takes a specific storage key and an object key path to identify where and how the data should be stored or updated in the local storage.

Diagram

Example

{
"name": "mergeToLocalStorage",
"parameters": [
{
"storageKey": "topLineSteel_dpps",
"objectKeyPath": "/vc/credentialSubject/productIdentifier/0/identifierValue"
}
]
}

Definitions

PropertyRequiredDescriptionType
storageKeyYesThe key used to access the specific data in local storageString
objectKeyPathYesJSON path to the unique identifier within the object to be storedString