code: def test_parse_json(obj: Any):
      # valid json, type
      j = caliban_launcher._parse_json(
          "foo", json.dumps(obj), type(obj)
      )
      assert j == obj
  
      # valid json, invalid type
      with pytest.raises(argparse.ArgumentTypeError):
          j = caliban_launcher._parse_json("bar", json.dumps(None), int)
  
      # invalid json
      with pytest.raises(argparse.ArgumentTypeError):
          j = caliban_launcher._parse_json("baz", "[", int)
  
file_path: caliban/tests/caliban/resources/test_caliban_launcher.py
imports: import argparse
  import builtins
  from google.auth import credentials
  import json
  import os
  import pytest
  import tempfile
  from typing import Any
  from caliban.resources import caliban_launcher
label_desc: Use image node_id 1 for calling a global function with example usage: test_parse_json(obj) without return types