<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Escape in JSON For Quotation Mark in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/escape-in-json-for-quotation-mark/m-p/754968#M3584</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Already have Integromat set to RAW body type&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Mar 2019 19:31:04 GMT</pubDate>
    <dc:creator>joerodmey</dc:creator>
    <dc:date>2019-03-13T19:31:04Z</dc:date>
    <item>
      <title>Escape in JSON For Quotation Mark</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/escape-in-json-for-quotation-mark/m-p/754963#M3579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to pass a quotation mark into JSON but the escape methods I'm using don't appear to be working. How do you pass a strong into JSON with a quotation mark?&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;"attributes": {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;"OBJECTID": 307,&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;"Comments": "This is a test "with quotes""&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/P&gt;&lt;P&gt;]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Mar 2019 18:26:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/escape-in-json-for-quotation-mark/m-p/754963#M3579</guid>
      <dc:creator>joerodmey</dc:creator>
      <dc:date>2019-03-13T18:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: Escape in JSON For Quotation Mark</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/escape-in-json-for-quotation-mark/m-p/754964#M3580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would try \" :&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;[
    {
        "attributes": {
            "OBJECTID": 307,
            "Comments": "This is a test \"with quotes\""
        }
    }
]
&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 08:01:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/escape-in-json-for-quotation-mark/m-p/754964#M3580</guid>
      <dc:creator>RandyBurton</dc:creator>
      <dc:date>2021-12-12T08:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: Escape in JSON For Quotation Mark</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/escape-in-json-for-quotation-mark/m-p/754965#M3581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Didn't work. I'm using Integromat push this JSON. Integromat has dynamic data modules that are passed in...don't know if this is causing the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, not every time the user will enter quotes in the text box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/439367_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Mar 2019 19:22:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/escape-in-json-for-quotation-mark/m-p/754965#M3581</guid>
      <dc:creator>joerodmey</dc:creator>
      <dc:date>2019-03-13T19:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: Escape in JSON For Quotation Mark</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/escape-in-json-for-quotation-mark/m-p/754966#M3582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It might be worth reviewing&lt;A href="https://docs.python.org/3.6/reference/lexical_analysis.html#string-and-bytes-literals"&gt; 2.4.1 String and Bytes literals, 2. Lexical Analysis -- Python 3.6&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Mar 2019 19:27:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/escape-in-json-for-quotation-mark/m-p/754966#M3582</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2019-03-13T19:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: Escape in JSON For Quotation Mark</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/escape-in-json-for-quotation-mark/m-p/754967#M3583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If escaping isn't working, I would try raw string formatting or triple-quoted literals.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Mar 2019 19:28:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/escape-in-json-for-quotation-mark/m-p/754967#M3583</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2019-03-13T19:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: Escape in JSON For Quotation Mark</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/escape-in-json-for-quotation-mark/m-p/754968#M3584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Already have Integromat set to RAW body type&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Mar 2019 19:31:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/escape-in-json-for-quotation-mark/m-p/754968#M3584</guid>
      <dc:creator>joerodmey</dc:creator>
      <dc:date>2019-03-13T19:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: Escape in JSON For Quotation Mark</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/escape-in-json-for-quotation-mark/m-p/754969#M3585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For your example, I am talking about Python raw strings or triple-quotes:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;r&lt;SPAN class="string token"&gt;'This is a test "with quotes"'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
This &lt;SPAN class="keyword token"&gt;is&lt;/SPAN&gt; a test &lt;SPAN class="string token"&gt;"with quotes"&lt;/SPAN&gt;
&lt;SPAN class="operator token"&gt;&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'''This is a test "with quotes"'''&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
This &lt;SPAN class="keyword token"&gt;is&lt;/SPAN&gt; a test &lt;SPAN class="string token"&gt;"with quotes"&lt;/SPAN&gt;
&lt;SPAN class="operator token"&gt;&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 08:01:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/escape-in-json-for-quotation-mark/m-p/754969#M3585</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2021-12-12T08:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: Escape in JSON For Quotation Mark</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/escape-in-json-for-quotation-mark/m-p/754970#M3586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using JSON&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Mar 2019 19:46:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/escape-in-json-for-quotation-mark/m-p/754970#M3586</guid>
      <dc:creator>joerodmey</dc:creator>
      <dc:date>2019-03-13T19:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: Escape in JSON For Quotation Mark</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/escape-in-json-for-quotation-mark/m-p/754971#M3587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Apologies, I thought this was posted in &lt;A href="https://community.esri.com/group/4814"&gt;ArcGIS API for Python&lt;/A&gt;‌, not &lt;A href="https://community.esri.com/space/2132"&gt;ArcGIS REST API&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Mar 2019 20:12:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/escape-in-json-for-quotation-mark/m-p/754971#M3587</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2019-03-13T20:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: Escape in JSON For Quotation Mark</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/escape-in-json-for-quotation-mark/m-p/754972#M3588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The text appearing in the "Value" window&amp;nbsp; doesn't look like well formed JSON.&amp;nbsp; It looks like it is a paste inside a previous paste.&amp;nbsp; If you want "feature" inside the window, it should be in quotes as should "attributes" along with some commas in there.&amp;nbsp; I would also suspect that the Name should be "features" not "updates".&amp;nbsp;&amp;nbsp; I must admit, however, that I am not very familiar with Integromat.&amp;nbsp; To check your JSON, try &lt;A href="https://jsonlint.com/"&gt;jsonlint&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Mar 2019 04:23:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/escape-in-json-for-quotation-mark/m-p/754972#M3588</guid>
      <dc:creator>RandyBurton</dc:creator>
      <dc:date>2019-03-15T04:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: Escape in JSON For Quotation Mark</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/escape-in-json-for-quotation-mark/m-p/754973#M3589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the info. Just included some clarification below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The screenshot I included above was a sample of a longer JSON string that I created, but I only included the problem section. When I put the entire JSON string through the JSON validator it tells me its valid.&lt;/P&gt;&lt;P&gt;This is a look at what the JSON would be when sending to REST.&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "attributes": {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "OBJECTID": 15,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Comments": "This is a test"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This push to REST continues to work for other points (in the same service) and has worked fully in the past. I am hitting the apply edits function of REST so hence the reason for updates. Would features be better option?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like the user to have the option to enter double quotes or not enter them without causing issues to JSON syntax either way.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Mar 2019 13:25:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/escape-in-json-for-quotation-mark/m-p/754973#M3589</guid>
      <dc:creator>joerodmey</dc:creator>
      <dc:date>2019-03-15T13:25:54Z</dc:date>
    </item>
  </channel>
</rss>

