w::Config;
use v5.40;
use Mojo::Base -base;
# NAME
# ====
#
# Daje::Workflow::Config - Loads the JSON based configs and put them in a hash
#
# SYNOPSIS
# ========
#
# use Daje::Workflow::Config;
#
nfig->param($parameter);
#
# DESCRIPTION
# ===========
#
# Daje::Config is loading workflows from JSON files in a set folder
#
# LICENSE
# =======
#
# Copyright (C) janeskil1525.
#
# This library is f
elf->path . $filename);
my $tag = substr($path->basename(), 0, index($path->basename(), '.json'));
$self->config($config->{$tag});
} catch($e) {
$self->error($e);
};