Json.dumps alternative in Redshift

164 Views Asked by At

I have strings like

Origi\"nal

and

Origi"nal

. I want to convert them to raw string and then to a Json String and write to a table in Redshift.

Example output of "select col from table" should be:

Origi\\\"nal
Origi\"nal

Can someone please suggest a way forward?

0

There are 0 best solutions below