Saves a value to the storage by the specified key.
The value to parse automatically serializes to a string by using Object.trySerialize
, i.e.,
arrays and dictionaries will be serialized to JSON, etc.
Notice, the method can take a list of additional parameters provided to the used storage' engine.
Returns a value from the storage by the specified key.
The returning value automatically parses by using
Object.parse
from a string to equivalent JS value, i.e.,'1'
will be parsed to1
,'true'
totrue
,'2021-07-09T08:15:57.753Z'
toDate
, etc.Notice, the method can take a list of additional parameters provided to the used storage' engine.