Open gryumov opened 1 year ago
Could you do this by changing:
mutable struct Parser
...
root::AbstractDict
...
end
So that you could do, for instance:
parser = TOML.Parser()
parser.root = OrderedDict{String, Any}()
TOML.parse(parser, toml)
It's a bit more complicated then I suspected, but I think I got it working in the above pull request