diff --git a/doc/output.rst b/doc/output.rst
index 9885e73d6a44f656d057a2a8e860f8f032680fcf..0984db50c1a4a30b77d5e88830c3dfcae08534c0 100644
--- a/doc/output.rst
+++ b/doc/output.rst
@@ -9,6 +9,12 @@ The JSON string can be accessed via the ``to_json()``-Method on the serializer o
     serializer.to_json()
     serializer.write_json_file("test_plot.json")
 
+Writing to paths is also supported, with directories being created if they do not exist.
+
+.. code-block:: python
+
+    serializer.write_json_file("some_dir/test_plot.json")
+
 Serializing to RO-Crate
 -----------------------
 PloSe allows you to store your plot as an `RO-Crate <https://www.researchobject.org/ro-crate/>`_.