Local Storage

Have it on disk.

This component stores and distributes static information saved on the local disk in a json-file.
Values have to be serialisable, so direct refferences to Operators or similiar are not usable.

Methods:
  • Set( key, value ) : Sets the value. If it does not exist, creates it new. 
  • Delete( key) : Deletes the key from the dataset and local storage.
  • Get(key, default) : Gets the key. If it does not exist returns the default value.

Attributes:
  • Dict : A dictionary representation. Do not edit! ( Key "Foo" will be Dict["Foo"] )
  • Data : Object-Representation of the data. Do not edit. ( Key "Foo" will be Data.Foo ) 

Downloads: 30

Created at: 3.6.2021

Uploaded: 3.6.2021
Added get.
Download