parameters: (json_file: IO)
return_statement: return simstat_object
docstring: Wrapper function that provides a cleaner interface for using the
      JsonLoader class.
  
      Usage
      -----
      ```
      import m5.ext.pystats as pystats
  
      with open(path) as f:
          pystats.jsonloader.load(f)
      ```
docstring_summary: Wrapper function that provides a cleaner interface for using the
      JsonLoader class.
docstring_tokens: Wrapper function that provides a cleaner interface for using the JsonLoader class .
function: def load(json_file: IO) -> SimStat:
      """
      Wrapper function that provides a cleaner interface for using the
      JsonLoader class.
  
      Usage
      -----
      ```
      import m5.ext.pystats as pystats
  
      with open(path) as f:
          pystats.jsonloader.load(f)
      ```
      """
  
      simstat_object = json.load(json_file, cls=JsonLoader)
      return simstat_object
function_tokens: def load ( json_file : IO ) -> SimStat : simstat_object = json . load ( json_file , cls = JsonLoader ) return simstat_object