Class SessionExporter
Exports and imports sessions as human-readable JSON files.
public static class SessionExporter
- Inheritance
-
SessionExporter
- Inherited Members
Methods
ExportAsync(SessionInfo, string?)
Export a session to a JSON file under ~/.jdai/projects/{hash}/sessions/{id}.json.
public static Task ExportAsync(SessionInfo session, string? basePath = null)
Parameters
sessionSessionInfobasePathstring
Returns
ImportAsync(string)
Import a session from a JSON file.
public static Task<SessionInfo?> ImportAsync(string path)
Parameters
pathstring
Returns
ListExportedFiles(string, string?)
List exported JSON sessions for a project.
public static IEnumerable<string> ListExportedFiles(string projectHash, string? basePath = null)