## odcs.write()


Write `export(node, **kwargs)` to `path`: JSON for a `.json` file,


Usage

``` python
odcs.write(
    node,
    path,
    **kwargs,
)
```


YAML otherwise (which needs PyYAML: `pip install sverify[odcs]`).


## Parameters


`node: Node`  
The node, as for [export](odcs.export.md#sverify.odcs.export).

`path: str | Path`  
The file to write.

`**kwargs: Any`  
[export](odcs.export.md#sverify.odcs.export)'s keyword arguments.


## Returns


`dict[str, Any]`  
The document written.
