A concrete Observable map for JSON data.

Hierarchy (View Summary)

Constructors

Accessors

Methods

  • Remove a key from the map

    Parameters

    • key: string

      the key to remove.

    Returns undefined | ReadonlyPartialJSONValue

    the value of the given key, or undefined if that does not exist.

    This is a no-op if the value does not change.

  • Set a key-value pair in the map

    Parameters

    • key: string

      The key to set.

    • value: ReadonlyPartialJSONValue

      The value for the key.

    Returns undefined | ReadonlyPartialJSONValue

    the old value for the key, or undefined if that did not exist.

    if the new value is undefined.

    This is a no-op if the value does not change.