Serialization in Java: Using JSON Simple for Serialization & Parsing

Java SE 15
  • 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 course
    recall how the JSON format structures primitives, entities, and arrays
    set up an Apache Maven project and specify dependencies
    use JSON-simple to read in and write out JSON data
    use JSON-simple to read in and write out JSON arrays
    use JSON-simple to read in and write out complex JSON structures
  • explore exceptions that arise when parsing JSON data
    parse JSON data using the SAX interface
    encode JSON data using strings and streams
    serialize custom classes to the JSON format
    summarize the key concepts covered in this course

IN THIS COURSE

  • Playable
    1. 
    Course Overview
    2m 11s
    UP NEXT
  • Playable
    2. 
    Understanding the JSON Structure
    11m 38s
  • Locked
    3. 
    Setting up an Apache Maven Project
    6m
  • Locked
    4. 
    Writing and Reading JSON Objects
    7m 58s
  • Locked
    5. 
    Writing and Reading JSON Arrays
    10m 58s
  • Locked
    6. 
    Writing and Reading Complex JSON Structures
    7m 26s
  • Locked
    7. 
    Parsing Exceptions in JSON
    2m 45s
  • Locked
    8. 
    Parsing JSON Using the SAX Interface
    9m 51s
  • Locked
    9. 
    String Encoding and Stream Encoding
    8m 6s
  • Locked
    10. 
    Implementing JSONAware and JSONStreamAware
    8m 9s
  • Locked
    11. 
    Course Summary
    1m 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.