Serialization in Java: Using JSON in Java for Serialization & Parsing

Java SE 15
  • 12 Videos | 1h 17m 52s
  • Includes Assessment
  • Earns a Badge
The JavaScript Object Notation (JSON) format is a widely used data format for serializing the internal state of objects to a structured and human-readable format. Take this course to explore the org.json library, which offers powerful features and constructs for the serialization of Java objects to the JSON format and parsing JSON files and structures. Investigate how JSON in the Java library offers more powerful functionality to work with JSON as compared to the JSON Simple library. You'll also explore the use of different methods to create JSON arrays, discover the nuances of working with each of these methods and how they differ from each other. You will have the skills and the ability to use the powerful features of JSON in the Java library to perform JSON serialization and parsing after finishing this course.

WHAT YOU WILL LEARN

  • discover the key concepts covered in this course
    use the org.json library for JSON parsing
    read and write JSON data using org.json
    import and export JSON arrays using org.json
    use the put(), accumulate(), and append() methods to work with arrays
    tokenize strings using the string tokener
  • serialize custom classes to the JSON format with org.json
    serialize classes with nested objects with org.json
    use the @JSONPropertyName and @JSONPropertyIgnore annotations
    parse comma-delimited strings using the CDL class
    parse comma-delimited files and records using CDL
    summarize the key concepts covered in this course

IN THIS COURSE

  • Playable
    1. 
    Course Overview
    2m 18s
    UP NEXT
  • Playable
    2. 
    Serializing a JSON Object
    7m 22s
  • Locked
    3. 
    Reading and Writing JSON Objects
    11m 8s
  • Locked
    4. 
    Reading and Writing JSON Arrays
    6m 55s
  • Locked
    5. 
    Inserting Arrays into JSON Structures
    8m 1s
  • Locked
    6. 
    Tokenizing Strings
    4m 36s
  • Locked
    7. 
    Serializing Custom Classes to JSON
    8m 23s
  • Locked
    8. 
    Working with Nested Object Arrays
    7m 29s
  • Locked
    9. 
    Using @JSONPropertyName and @JSONPropertyIgnore
    5m 14s
  • Locked
    10. 
    Using the CDL Class to Parse Comma-delimited Values
    8m 39s
  • Locked
    11. 
    Parsing CSV Files and Converting to JSON Format
    5m 53s
  • Locked
    12. 
    Course Summary
    1m 54s

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.