Get looped config node value

Hi, it’s me again. I have config file - classes { adc8c325-358c-49a0-bf9d-bbb150c50efa { discordID=7058521 - and this code - public static void loadClasses() { ClassDataStorage classDataStora -
And I want to get adc8c325-358c-49a0-bf9d-bbb150c50efa from variable loopedClass.

I tried to use getString(), but it gives weird & unexpected result - {name=Example class, prefix=Test, discordID=705852112088727663, dyeColor=red, spawnLocation={w=world, x=0, y=0, z=0}, itemsDisappear=true, textColor=red}.

Anyone knows how to do it?

I believe the code your after is


That will return the name of the current node