Closed Thomas-Gelf closed 3 years ago
Problem: json_decode() ships [] instead of {} for an empty object. Should probably better be null or an object of a specific type, but in the meantime we need a workaround
json_decode()
[]
{}
Hint: the real bug is that there is such data in the DB, as it should be NULL. For compatibility reasons, we have to deal with both
Problem:
json_decode()
ships[]
instead of{}
for an empty object. Should probably better be null or an object of a specific type, but in the meantime we need a workaround