code: def UNTESTED_dejsonify_item(val):
      if val == "nan":
          return np.nan
      elif val == "+inf":
          return np.inf
      elif val == "-inf":
          return -np.inf
      return val
  
file_path: interpret/python/interpret-core/interpret/glassbox/_ebm/_json.py
imports: import logging
  from warnings import warn
  from ...utils._link import identify_task
  from math import isnan
  import numpy
  from itertools import groupby
  from ._utils import generate_term_names
  from ...utils._histogram import make_all_histogram_edges
  from ...utils._clean_simple import typify_classification
label_desc: Use image node_id 6 for calling a global function with example usage: UNTESTED_dejsonify_item(val) and returns: val, np, np, unknown