Never confuse education with intelligence, you can have a PhD and still be an idiot.
- Richard Feynman -



File:Org.json - creating.pdf

From Juneday education
Jump to: navigation, search
Org.json_-_creating.pdf(file size: 156 KB, MIME type: application/pdf)

The example comes from the assignment in the Yrgo course Systemintegration 2018

The goal is to create a JSON file from a List<Schedule>.

An array of "schedules" - a Schedule is an assignment to a substitute teacher and has:

  • a date (string)
  • a substitute (JSON object)
    • a substitute JSON object has
      • a name (string)
  • a school (JSON object)
    • a school has:
      • a school_name (string)
      • an address (string)

The whole schedule is a JSON Array of JSON Objects described above

The domain classes in Java are:

  • Schedule
    • date : String
    • substitute : Substitute (the teacher)
    • school : School
  • Substitute (the substitute teacher)
    • name : String
  • School
    • name : String
    • address : String

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeDimensionsUserComment
current21:50, 6 January 2018 (156 KB)Rikard (Talk | contribs)The example comes from the assignment in the Yrgo course Systemintegration 2018 The goal is to create a JSON file from a List<Schedule>. An array of "schedules" - a Schedule is an assignment to a substitute teacher and has: * a date (string) * a subs...
  • You cannot overwrite this file.