def saveDataFromRequest(self, req_body): request_objs = req_body.splitlines() students = json.loads(request_objs[0]) activities = json.loads(request_objs[1]) comments = json.loads(request_objs[2]) Student.get_from_json(students) Comment.get_from_json(comments) Activity.get_from_json(activities)