Palo Alto Networks interview question

Detect loop in graph type question, flatten nested JSON, general JSON parsing, etc