-
+
diff --git a/loadJson.js b/loadJson.js
index 2aaa44f..1b3e2c1 100644
--- a/loadJson.js
+++ b/loadJson.js
@@ -38,4 +38,22 @@ loadJSON(
jsonObj = JSON.parse(response);
// console.log(jsonObj);
}
-);
\ No newline at end of file
+);
+
+function HKReadTextArea() {
+ let textAreaId = "save-area";
+ let contents = document.getElementById(textAreaId).value;
+
+ if(contents.length > 0) {
+ jsonObj = contents;
+
+ loadJSON(
+ function JSONparse(response) {
+ // Parse JSON string into object
+ jsonObj = JSON.parse(response);
+ HKCheckCompletion(jsonObj);
+ // console.log(jsonObj);
+ }
+ );
+ }
+}
\ No newline at end of file