O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

JSON with Java EE 8: Hands-on Training

Video Description

Use JSON to build portable applications based on Java standards.

About This Video

  • Quick and effective guide to use JSON Processing and JSON Binding API in Java EE and Java SE applications
  • Applications covers full JSON-P 1.1 and JSON-B 1.0 functionality
  • Based on common use cases users facing when they develop applications using JSON

In Detail

JSON (JavaScript Object Notation) is very simple data representation format. It’s easy to read by humans, easy to parse by computers. JSON is language independent and supported by most of the modern programming languages. All of these make it one of the most popular data exchange formats.Java EE 8 fully supports JSON. It includes JSON Processing and JSON Binding APIs. These APIs were designed as part of Java Community Process by a group of experts in this area.

This course is dedicated to JSON-P 1.1, JSON-B 1.0 and Yasson 1.0. You will learn how to use these APIs to build portable applications based on Java standards. We will start with simple use cases and step by step, increasing complicity, go to advanced features.

By the end of this course, you will become familiar with JSON Processing API and JSON Binding API. You will be able to create, parse and transform JSON documents, use JSON Pointer, JSON Patch as well as JSON-B adapters and serializers and other features.

All the code and supporting files for this course are available on Github at https://github.com/PacktPublishing/JSON-with-Java-EE-8-Hands-on-Training

Table of Contents

  1. Chapter 1 : JSON Support in Java EE
    1. The Course Overview 00:03:29
    2. Introduction to JSON 00:09:21
    3. Overview of JSON APIs Included in Java EE 8 00:09:34
  2. Chapter 2 : Basic JSON Processing Features
    1. JSONP General Information – Web Sites, Repositories, Issues Trackers 00:06:10
    2. Tools and Sample Project Setup 00:03:51
    3. Using JSON Parser 00:12:53
    4. Using JSON Generator 00:06:50
    5. Using Object Model API 00:20:29
  3. Chapter 3 : JSONP 1.1 New Features
    1. New Features of JSONP 1.1 00:02:47
    2. Using JSON Pointer 00:13:06
    3. Using JSON Patch 00:07:20
    4. Using JSON Merge Patch 00:06:53
    5. Using Java 8 Stream API 00:16:35
    6. Processing Big JSON Documents 00:07:44
  4. Chapter 4 : Integration with JAX-RS
    1. Sample Project Setup 00:05:55
    2. JSONP Integration with JAX-RS 00:13:42
  5. Chapter 5 : JSON Binding and Yasson
    1. JSON-B Overview 00:09:36
    2. Tools and Sample Project Setup 00:05:19
  6. Chapter 6 : JSON-B Default Mapping
    1. Default Mapping Overview 00:04:30
    2. Mapping of Basic and JDK Specific Types 00:09:30
    3. Mapping of Collections and Enums 00:08:24
    4. Mapping of Dates 00:06:50
    5. Mapping of Classes and Fields 00:09:11
    6. Fields Visibility Policy 00:09:11
    7. Mapping of JSONP Types 00:05:36
    8. Mapping of Generic Types 00:07:26
  7. Chapter 7 : JSON-B Customized Mapping
    1. How to Customize Your Mappings 00:08:37
    2. Changing Property Names and Using Naming Strategies 00:13:16
    3. Property Order and Property Order Strategies 00:04:58
    4. Nillable Customization 00:04:46
    5. Ignoring Properties 00:07:53
    6. Custom Instantiation 00:05:07
    7. Date/Time and Number Format Customizations 00:06:50
    8. Strict I-JSON Compliance 00:04:55
    9. Binary Data Strategies 00:04:56
    10. Adapters 00:09:10
    11. Serializers and Deserializers 00:19:09
  8. Chapter 8 : JSON-B Integration with JAX-RS
    1. Sample Project Setup 00:05:13
    2. Build Sample Project and Demonstrate Basic Features 00:13:42