code: def test_write_json_basic(orient):
      with tmpdir() as path:
          fn = os.path.join(path, "1.json")
          df.to_json(fn, orient=orient, lines=False)
          actual = dd.read_json(fn, orient=orient, lines=False)
          if orient == "values":
              actual.columns = list(df.columns)
          assert_eq(actual, df)
  
imports: from __future__ import annotations
  import json
  import os
  import fsspec
  import pandas
  import pytest
  from packaging.version import Version
  import dask
  import dask.dataframe
  from dask.dataframe._compat import PANDAS_GE_200
  from dask.dataframe.utils import assert_eq
  from dask.utils import tmpdir, tmpfile
label_desc: Use image node_id 11 for calling a global function with example usage: test_write_json_basic(orient) without return types