{"ScriptPreparationCode":"var MyObject = {\r\n \u0022id\u0022: null,\r\n \u0022type\u0022: \u0022shift\u0022,\r\n \u0022attributes\u0022: {\r\n \u0022startsAt\u0022: \u00222023-09-22T08:00:00.000Z\u0022,\r\n \u0022endsAt\u0022: \u00222023-09-22T22:00:00.000Z\u0022,\r\n \u0022durationInSeconds\u0022: 24480,\r\n \u0022shopId\u0022: 20,\r\n \u0022note\u0022: null,\r\n \u0022lateness\u0022: 0,\r\n \u0022delay\u0022: 0,\r\n \u0022absenceCalculation\u0022: \u0022day\u0022,\r\n \u0022pauseTime\u0022: 0,\r\n \u0022userId\u0022: 121,\r\n \u0022nbMeal\u0022: 0,\r\n \u0022color\u0022: \u0022#999999\u0022,\r\n \u0022hoursWorth\u0022: 6.8,\r\n \u0022inHoursCounter\u0022: false,\r\n \u0022previsionalStart\u0022: null,\r\n \u0022previsionalEnd\u0022: null,\r\n \u0022previsionalSaved\u0022: null,\r\n \u0022previsionalPosteId\u0022: null,\r\n \u0022showStartTime\u0022: true,\r\n \u0022showEndTime\u0022: true,\r\n \u0022showDuration\u0022: true,\r\n \u0022updatedAt\u0022: \u00222023-09-22T13:33:27.841Z\u0022,\r\n \u0022automaticPlanningId\u0022: null,\r\n \u0022provenance\u0022: \u0022duplicate_week\u0022,\r\n \u0022weekNumber\u0022: 38,\r\n \u0022shopName\u0022: \u0022Od\u00E9on\u0022,\r\n \u0022shopOpeningTime\u0022: \u002208:00\u0022,\r\n \u0022shopClosingTime\u0022: \u002222:00\u0022,\r\n \u0022benefitInKind\u0022: false,\r\n \u0022dayAbsence\u0022: true,\r\n \u0022startsAtForDisplay\u0022: \u00222023-09-22T08:00:00.000Z\u0022,\r\n \u0022isOutOfShopHours\u0022: false\r\n },\r\n \u0022relationships\u0022: {\r\n \u0022poste\u0022: {\r\n \u0022id\u0022: \u0022938\u0022,\r\n \u0022type\u0022: \u0022poste\u0022,\r\n \u0022attributes\u0022: {\r\n \u0022id\u0022: 938,\r\n \u0022color\u0022: \u0022#999999\u0022,\r\n \u0022absenceType\u0022: \u0022unpaid\u0022,\r\n \u0022absenceKey\u0022: \u0022weekly_rest\u0022,\r\n \u0022percentagePauseTime\u0022: false,\r\n \u0022pauseTime\u0022: 1800,\r\n \u0022planningOrder\u0022: 0,\r\n \u0022name\u0022: \u0022Repos Hebdomadaire\u0022,\r\n \u0022absenceIndemnifiedByOther\u0022: false,\r\n \u0022absenceIndemnifiedByEmployer\u0022: false\r\n }\r\n },\r\n \u0022previsionalPoste\u0022: null,\r\n \u0022shop\u0022: {\r\n \u0022data\u0022: {\r\n \u0022id\u0022: \u002220\u0022,\r\n \u0022type\u0022: \u0022shop\u0022\r\n }\r\n },\r\n \u0022user\u0022: {\r\n \u0022data\u0022: {\r\n \u0022id\u0022: \u0022121\u0022,\r\n \u0022type\u0022: \u0022user\u0022\r\n }\r\n }\r\n }\r\n};\r\n\r\nvar myCopy = null;","TestCases":[{"Name":"Lodash cloneDeep","Code":"myCopy = _.cloneDeep(MyObject);","IsDeferred":false},{"Name":"Spread operator","Code":"myCopy = {...MyObject};","IsDeferred":false}]}