Fix a "creating default object from empty value" notice on failed parsing.
Fix a "creating default object from empty value" notice on failed parsing.

Silly oversight. Given invalid input, fromJSON() can fail and return NULL.
YahnisElsts/plugin-update-checker,YahnisElsts/plugin-update-checker