Old Mission interview question

Program to parse json in a specific way in C++