original_docstring: Ah the joys of frameworks! They do so much work for you
         that they get in the way of sane operation!
docstring: Ah the joys of frameworks. They do so much work for you
  that they get in the way of sane operation!
docstring_tokens: Ah the joys of frameworks . They do so much work for you that they get in the way of sane operation!
code: def flask_post_json():
      '''Ah the joys of frameworks! They do so much work for you
         that they get in the way of sane operation!'''
      if (request.json != None):
          return request.json
      elif (request.data != None and request.data.decode("utf8") != u''):
          return json.loads(request.data.decode("utf8"))
      else:
          return json.loads(request.form.keys()[0])
code_tokens: def flask_post_json ( ) : if ( request . json != None ) : return request . json elif ( request . data != None and request . data . decode ( "utf8" ) != u'' ) : return json . loads ( request . data . decode ( "utf8" ) ) else : return json . loads ( request . form . keys ( ) [ 0 ] )
short_docstring: Ah the joys of frameworks!
short_docstring_tokens: Ah the joys of frameworks!
comment: '''Ah the joys of frameworks! They do so much work for you
         that they get in the way of sane operation!'''