paiden/Nett

Nested tables supported?

aggieben opened this issue · 1 comments

I'm trying to parse a toml string like

[[thing]]
  name = "channel1"

  [[property]]
    name = "property1"

with a model, and Nett doesn't seem to want to seem to resolve the members of the model properly or something. Here's my LinqPad script:

image

Does my test look reasonable? Is there something I'm not doing that would make this work?

Toml doesnt work by indentation, you'd have to write:

[[thing]]
  name = "channel1"

[[thing.property]]
    name = "property1"