Frage im Vorstellungsgespräch bei Juniper Networks

Q:Explain how will you parse API JSON response which has variable fields and store it in CSV format?