code: def from_dict(cls, d):
          
          result = OptionHandler(cls.new_instance(d["class"]))
          result.options = split_options(d["options"])
          return result
docs: Restores an object state from a dictionary, used in de-JSONification.
  
          :param d: the object dictionary
          :type d: dict
          :return: the object
          :rtype: object