JSON data format
This page is a work in progress.
Documentation for the JSON fields will be added to the portlet. Â For now, note the following:
- For date/times represented in the JSON data the "time" field is the only one that is deserialized. The other fields are ignored and are present because of backwards compatibility with an old JSON serialization library used in the past. Â Time is milliseconds since epoch, so for sites such as http://www.epochconverter.com/ that display an epoch time as seconds since epoch, add 3 0s to the end of your time to get a time value that works with the notification portlet.
- Also note the DemoNotificationService has a date adjustment feature to keep the dates relevant so the dates you see in the demo JSON do not represent current dates. They provide a fixed date that DemoNotificationService can provide an offset to.