Empty data object returned if json_decode fails
astoltz opened this issue · 0 comments
astoltz commented
This library returns an empty document if PHP cannot decode the json data. One reason this would happen is a race condition between reads and writes since atomic writes are not used.
I'll submit a pull request in a couple minutes.