Serialization in Java: Using JSON Simple for Serialization & Parsing
Java SE 15
| Beginner
- 11 Videos | 1h 16m 52s
- Includes Assessment
- Earns a Badge
When building applications, there is often the need to represent objects using a wire protocol that is both structured and human-readable. The JavaScript Object Notation (JSON) format is a popular and widely used data format for this very purpose. Use this course to get familiar with how JSON format is used to represent data. Examine how simple primitives, entities, and arrays are represented in JSON and the use of JSON Simple library to create JSON objects. You'll also learn more about the SAX-based interface, the JSON Simple library, and the JSONAware and JSONStreamAware interfaces. After completing this course, you will have the knowledge to work with JSON data, serialize structures to the JSON format, and parse JSON data to get Java objects.
WHAT YOU WILL LEARN
-
discover the key concepts covered in this courserecall how the JSON format structures primitives, entities, and arraysset up an Apache Maven project and specify dependenciesuse JSON-simple to read in and write out JSON datause JSON-simple to read in and write out JSON arraysuse JSON-simple to read in and write out complex JSON structures
-
explore exceptions that arise when parsing JSON dataparse JSON data using the SAX interfaceencode JSON data using strings and streamsserialize custom classes to the JSON formatsummarize the key concepts covered in this course
IN THIS COURSE
-
1.Course Overview2m 11sUP NEXT
-
2.Understanding the JSON Structure11m 38s
-
3.Setting up an Apache Maven Project6m
-
4.Writing and Reading JSON Objects7m 58s
-
5.Writing and Reading JSON Arrays10m 58s
-
6.Writing and Reading Complex JSON Structures7m 26s
-
7.Parsing Exceptions in JSON2m 45s
-
8.Parsing JSON Using the SAX Interface9m 51s
-
9.String Encoding and Stream Encoding8m 6s
-
10.Implementing JSONAware and JSONStreamAware8m 9s
-
11.Course Summary1m 50s
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion of this course, which can be shared on any social network or business platform
Digital badges are yours to keep, forever.