Skip to content

Instantly share code, notes, and snippets.

@M4R1KU
Last active May 16, 2017 20:54
Show Gist options
  • Save M4R1KU/c95cbde3776afa53682efedf696cd37a to your computer and use it in GitHub Desktop.
Save M4R1KU/c95cbde3776afa53682efedf696cd37a to your computer and use it in GitHub Desktop.
{
"id": 1,
"name": "1. Semester",
"validFrom": "2017-01-01",
"validTo": "2017-06-30",
"subjects": [
{
"id": 1,
"name": "Math",
"color": "...",
"parentMarkGroup": {
"id": 1,
"value": 5.5,
"weight": 1.0,
"marks": [
{
"id": 1,
"value": 5.0,
"weight": 2.0,
}
],
"markGroups": [
{
"id": 1,
"value": 5.5,
"weight": 1.0,
"marks": [
{
"id": 1,
"value": 5.0,
"weight: 2.0,
}
]
}
]
}
}
]
}
@needToRoll
Copy link

Line 20 add markGroupId

@needToRoll
Copy link

line 34 will contain an empty list with netsted groups

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment