def get_request_data():
request = get_request()<EOL>data = request.get("<STR_LIT>", "<STR_LIT:{}>")<EOL>if not is_json_deserializable(data):<EOL><INDENT>from plone.jsonapi.routes.exceptions import APIError<EOL>raise APIError(<NUM_LIT>, "<STR_LIT>")<EOL><DEDENT>return _.convert(json.loads(data), _.to_list)<EOL>
extract and convert the json data from the request

    returns a list of dictionaries