Class JsonResourceStorage<T>

A KeyValueStorage for JSON-like objects using a ResourceStore as backend.

Creates a base URL by joining the input base URL with the container string. The storage assumes it has ownership over all entries in the target container so no other classes should access resources there to prevent issues.

Assumes the input keys can be safely used to generate identifiers, which will be appended to the stored base URL.

All non-404 errors will be re-thrown.

Type Parameters

  • T

Hierarchy (view full)

Implements

Constructors

Properties

container: string
logger: Logger = ...

Methods