...
- 1 with 2 list items that have level = 1,
- 1 with 4 list items each with level = 2,
- 3, each with a single list items item having level = 3.
If each instance of the NestedList class is represented as a table of list items, the YAML this example could be represented as:
...