JSON with Java EE 8: Hands-on Training, published by Packt This is the code repository for JSON with Java EE 8: Hands-on Training [Video], published by Packt. It contains all the supporting project files necessary to work through the video course from start to finish.
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
- Effectively parse JSON streams
- Write JSON data to streams
- Use JSON model API to create and transform JSON documents
- Create JSON patches and use them to make batch modifications in JSON documents
- Study Jason Merge Patch as another option of modifying JSON documents
- Configure your project to use JSON Binding and Yasson
- Use default mapping for serializing/deserializing a simple Java class
- Understand what date formats are used by default
- Use annotations to customize your mapping
- Use JSON-B adapters
- Use JSON-B serializers and deserializers
To fully benefit from the coverage included in this course, you will need:
This course is for anyone interested in JSON support in Java EE 8, such as students and professionals looking for an introduction to the JSON Processing API and the JSON Binding API. This course requires a basic knowledge of Java.