QuestionQ21

VerifiedData Serialization

Which code block demonstrates valid YAML syntax?

Explanation

A YAML sequence can be written in flow style with square brackets, with elements separated by commas. This form assigns Switches a list containing the two distinct string values s1 and s2.

Community Discussion

No comments yet. Be the first to start the discussion!