Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Database Management

Authors: Jeff Hoffer, Ramesh Venkataraman, Heikki Topi

12th edition

133544613, 978-0133544619

More Books

Students also viewed these Databases questions