-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[feat] TrialData toJson() & fromJson() (#23)
* [feat] toJson & fromJson TrialData * [test] toJson & fromJson Test TrialData * [fix] remove return from try catch * [fix] newline added * [fix] extra return removed * [fix] since updated * [fix] doppelte Konstruktoren gelöscht * [fix] since angepasst Co-authored-by: Joshua Jeschek <64850647+joshuajeschek@users.noreply.github.com>
- Loading branch information
1 parent
45b4302
commit 73cc8e7
Showing
6 changed files
with
224 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"toolType": "CODECHARTS", | ||
"trialId": "trialId", | ||
"configId": "configId", | ||
"startTime": 1640032273799, | ||
"answer": "answer", | ||
"data": [ | ||
{ | ||
"dataId": 0, | ||
"timeOffset": 0, | ||
"coordinates": [ 1, 2 ], | ||
"rasterSize": [ 3, 4 ], | ||
"zoomLevel": null | ||
}, | ||
{ | ||
"dataId": 1, | ||
"timeOffset": 0, | ||
"coordinates": [ 5, 6 ], | ||
"rasterSize": [ 7, 8 ], | ||
"zoomLevel": null | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"toolType": "ZOOMMAPS", | ||
"trialId": "trialId", | ||
"configId": "configId", | ||
"startTime": 1640032273564, | ||
"answer": "answer", | ||
"data": [ | ||
{ | ||
"dataId": 0, | ||
"timeOffset": 40, | ||
"zoomLevel": 3, | ||
"coordinates": [ 1, 2 ], | ||
"rasterSize": null | ||
}, | ||
{ | ||
"dataId": 1, | ||
"timeOffset": 41, | ||
"zoomLevel": 6, | ||
"coordinates": [ 4, 5 ], | ||
"rasterSize": null | ||
} | ||
] | ||
} |