aboutsummaryrefslogtreecommitdiff
path: root/docs/user_guide/timestamped_data/saving_and_loading.md
blob: ae26052daa98bc25061487f1698660f80391a934 (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')

```