e46 toJson()

Login to make annotations or mark as watched.

Notes

Login to write notes for this video.

Description

Getting a JSON string representation of a collection is very simple using the toJson() method. Learn all about it and how to add additional options on this episode.

About this Course

In this series, we take a look at each of the available methods in the Laravel Collection class and dive deep through examples in explaining what it does.

  • Subscribe to the channel