I have a dataset in a json file that I need to update. The data is collected from an excel add-in therefore I need to create an excel table of a certain shape to much my current json file. How should I make my table to get the bellow json file after converting my excel file to json?
The json file:
{"AAL": {"year": [2012, 2013, 2014, 2015],
"eps": [-5.6, -11.25, 4.02, 11.39],
"revenue": [24855.0, 26743.0, 42650.0, 40990.0],
"op_revenue": [148.0, 1399.0, 4249.0, 6204.0]},
"AAP": {"year": [2012, 2013, 2014, 2015],
"eps": [5.29, 5.36, 6.75, 6.45],
"revenue": [6205.003000000001, 6493.814, 9843.860999999999, 9737.018],
"op_revenue": [657.315, 660.318, 851.71, 825.78]},
"AAPL": {"year": [2013, 2014, 2015, 2016],
"eps": [40.03, 6.49, 9.28, 8.35],
"revenue": [171000.0, 183000.0, 234000.0, 216000.0],
"op_revenue": [48999.0, 52503.0, 71230.0, 60024.0]},
"ABBV": {"year": [2013, 2014, 2015], "eps": [2.58, 1.11, 3.15], "revenue": [18790.0, 19960.0, 22859.0], "op_revenue": [5664.0, 3411.0, 7537.0]}, "ABC": {"year": [2013, 2014, 2015, 2016], "eps": [1.88, 1.22, -0.62, 6.73], "revenue": [87959.16699999999, 120000.0, 136000.0, 147000.0], "op_revenue": [898.3989999999999, 782.091, 422.22, 1525.774]}}