pub fn write_json<T: Serialize>( path: &Path, value: &T, ) -> Result<(), PipelineError>
Write value to path as pretty JSON with a trailing newline.
value
path