Multi-level navigation

What is the easiest way to create a multi-level navigation system in 11ty? I am trying to modify the basic JSON navigation from the 11ty course.