[K4] Projektdatei-Format (Parser, Migration, Serialisierung) in Rust (project_format.rs); projectFormat.ts nur noch Fassade

This commit is contained in:
karim committed 2026-10-28 02:27:03 +01:00
1 parent 96a5c219ec
commit e02c01d3a5
9 files changed
+317 -120

No files matched your search

+5
View File
@@ -107,6 +107,11 @@ impl Document {
}
}
/// Datei-Text des Projekts (`serializeProject`): Formatversion vorn, Einrückung 2.
pub fn serialize(&self) -> String {
crate::project_format::serialize_project(&self.root)
}
pub fn to_json(&self) -> String {
serde_json::to_string(&self.root).unwrap_or_default()
}