You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/04/06 12:53:19 UTC

[GitHub] [airflow] bbovenzi commented on pull request #22744: double escape backslash in json

bbovenzi commented on PR #22744:
URL: https://github.com/apache/airflow/pull/22744#issuecomment-1090234197

   > @bbovenzi In #14545 You change this from `data = {{ data |tojson }};` to `JSON.parse('{{ data|tojson }}')` -- can you remember if is there a reason why? This is the only place in the code base that we have the `JSON.parse` and `tojson` together.
   
   Actually, it looks like we can get rid of `JSON.parse()`: https://github.com/apache/airflow/pull/22780


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org