Add notebook save
diff --git a/ide/Cell.cpp b/ide/Cell.cpp
index bf87abb..d00a219 100644
--- a/ide/Cell.cpp
+++ b/ide/Cell.cpp
@@ -89,3 +89,15 @@
     else
         return nullptr;
 }
+
+QJsonObject Cell::toJson() const
+{
+    QJsonObject object;
+
+    object["code"] = code();
+    object["result"] = result();
+    object["status"] = status();
+    object["resultType"] = resultType();
+
+    return object;
+}