Join Ketkee Aryamane for an in-depth discussion in this video Problem deserializing inheritance hierarchy, part of Java EE 8: JSON-B.
- [Instructor] Now let us understand what we are going to do…as a part of the custom serializers and deserializers…demonstration that we have.…Let's understand this thing.…So far, whenever we had a network of objects…we had the order, order details…address, customer, and product.…All of them tied together as references in each other.…Okay?…Now what we want to do is…we're going to create an inheritance hierarchy.…So the use case here is that there is a professor…and there's a software developer, okay?…Both of them want to meet for a conference.…
So I am going to create an inheritance hierarchy.…The abstract class at the top will be a person class, okay?…And down there I'll have two other classes.…So I will have the software developer…and I'll have the professor.…So let's create that hierarchy first…and then we'll talk about it.…So I'm going to create a class called person…and I'm going to keep this as an abstract class, all right?…And let's come inside and define and few fields for it.…So I'll say private string name…
- JSON and JSON-B API basics
- Default mapping
- Defining beans and data
- Customized mapping
- Customizing the order of serialized properties
- Customizing constructors
- Working with binary data
- Custom serializers and deserializers
- Demo: Using JSON-B in a web application
Skill Level Intermediate
Java EE: Servlets and JavaServer Pages (JSP)with Ketkee Aryamane6h 14m Intermediate
Map Java objects to JSON1m 14s
1. Overview and Setup
2. JSON Binding API: Default Mapping
3. JSON Binding API: Customized Mapping, Part 1
4. JSON Binding API: Customized Mapping, Part 2
5. Adapters and Serializers
6. JSON-B in a Web Application
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.