From the course: Java EE 8 Essential Training
Unlock the full course today
Join today to access over 22,700 courses taught by industry experts or purchase this course individually.
JSON Binding API - Java EE Tutorial
From the course: Java EE 8 Essential Training
JSON Binding API
- [Instructor] The Java API for JSON binding, known as JSON-B, is an API for converting Java objects to and from JSON. It helps Java developers working with JSON in their applications to be quickly able to convert back and forth from JSON to POJOs. JSON-B is a very focused, yet powerful API that simplifies working with JSON for Java EE developers. The API allows Java objects to be easily serialized into a JSON string. Additionally, the API allows JSON strings to be deserialized into a Java object. It performs these conversions by mapping JSON properties to Java fields and then converting them based upon the data type. Within the API is a set of annotations that allow developers to customize the mappings to meet the requirements. So when we think about serialization and deserialization, this is what it looks like. We have a Java object with fields on the left and a JSON object with properties on the right. You will…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.