hpcflow.sdk.monitoring.registry.atomic_json#

hpcflow.sdk.monitoring.registry.atomic_json(path, value)#

Write JSON through a temporary sibling and atomically replace the destination.

Create the parent directory if needed, flush file data before replacement, and remove the temporary file on failure. Callers provide any required locking.

Parameters:
Return type:

None