-
Notifications
You must be signed in to change notification settings - Fork 148
Open
Description
Is there some option to show the empty fields in JSON string as empty string.
The problem is that $excel->toString('JSON') skip the empty fields and if I try to get the content of column X, the content type doesn't match with other rows column X content.
For example
The output array is:
array(3) {
[0]=> string(?) "Title"
[1]=> string(?) "Quantity"
[2]=> string(?) "Price"
}
array(3) {
[0]=> string(?) "BMW"
[1]=> string(?) "5"
[2]=> string(?) "$192.000"
}
array(2) {
[0]=> string(?) "Mercedes"
[1]=> string(?) "$204.000"
}
array(3) {
[0]=> string(?) "Audi"
[1]=> string(?) "10"
[2]=> string(?) "$150.000"
}
So, when I'm trying to get all quantites result is:
5, $204.000, 10
Metadata
Metadata
Assignees
Labels
No labels
