code: def _deserialize_value(cls, types, value):
          
  
          if types.main == list and value is not None:
              return cls._deserialize_list(types.sub, value)
          else:
              return cls.deserialize(types.main, value)
docs: :type types: ValueTypes
          :type value: int|str|bool|float|bytes|unicode|list|dict
  
          :rtype: int|str|bool|float|bytes|unicode|list|dict|object