Make AirflowJsonEncoder uses Flask's JSONEncoder as a base  (#13050)
Make AirflowJsonEncoder uses Flask's JSONEncoder as a base  (#13050)

Flask before 2.0 (unreleased at time of writing) will prefer simplejson if it is installed.

But unfortunately simplejson is not compatible with the stock JSONEncoder -- it always
passes an encoding argument. Changing the base class for our encoder to be what ever
Flask is using makes this more resilient.
sekikn/incubator-airflow,bolkedebruin/airflow,mistercrunch/airflow,danielvdende/incubator-airflow,cfei18/incubator-airflow,Acehaidrey/incubator-airflow,airbnb/airflow,dhuang/incubator-airflow,danielvdende/incubator-airflow,danielvdende/incubator-airflow,sekikn/incubator-airflow,cfei18/incubator-airflow,Acehaidrey/incubator-airflow,airbnb/airflow,sekikn/incubator-airflow,apache/incubator-airflow,danielvdende/incubator-airflow,mistercrunch/airflow,cfei18/incubator-airflow,nathanielvarona/airflow,apache/incubator-airflow,lyft/incubator-airflow,nathanielvarona/airflow,nathanielvarona/airflow,nathanielvarona/airflow,apache/airflow,dhuang/incubator-airflow,cfei18/incubator-airflow,dhuang/incubator-airflow,apache/airflow,bolkedebruin/airflow,DinoCow/airflow,apache/airflow,danielvdende/incubator-airflow,bolkedebruin/airflow,apache/airflow,Acehaidrey/incubator-airflow,Acehaidrey/incubator-airflow,nathanielvarona/airflow,airbnb/airflow,bolkedebruin/airflow,Acehaidrey/incubator-airflow,DinoCow/airflow,danielvdende/incubator-airflow,apache/incubator-airflow,mistercrunch/airflow,lyft/incubator-airflow,lyft/incubator-airflow,bolkedebruin/airflow,apache/airflow,apache/incubator-airflow,apache/airflow,nathanielvarona/airflow,airbnb/airflow,dhuang/incubator-airflow,mistercrunch/airflow,cfei18/incubator-airflow,Acehaidrey/incubator-airflow,lyft/incubator-airflow,cfei18/incubator-airflow,sekikn/incubator-airflow,DinoCow/airflow,DinoCow/airflow