aboutsummaryrefslogtreecommitdiff
path: root/docs/user_guide/timestamped_data/saving_and_loading.md
blob: d3f2b9c951166452bfca011d24afe0f8b1aa42e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Saving and loading
==================

[TimeStampedBuffer](/argaze/#argaze.DataStructures.TimeStampedBuffer) instance can be saved as and loaded from JSON file format.

```python

# Save
ts_data.to_json('./data.json')

# Load
ts_data = DataStructures.TimeStampedBuffer.from_json('./data.json')

```