HttpGetJson helper doesn't check nil before unmarshaling
yargevad opened this issue · 0 comments
yargevad commented
The basic unmarshaling done by HttpGetJson isn't sufficient in some cases (e.g. results wrapped in a dict with a results
key). In this case, the third parameter may be nil
. The nil check is however missing, which causes a JSON unmarshaling error.