Replies: 1 comment
-
If I understand your question correctly, no, there is not a way of doing that natively within yamldotnet. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am using one object model
public class MainModel
{
public FirstChildModel firstChild { get; set; }
public SecondChildModel secondChild { get; set; }
}
public class FirstChildModel
{
public string firstProp { get; set; }
public string secondProp { get; set; }
}
public class SecondChildModel
{
public string name { get; set; }
public bool isValid { get; set; }
}
and I am getting it's respective yaml as
![image](https://user-images.githubusercontent.com/52662888/171336645-e01655c1-fe9b-434f-a7ca-cbd3b141ed90.png)
But is there any way so that i can hide specific root property and show it's respective children properties like
Beta Was this translation helpful? Give feedback.
All reactions