TST: added test for to_json when called on numbers exceeding the int64 limit (#47589)
TST: added test for to_json when called on numbers exceeding the int64 limit (#47589)

* TST: added test for to_json when called on numbers that exceed the int64 limit

* TST: removed redundant parametrize wrapper

* TST: removed redundant variable declarations
datapythonista/pandas,pandas-dev/pandas,pandas-dev/pandas,datapythonista/pandas,pandas-dev/pandas,datapythonista/pandas,pandas-dev/pandas,datapythonista/pandas