From the course: Java with JSON
Unlock this course with a free trial
Join today to access over 25,300 courses taught by industry experts.
ISO 8601 - Java Tutorial
From the course: Java with JSON
ISO 8601
- [Instructor] Similar to how you may not have a choice in how fields are named, you may also not have a choice when it comes to the format of date time data. For instance, the format that a particular date time is written in can vary from application to application. One application could work with date time like this, another one like this, and another one like this. The GitHub API communicates date time like this. All of these, different as they may seem, are written using the ISO 8601 format. ISO 8601 is an internationally accepted standard for writing dates and times. JSON knows how to work with the ISO 8601 standard and we can use this standard to tell it how the date time values in our JSON should be formatted.
Contents
-
-
-
-
-
-
(Locked)
Write nested JSON4m 11s
-
(Locked)
Read nested JSON3m 42s
-
(Locked)
Test nested JSON1m 44s
-
(Locked)
Select fields to expose3m 34s
-
(Locked)
Configure serialized names3m 29s
-
(Locked)
ISO 860154s
-
(Locked)
Date and time in JSON3m 45s
-
(Locked)
Handle null values3m 20s
-
(Locked)
Solution: Customize the way JSON is written2m 53s
-
(Locked)
-