5910 Breckenridge Pkwy Suite B, Tampa, FL. 33610
(800) 272-0707

SkillSoft Explore Course

Aspire     Java Novice to Javanista     Java Novice to Javanista Track 3: Javanista
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.

Objectives

Serialization in Java: Using JSON Simple for Serialization & Parsing

  • 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