Java EE 8: JSON-B
Offered By: LinkedIn Learning
Course Description
Overview
Learn how to use JSON data in your Java applications. Find out how to convert Java objects to and from JSON using the JSON-B API built into Java EE.
Syllabus
Introduction
- Map Java objects to JSON
- What you should know
- JSON and its significance
- JSON structure: JSON types
- JSON vs. XML
- JSON-B API overview
- Application setup
- Default mapping APIs: single bean
- General default settings
- Visibility settings: Fields with getters and setters
- Visibility settings: Final, static, and transient fields
- Define beans
- Define data
- Testing with JSON-B
- Default mapping types
- Data types supported
- Customize mapping
- Formatting output
- Changing bean attribute names: JsonbProperty
- PropertyNamingStrategy
- Customize order of serialized properties
- JsonbTransient, transient modifier
- Custom PropertyVisibility Strategy
- Handling null serializations
- Custom constructors
- Test custom constructors
- Applying date/number formats to attributes
- Binary data strategies
- iJSON support
- Need for JSON-B adapters
- adaptToJson
- adaptFromJson
- Custom serializers and deserializers
- Problem deserializing inheritance hierarchy
- Implementing serializer interface
- Implementing deserializer interface
- Testing
- Setup for a JAX-RS application
- Build RESTful methods
- Generate data and test
- Add more RESTful methods
- Test all RESTful methods
- Next steps
Taught by
Ketkee Aryamane
Related Courses
API Testing Using Rest Assured Test Automation ToolCoursera Project Network via Coursera Beginners Overview of Swagger Editor
Coursera Project Network via Coursera Building a REST API with Python and Flask
Coursera Project Network via Coursera Learn Node.js
Codecademy Python معالجة مسبقة للبيانات و تحليلها بواسطة
Coursera Project Network via Coursera