def ReadSerializedDict(cls, json_dict):
    """Reads an attribute container from serialized dictionary form.

    Args:
      json_dict (dict[str, object]): JSON serialized objects.

    Returns:
      AttributeContainer: attribute container or None.

    Raises:
      TypeError: if the serialized dictionary does not contain an
          AttributeContainer.
    """
    if json_dict:
      json_object = cls._ConvertDictToObject(json_dict)
      if not isinstance(json_object, containers_interface.AttributeContainer):
        raise TypeError('{0:s} is not an attribute container type.'.format(
            type(json_object)))
      return json_object

    return None
def ReadSerializedDict ( cls , json_dict ) : if json_dict : json_object = cls . _ConvertDictToObject ( json_dict ) if not isinstance ( json_object , containers_interface . AttributeContainer ) : raise TypeError ( '{0:s} is not an attribute container type.' . format ( type ( json_object ) ) ) return json_object return None
Reads an attribute container from serialized dictionary form.

    Args:
      json_dict (dict[str, object]): JSON serialized objects.

    Returns:
      AttributeContainer: attribute container or None.

    Raises:
      TypeError: if the serialized dictionary does not contain an
          AttributeContainer.