Hi guys,
I am trying to put in a lot of data into the SQL database, and some of them are in a table form. So, I json-encoded the table so it can be inserted into the SQL database (as a string).
Example : [“abc”, “123”, “hello”]
But my problem is that, each JSON encoded string has double quotes (") all over. I thought of using ‘string.gsub’ to replace the double quotes, but I believe there some be some better method than this.
Please advise.
Thanks