Pergunta de entrevista da empresa AT&T

get data from a JSON file and manage it according to some scenario