Serialization in Java: Using JSON Simple for Serialization & Parsing

Java    |    Beginner
  • 11 videos | 1h 16m 52s
  • Includes Assessment
  • Earns a Badge
Rating 3.9 of 18 users Rating 3.9 of 18 users (18)
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

  • 2m 11s
  • 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 on some of our courses, which can be shared on any social network or business platform.

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE

Rating 4.7 of 100 users Rating 4.7 of 100 users (100)
Rating 4.5 of 526 users Rating 4.5 of 526 users (526)
Rating 4.6 of 25 users Rating 4.6 of 25 users (25)

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.2 of 17 users Rating 4.2 of 17 users (17)
Rating 3.7 of 12 users Rating 3.7 of 12 users (12)
Rating 4.4 of 38 users Rating 4.4 of 38 users (38)