I have made a small application using jQuery\'s datepicker. I am setting unavailable dates to it from a JSON file which looks like this:
datepicker
{ \"dat
In Laravel collections(just in case) you can do
$newArray = $collection->values()->toArray();
or
$jsonEncoded = $collection->values()->toJson();