> ## Documentation Index
> Fetch the complete documentation index at: https://kb.talostrading.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ParallelDataCollection.exporttojson

```python theme={null}
coinmetrics._data_collection.ParallelDataCollection.export_to_json(
    path_or_bufstr=None,
    compress=False,
)
```

* **Parameters:**
  * **path\_or\_bufstr** ([*str*](https://docs.python.org/3/library/stdtypes.html#str) *|* [*Path*](https://docs.python.org/3/library/pathlib.html#pathlib.Path) *|* [*IO*](https://docs.python.org/3/library/typing.html#typing.IO) *\[*[*str*](https://docs.python.org/3/library/stdtypes.html#str) *]*  *|* [*IO*](https://docs.python.org/3/library/typing.html#typing.IO) *\[*[*bytes*](https://docs.python.org/3/library/stdtypes.html#bytes) *]*  *|* *None*)
  * **compress** ([*bool*](https://docs.python.org/3/library/functions.html#bool))

**Returns:**

* [str](https://docs.python.org/3/library/stdtypes.html#str) | None
