code: def _from_json(json):
      return tmatrix(
          global_type=dtype(json["global_type"]),
          col_type=dtype(json["col_type"]),
          col_key=json["col_key"],
          row_type=dtype(json["row_type"]),
          row_key=json["row_key"],
          entry_type=dtype(json["entry_type"]),
      )
  
imports: import pprint
  from hail.typecheck import typecheck_method, sequenceof
  from hail.utils.java import escape_parsable
  from hail.expr.types import dtype, tstruct
  from hail.utils.java import jiterable_to_list
label_desc: Use image node_id 2 for calling the tmatrix obj's underlying member method code with example usage: obj._from_json(json) and returns: tmatrix