Quiz 2 Question 12 of 20

A developer models a switch interface with YANG where config holds a container interfaces, a list interface keyed by name, and leaf enabled. The REST payload must mirror that hierarchy exactly. Which JSON instance correctly maps the YANG leaf, container and list to JSON structure?

Select an answer to reveal the explanation.

Motivation