Source Json

class dffml.source.json.JSONSource(config)[source]

JSONSource reads and write from a JSON file on open / close. Otherwise stored in memory.

CONFIG

alias of JSONSourceConfig

class dffml.source.json.JSONSourceConfig(filename: str, tag: str = 'untagged', readwrite: bool = False, allowempty: bool = False)[source]
class dffml.source.json.OpenJSONFile(data: Dict[str, Dict], active: int, lock: asyncio.locks.Lock)[source]