I have two json files and I would like to get a json containing the differences. It is important that only the actual differences of
Try using array_diff function
array_diff(json_decode($jsonData1), json_decode($jsonData2));