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

Java    |    Beginner
  • 12 videos | 1h 17m 52s
  • Includes Assessment
  • Earns a Badge
Rating 4.4 of 17 users Rating 4.4 of 17 users (17)
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

  • 2m 18s
  • 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 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.6 of 25 users Rating 4.6 of 25 users (25)
Rating 4.7 of 84 users Rating 4.7 of 84 users (84)

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.5 of 70 users Rating 4.5 of 70 users (70)
Rating 3.9 of 18 users Rating 3.9 of 18 users (18)
Rating 4.0 of 14 users Rating 4.0 of 14 users (14)