Hello , I receive the form data via as a blob type
$companyDetail = request()->file('companyDetail');
$companyDetailJson = json_decode($companyDetail->getContent(),true);
How to apply a validation on $companyDetailJson
?
For example how to make : $companyDetailJson ["director"]["name"]
required ?
Thanks
Top comments (0)