I'm trying to show to the customer all the items duplicated while using a CSV files importer in Laravel.
This is my line of code:
$importador->articulos_no_encontrados = $articulos_no_encontrados->toJson();
And the view shows the duplicities in an array, but the message end in [...] meaning that indeed there are more items to show but the customer cannot see them:
Can you help me to find a solution to show the full message with all the items instead of the [...]? Currently I'm using dd() everytime that happens but the customer should be able to see it too.
Thanks in advance.
question from:
https://stackoverflow.com/questions/65836758/var-tojson-does-not-show-the-complete-message 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…