Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nested tables supported? #73

Closed
aggieben opened this Issue Mar 1, 2019 · 1 comment

Comments

Projects
None yet
3 participants
@aggieben
Copy link

aggieben commented Mar 1, 2019

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?

@Splamy

This comment has been minimized.

Copy link
Contributor

Splamy commented Mar 2, 2019

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

[[thing]]
  name = "channel1"

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

@paiden paiden closed this Mar 23, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.