<s> from dataset . freeze . format . fjson import JSONSerializer <EOL> from dataset . freeze . format . fcsv import CSVSerializer <EOL> from dataset . freeze . format . ftabson import TabsonSerializer <EOL> SERIALIZERS = { <EOL> '<STR_LIT>' : JSONSerializer , <EOL> '<STR_LIT>' : CSVSerializer , <EOL> '<STR_LIT>' : TabsonSerializer <EOL> } <EOL> def get_serializer ( config ) : <EOL> serializer = config . get_normalized ( '<STR_LIT>' , '<STR_LIT>' ) <EOL> return SERIALIZERS . get ( serializer ) </s>
