Class DictJsonStore

A dict store that uses a pure JSON (Hayson) object to store the values.

This is designed to work as lazily and efficiently as possible.

  • Values are lazily decoded from the original JSON object.
  • The first set decodes all values and sets a flag to ensure all decoded values are used from then on.
  • The design ensures the original JSON object is used for encoding back to JSON as much as possible.

Implements

Constructors

Properties

"[DICT_STORE_SYMBOL]": symbol = DICT_STORE_SYMBOL

Indicates this is a dict store.

Methods

  • Returns true if the dict has the specified name.

    Parameters

    • name: string

      The name of the value to find.

    Returns boolean

    True if the value exists.