Do you want BuboFlash to help you learning these things? Or do you want to add or correct something? Click here to log in or create user.

Question
In YAML, write a simple representation of an employee referenced as "kevin" (i.e. the key is "kevin"), who has these three attributes: name=kevin khosravi, job=developer, level=senior.
Answer
kevin:
name: kevin khosravi
job: developer
level: senior

^^ Note the use of the colon-space (or colon-newline) syntax to seperate the keys from the corresponding values

^^ Note the use of indentation to indicated that the "kevin" employee object/dictionary has three key/value pairs inside it (name, job, and level)

Question
In YAML, write a simple representation of an employee referenced as "kevin" (i.e. the key is "kevin"), who has these three attributes: name=kevin khosravi, job=developer, level=senior.
Answer
?

Question
In YAML, write a simple representation of an employee referenced as "kevin" (i.e. the key is "kevin"), who has these three attributes: name=kevin khosravi, job=developer, level=senior.
Answer
kevin:
name: kevin khosravi
job: developer
level: senior

^^ Note the use of the colon-space (or colon-newline) syntax to seperate the keys from the corresponding values

^^ Note the use of indentation to indicated that the "kevin" employee object/dictionary has three key/value pairs inside it (name, job, and level)

If you want to change selection, open document below and click on "Move attachment"

YAML Syntax — Ansible Documentation
me indentation level starting with a "- " (a dash and a space): --- # A list of tasty fruits fruits: - Apple - Orange - Strawberry - Mango ... A dictionary is represented in a simple key: value <span>form (the colon must be followed by a space): # An employee record martin: name: Martin D'vloper job: Developer skill: Elite More complicated data structures are possible, such as lists of d

#### Summary

status measured difficulty not learned 37% [default] 0

No repetitions

### Discussion

Do you want to join discussion? Click here to log in or create user.