BUG: reading line-format JSON from file url #27135
- [x] closes #27135
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew note entry

The Travis CI check for python3.9-dev failed. Not sure what's going on. I think looks good. Can you add a whatsnew note for v1.1? Thanks @VirosaLi 