From 12b1672e58995b3b26a5eab71290b48943883451 Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Mon, 26 Apr 2021 08:24:36 +0000 Subject: [PATCH] fix(core): update --- ts/smartfile.classes.smartfile.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ts/smartfile.classes.smartfile.ts b/ts/smartfile.classes.smartfile.ts index d0e27d7..f32396a 100644 --- a/ts/smartfile.classes.smartfile.ts +++ b/ts/smartfile.classes.smartfile.ts @@ -53,6 +53,10 @@ export class Smartfile extends plugins.smartjson.Smartjson { return smartfile; } + public static async fromFoldedJson(foldedJsonArg: string) { + return new Smartfile(plugins.smartjson.parse(foldedJsonArg)); + } + // ======== // INSTANCE // ========