Closed HugoGranstrom closed 1 year ago
Looks great, thanks! And loadTomlSection will be used by nimibook (see https://github.com/pietroppeter/nimibook/blob/main/src/nimibook/configs.nim, I will make the changes).
It is all here right? Does this work with devel now? We can merge this and then rebase the CI Pr on the new master, correct?
I found one bug that the stdlib doesn't like missing fields, so I opted for using jsony instead for the deserialization. But now it should be ready to go if the CI is green. I have tried it locally with devel and the configuration is loaded without any error. So we can merge this and see if the CI PR works with it :)
good yeah, I imagined jsony would be a better fit being a loose parser. looks good, merging and rebasing CI since I am curious to see it green (then I will also add a changelog for this)
customToJson
proc to get the correct JSON forstd / json
to be able to parse it correctly into aNbConfig
.