Hello. I have a input script in python that gets data from db and puts them in stdin in the form field = "value"
. One field contains a json so I tried to escape quotes:field = "{\"id\": \"a\"}"
but what I get in the field is "{\"
losing the rest.
There is a way to escape quote in this case?
Thanks
Yes I did but is was non working until I found out to use auto_escaped instead of auto as KV_MODE.
Now it's working fine.
Thanks
Yes I did but is was non working until I found out to use auto_escaped instead of auto as KV_MODE.
Now it's working fine.
Thanks
If your problem is resolved, please accept the answer to help future readers.
Have you tried field = '{\"id\": \"a\"}'
?