class_docstr: Default JSON Decoder which decodes JSON to Jsonable object.
docstr: Converts a dictionary to an object.
docstr_tok: ["Converts","a","dictionary","to","an","object","."]
code: def _dict_to_object(self, dict_data: Dict[str, Any]) -> Any:
      """Converts a dictionary to an object."""
      if _TFX_OBJECT_TYPE_KEY not in dict_data:
          return dict_data
  
      object_type = dict_data.pop(_TFX_OBJECT_TYPE_KEY)
  
      def _extract_class(d):
          module_name = d.pop(_MODULE_KEY)
          class_name = d.pop(_CLASS_KEY)
          return getattr(
              importlib.import_module(module_name), class_name
          )
  
      if object_type == _ObjectType.JSONABLE:
          jsonable_class_type = _extract_class(dict_data)
          if not issubclass(jsonable_class_type, Jsonable):
              raise ValueError(
                  "Class %s must be a subclass of Jsonable"
                  % jsonable_class_type
              )
          return jsonable_class_type.from_json_dict(dict_data)
  
      if object_type == _ObjectType.CLASS:
          return _extract_class(dict_data)
  
      if object_type == _ObjectType.PROTO:
          proto_class_type = _extract_class(dict_data)
          if not issubclass(proto_class_type, message.Message):
              raise ValueError(
                  "Class %s must be a subclass of proto.Message"
                  % proto_class_type
              )
          if _PROTO_VALUE_KEY not in dict_data:
              raise ValueError("Missing proto value in json dict")
          return proto_utils.json_to_proto(
              dict_data[_PROTO_VALUE_KEY], proto_class_type()
          )
  
imports: import importlib
  import inspect
  import json
  from typing import Any, Dict, Type, Union, Mapping, Sequence
  from tfx.utils import deprecation_utils
  from tfx.utils import doc_controls
  from tfx.utils import proto_utils
  from google.protobuf import message
label_desc: Use image node_id 2 for calling the _DefaultDecoder obj's underlying member method code with example usage: obj._dict_to_object(dict_data) and returns: dict_data, getattr, jsonable_class_type, _extract_class, proto_utils