Replies: 3 comments
-
Hello @aaubry / @EdwardCooke In the previous code snippet example,
Would become:
|
Beta Was this translation helpful? Give feedback.
-
I wonder why that isn’t already a public class. I’ll take a look at it and see about making it public. There may be some underlying reasons it’s not. |
Beta Was this translation helpful? Give feedback.
-
Thank you very much for replying, will keep a close eye on any updates! |
Beta Was this translation helpful? Give feedback.
-
I am currently using C# on Visual Studio 2022 and have been parsing some YAML files and would like to know how do you create merge keys and alias' nodes. For example, I have constructed a YamlStream that contain the following information:
If I were to output this stream to the console or a file, it will look like the following:
Description: Developer
Level: 6
Location: In the Office
Description: Specialist
Level: 9
Location: In the Lab
Description: Group Leader
Level: 10
Location: In the Conference Room
EmployeeInfo:
first name: dwayne
last name: johnson
skills:
CurrentPosition: unreal
However, I would like to append the first job description to the bottom of the CurrentPosition Node using merge key/alias, like so:
Description: Developer
Level: 6
Location: In the Office
Description: Specialist
Level: 9
Location: In the Lab
Description: Group Leader
Level: 10
Location: In the Conference Room
EmployeeInfo:
first name: dwayne
last name: johnson
skills:
CurrentPosition: unreal
<<: *DEVELOPER
Is there a way to do this?
Beta Was this translation helpful? Give feedback.
All reactions