I wondered why there is no CSV flattener, like JSON or XML flatteners. I had to process CSV in HTTPCaller's response ('_response_body').
So I made my own with Python caller (which is not utf compatible).
import csv, StringIO import fme import fmeobjects # Template Function interface: def processFeature(feature): pass # Template Class Interface: class FeatureProcessor(object): def __init__(self): pass def input(self,feature): stringinput = feature.getAttribute('_response_body').encode("ascii","ignore") reader = csv.DictReader(StringIO.StringIO(stringinput)) for line in reader: for field in reader.fieldnames: feature.setAttribute(field, line[field]) self.pyoutput(feature) def close(self): pass