def csv_mapper(fileobj, mapping, resolver=None, scope=None):
from jsonmapping import Mapper<EOL>reader = unicodecsv.DictReader(fileobj)<EOL>for row in Mapper.apply_iter(reader, mapping, resolver=resolver,<EOL>scope=scope):<EOL><INDENT>yield row<EOL><DEDENT>
Given a CSV file object (fh), parse the file as a unicode CSV document,
    iterate over all rows of the data and map them to a JSON schema using the
    mapping instructions in ``mapping``.