We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
JsonPropertyName attribute can be used with basic Table but with Array of Tables the following errors occur
public void Test1() { const string toml = """ [[myTables]] myKey = 1 myValue = "val" """; var model = Toml.ToModel<MyDto>(toml); } public class MyDto { [JsonPropertyName("myTables")] public ICollection<MyTable> MyTables { get; set; } = []; } public class MyTable { [JsonPropertyName("myKey")] public string MyKey { get; set; } [JsonPropertyName("myValue")] public string MyValue { get; set; } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
JsonPropertyName attribute can be used with basic Table but with Array of Tables the following errors occur
The text was updated successfully, but these errors were encountered: