Question: Write a java program to parse a jsonfile and convert the json contents into two java classes one called person the other called awards using

Write a java program to parse a jsonfile and convert the json contents into two java classes one called person the other called awards using the Jackson databind library. Specifically you MUST use the objectMapper and annotations to accomplish this task. The json file are listed below and CAN NOT be modified by the program.

--------------------------------JSON below----------------------------

{

"awards": [

{

"name": "Richard A. Tapia Achievement Award for Scientific Scholarship, Civic Science, and Diversifying Computing",

"year": 2005

},

{

"name": "Hewlett-Packard Harriet B. Rigas Education Award",

"year": 2001

},

{

"name": "A. Nico Habermann Award",

"year": 2002

},

{

"name": "Sigma Xi Distinguished Lecturer",

"year": 2005

}

],

"knownFor": [

"High performance computing",

"Director of the Mathematics and Computer Science Division of Argonne National Laboratory",

"CEO & President of the Center for Minorities and People with Disabilities in IT (CMD-IT)"

],

"name": "Valerie Taylor"

}

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!