NameError: name 'json' is not defined code example Example: NameError: name 'jsonify' is not defined from flask import jsonify