code: def test_infer_a_json_converter(json_sample_path):
      """Infer a JSONConverter from file path string."""
      json = infer_converter_from_file_type(json_sample_path)
      assert isinstance(json, JSONConverter)
  
file_path: orion/tests/unittests/core/io/test_converters.py
imports: import os
  import pytest
  from orion.core.io.convert import GenericConverter, JSONConverter, YAMLConverter, infer_converter_from_file_type
label_desc: Use image node_id 2 for calling a global function with example usage: test_infer_a_json_converter(json_sample_path) without return types