I am trying to navigate through a json object to return 1 element at a time and iterate through. Here's the JSON.
{
"noun": {
"syn": [
"leap",
"saltation",
"startle",
"start",
"parachuting",
"jumping",
"actuation",
"descent",
"inborn reflex",
"increase",
"innate reflex",
"instinctive reflex",
"physiological reaction",
"propulsion",
"reflex",
"transition",
"unconditioned reflex"
]
},
"verb": {
"syn": [
"leap",
"bound",
"spring",
"startle",
"start",
"leap out",
"jump out",
"stand out",
"stick out",
"rise",
"climb up",
"jump off",
"derail",
"chute",
"parachute",
"jumpstart",
"jump-start",
"pass over",
"skip",
"skip over",
"alternate",
"alter",
"appear",
"assail",
"assault",
"attack",
"change",
"climb",
"dive",
"drop",
"enter",
"go",
"leave out",
"locomote",
"look",
"miss",
"mount",
"move",
"neglect",
"omit",
"overleap",
"overlook",
"participate",
"plunge",
"plunk",
"pretermit",
"seem",
"set on",
"shift",
"start up",
"switch",
"travel",
"vary",
"wax"
],
"rel": [
"leap out",
"jump on"
]
}
}
Let's say I wanted to access "leap." It's two layers in. How would I 1) return leap, and 2) iterate to the next word?