e Mojo::Base -base, -signatures;
use Mojo::JSON qw {decode_json from_json};
use Mojo::File;
# NAME
# ====
#
# Daje::Workflow::Loader::Load - Loads the JSON based workflows and put them in a hash
#
#
>load();
#
# DESCRIPTION
# ===========
#
# Daje::Workflow::Loader::Load is loading workflows from JSON files in a set folder
#
# LICENSE
# =======
#
# Copyright (C) janeskil1525.
#
# This library is f
>basename(), '.json'));
if($tag ne "database") {
$workflow->{$tag} = from_json($path->slurp())->{workflow};
} else {
$workflow->{$tag} = from_json($path->slurp(