It would be nice to support slice index in .Set()
Example:
config.Set("parent.child[0]", "Test1")
config.Set("parent.child[1]", "Test2")
Currently, the result will be like:
{
"parent": {
"child[0]": "Test1",
"child[1]": "Test1"
}
}
==> Expecting result would look like:
{
"parent": {
"child": [
"Test1",
"Test2"
]
}
}
Thanks,