Yaml - Sequence

Yaml Representation


A sequence in Yaml


- Mark McGwire
- Sammy Sosa
- Ken Griffey
[Mark McGwire, Sammy Sosa, Ken Griffey]


- Mark McGwire
- Sammy Sosa
- Ken Griffey
  - Boston Red Sox
  - Detroit Tigers
  - New York Yankees
  - New York Mets
  - Chicago Cubs
  - Atlanta Braves
- [name        , hr, avg  ]
- [Mark McGwire, 65, 0.278]
- [Sammy Sosa  , 63, 0.288]
  name: Mark McGwire
  hr:   65
  avg:  0.278
  name: Sammy Sosa
  hr:   63
  avg:  0.288

Discover More
Yaml Representation
How to read a Yaml File and write it in indentation or Json format with SnakeYaml ?

SnakeYaml is a java library that manages yaml document. Object to read or write must be: * a java bean (ie getter and setter + public properties) * a LinkedList * a HashMap Log file: With...
Yaml Representation
YAML Ain’t Markup Language (YAML)

YAML minimizes the amount of structural characters in order to view and understand more easily the data. For example: indentation may be used for structure, colons separate key: value pairs, ...

Share this page:
Follow us:
Task Runner