public
toJson(int $options = 0): string
Convert the object to its JSON representation.
Illuminate\Database\Eloquent\Model::toJson()
Illuminate\Pagination\LengthAwarePaginator::toJson()
Illuminate\Pagination\Paginator::toJson()
Illuminate\Pagination\CursorPaginator::toJson()
Illuminate\Support\Fluent::toJson()
Illuminate\Support\MessageBag::toJson()