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

[TimeStampedBuffer](../../argaze.md/#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')

```