fix type errors in pandas/tests/extension/json/array.py
Part of #28926

- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`


nitpick: when naming these PRs, "fix type errors" makes me think there is a TypeError being raised somewhere.  something involving "annotations" or "mypy" might be more clear restarted the azure build Thanks @SaturnFromTitan 