amitmerchant1990 / amitmerchant-dot-com-comments

1 stars 0 forks source link

handy-file-method-to-read-json-files-in-laravel-10x/ #88

Open utterances-bot opened 1 year ago

utterances-bot commented 1 year ago

A handy File method to read JSON files in Laravel 10.x — Amit Merchant — A blog on PHP, JavaScript, and more

We now have a nice addition to the File facade in Laravel 10.x that lets you read JSON files easily. Essentially, it’s a wrapper around the json_decode() function. So, you can use it to read JSON files like so.

https://www.amitmerchant.com/handy-file-method-to-read-json-files-in-laravel-10x/

wesllycode commented 1 year ago

Muito obrigado ! Valeu.