Skip to content

Is there a way to delay the unmarshaling of a specific field? #624

Answered by pelletier
samhza asked this question in Questions
Discussion options

You must be logged in to vote

That's a very interesting question! We don't have that today. I wonder how much sense it would make for TOML: a document has a different semantic meanings based on the order the elements appear in the document, and potentially may or may not be valid as a result. JSON does not have this problem.

Can you elaborate on a use-case for this?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@samhza
Comment options

Answer selected by samhza
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Issue asking for a new feature in go-toml.
2 participants