Make sure body was successfully parsed as JSON before filtering #1065
Description of the Change
In #1014, package searches were changed to use the atom.io API endpoint rather than calling out through apm. As part of that change, parsing of the resulting JSON data was delegated to the
There are a couple of alternate designs:
I haven't decided which one to go with yet.
Searching should be more resilient to server errors.