Skip to content

fontlab_glyport.glyphsapp.defaults.JsonFileStore

JsonFileStore

Persisted defaults: one JSON object in a file the integrator chooses.

Values are JSON (str, int, float, bool, None, lists, str-keyed dicts); tuples are stored as lists and other values raise TypeError before anything is written. Each write replaces the file atomically. A missing file reads as empty and is created on the first write; an unreadable or non-object file raises ValueError.

Source bases

  • MutableMapping[str, Any] (not resolved from selected source)

Complete member index

Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.

Member Kind Signature Summary
__delitem__ function (self, key: str) -> None
__getitem__ function (self, key: str) -> Any
__init__ function (self, path: str | os.PathLike) -> None
__iter__ function (self) -> Iterator[str]
__len__ function (self) -> int
__setitem__ function (self, key: str, value: Any) -> None