Author
Released
9/26/2018- 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
- Adapters
- Custom serializers and deserializers
- Demo: Using JSON-B in a web application
Skill Level Intermediate
Duration
Views
- [Ketkee] Hi, my name is Ketkee and I have been doing Java and Java Enterprise development for the last 11 years, and I'm going to take you through the JSON Binding API course. Today, JavaScript Object Notation has become the dominant format for data exchange, works across all platforms, all languages. Previously, XML was the preferred format. But today, it is JSON all over the place. Now when it comes to Java, there are many third party libraries that work very well when trying to deal with JSON, but you would have to indicate them in your application.
But what if you get an API which comes bundled with the Enterprise Edition platform as a standard and offers you all the features that the third parties do, out of the box? Yes, that's possible, in this course we are going to talk about why do you need JSON-B, what are the features that it provides you, and then how do you plug it in in your application? We will see the default settings, the customize settings that it provides you. And at the end of the course, we will a small JAX-RS, which is a RESTful service application, and understand how JSON Binding can be used along with it.
So let's get started.
Related Courses
-
Java EE: RESTful Service with JAX-RS 2.0
with Alex Theedom2h 17m Intermediate -
JSON Processing with Java EE
with Alex Theedom1h 4m Intermediate -
Java EE: Servlets and JavaServer Pages (JSP)
with Ketkee Aryamane6h 14m Intermediate -
Java EE: Bean Validation
with Alex Theedom2h 20m Advanced
-
Introduction
-
Map Java objects to JSON1m 14s
-
-
1. Overview and Setup
-
JSON and its significance4m 14s
-
JSON structure: JSON types8m 51s
-
JSON vs. XML6m 6s
-
JSON-B API overview5m 50s
-
Application setup3m 54s
-
-
2. JSON Binding API: Default Mapping
-
General default settings9m 9s
-
Define beans8m 24s
-
Define data1m 30s
-
Testing with JSON-B8m 12s
-
Default mapping types8m 38s
-
Data types supported1m 11s
-
3. JSON Binding API: Customized Mapping, Part 1
-
Customize mapping2m 14s
-
Formatting output5m 21s
-
PropertyNamingStrategy5m 36s
-
-
4. JSON Binding API: Customized Mapping, Part 2
-
Handling null serializations6m 36s
-
Custom constructors11m 6s
-
Test custom constructors2m 23s
-
Binary data strategies4m 10s
-
iJSON support6m 57s
-
-
5. Adapters and Serializers
-
adaptToJson6m 11s
-
adaptFromJson8m 2s
-
Testing3m 27s
-
6. JSON-B in a Web Application
-
Build RESTful methods4m 55s
-
Generate data and test5m 28s
-
Add more RESTful methods4m 6s
-
Test all RESTful methods4m 6s
-
Conclusion
-
Next steps45s
-
- 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.
CancelTake 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.
Share this video
Embed this video
Video: Map Java objects to JSON