Yaml-flow-mappings
提供:Dev Guides
YAML-フローマッピング
Flow mappings in YAML represent the unordered collection of key value pairs. They are also called as mapping node. Note that keys should be maintained unique. If there is a duplication of keys in flow mapping structure, it will generate an error. The key order is generated in serialization tree.
例
フローマッピング構造の例を以下に示します-
JSON形式のマッピングされたシーケンス(順不同リスト)の出力は以下のとおりです-
上記のようにこの出力を観察すると、キー名がYAMLマッピング構造で一意に維持されていることが観察されます。