bluesky_tiled_plugins.writing._json_writer#
Module Contents#
Classes#
Writer of Bluesky documents of a single run into a JSON file as an array. |
|
Writer of Bluesky documents into a JSON Lines file |
API#
- class bluesky_tiled_plugins.writing._json_writer.JSONWriter(dirname: str, filename: str | None = None)#
Writer of Bluesky documents of a single run into a JSON file as an array.
The file is created when a Start document is received, each new document is written immediately, and the JSON array is closed when the “stop” document is received.