Morning StackOverflow,
I have a bit of a interesting question today, I was intrigued to know what would be the best way going about converting a decimal separated string into a multi-dimension hash.
For example:
Let say I have the string some.settings.woo = bla
I am looking to get a outcome something like this
{
"some": {
"settings": {
"woo": "bla"
}
}
}
But I'm not quite to sure how to go about it effectively
Thanks, Liam