<s> """<STR_LIT>""" <EOL> from wapi import cjson <EOL> from wapi . formatters . json_formatter import JsonFormatter <EOL> class CJsonFormatter ( JsonFormatter ) : <EOL> def format ( self , data ) : <EOL> self . data = cjson . encode ( data [ <NUM_LIT:1> ] ) <EOL> def format_list ( self , data ) : <EOL> self . data = cjson . encode ( [ obj [ <NUM_LIT:1> ] for obj in data ] ) </s>
