code: def test_read_ndjson_empty_array() -> None:
      assert pl.read_ndjson(
          io.StringIO("""{"foo": {"bar": []}}""")
      ).to_dict(as_series=False) == {"foo": [{"bar": []}]}
  
imports: from __future__ import annotations
  import datetime
  import io
  import json
  from collections import OrderedDict
  from io import BytesIO
  from typing import TYPE_CHECKING, Any
  import pytest
  import polars
  from polars.testing import assert_frame_equal
label_desc: Use image node_id 10 for calling a global function with example usage: test_read_ndjson_empty_array() without return types