aboutsummaryrefslogtreecommitdiff
path: root/docs/user_guide/timestamped_data/saving_and_loading.md
diff options
context:
space:
mode:
authorThéo de la Hogue2023-06-07 14:34:14 +0200
committerThéo de la Hogue2023-06-07 14:34:14 +0200
commitc4552e04e1271a9210a934233beae5be1943d034 (patch)
treea44041e544bc700976237bfea9058ec06f9a2904 /docs/user_guide/timestamped_data/saving_and_loading.md
parentbd9cd27c9d44c072164f564ffffeb22e37106b89 (diff)
downloadargaze-c4552e04e1271a9210a934233beae5be1943d034.zip
argaze-c4552e04e1271a9210a934233beae5be1943d034.tar.gz
argaze-c4552e04e1271a9210a934233beae5be1943d034.tar.bz2
argaze-c4552e04e1271a9210a934233beae5be1943d034.tar.xz
Writing User guide and use cases section.
Diffstat (limited to 'docs/user_guide/timestamped_data/saving_and_loading.md')
-rw-r--r--docs/user_guide/timestamped_data/saving_and_loading.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/user_guide/timestamped_data/saving_and_loading.md b/docs/user_guide/timestamped_data/saving_and_loading.md
new file mode 100644
index 0000000..d3f2b9c
--- /dev/null
+++ b/docs/user_guide/timestamped_data/saving_and_loading.md
@@ -0,0 +1,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')
+
+```