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/05 17:11:30 UTC

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

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

   Isn't here the right solution to not use JSON parse but simply do 
   
   ```
   const data = {{ data | tojson }}
   ```
   
   ?
   
   I believe J in JSon originally stands for Javascript and JSON is first class citizen in javascript. I see no reaon why we should additonally parse it ? 
   


-- 
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