On Mon, Dec 16, 2019 at 11:58 PM Paras Lehana <paras.leh...@indiamart.com>
wrote:

> Hi Rhys,
>
> I use CDATA for XMLs:
>
> <field name1="title" update="set">   <![CDATA[NORTH AMERICAN INT'L]]>
>  </field>
>
> There should be a similar solution for JSON though I couldn't find the
> specific one on the internet. If you are okay to use XMLs for indexing, you
> can use this.
>
>
We are set on using json, but I figured out how to handle the single quote.

If i use curl " and then single quotes inside, I can escape the single
quote in the field with no problem.

Thanks for the help!

Rhys

Reply via email to