parameters: (self, obj, data)
return_statement: return data
docstring: Return a json-friendly dict for a sequence subclass.
docstring_summary: Return a json-friendly dict for a sequence subclass.
docstring_tokens: Return a json - friendly dict for a sequence subclass .
function: def _flatten_sequence_obj(self, obj, data):
          """Return a json-friendly dict for a sequence subclass."""
          if hasattr(obj, '__dict__'):
              self._flatten_dict_obj(obj.__dict__, data)
          value = [self._flatten(v) for v in obj]
          if self.unpicklable:
              data[tags.SEQ] = value
          else:
              return value
          return data
function_tokens: def _flatten_sequence_obj ( self , obj , data ) : if hasattr ( obj , '__dict__' ) : self . _flatten_dict_obj ( obj . __dict__ , data ) value = [ self . _flatten ( v ) for v in obj ] if self . unpicklable : data [ tags . SEQ ] = value else : return value return data