<?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: Nested quotation marks in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/Nested-quotation-marks/m-p/231126#M411</link>
    <description>&lt;P&gt;Great, thank you for the quick reply!&lt;/P&gt;</description>
    <pubDate>Thu, 07 Dec 2023 08:07:54 GMT</pubDate>
    <dc:creator>eriknois</dc:creator>
    <dc:date>2023-12-07T08:07:54Z</dc:date>
    <item>
      <title>Nested quotation marks</title>
      <link>https://community.dynatrace.com/t5/DQL/Nested-quotation-marks/m-p/231078#M408</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Hello, I am trying to parse two values from the content field, but ran into a problem with quotation marks.&lt;BR /&gt;&lt;BR /&gt;Here's a shortened version of the record:&lt;BR /&gt;&lt;STRONG&gt;content:&lt;SPAN class=""&gt;{"contextMap":{"id:"a1","details":["&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;description":"amount","grossAmount":20,&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;My parse without double quotation marks looks like this and only results in a null return value:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;| parse content, "LD 'description' WORD:description, LD 'grossAmount' INT:grossAmount"&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;If I change it to include the double quotes it breaks the query:&lt;BR /&gt;&lt;STRONG&gt;| parse content, "LD 'description":"' WORD:description, LD 'grossAmount":' INT:grossAmount"&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;How can I use double quotes without breaking the parse query?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2023 15:32:40 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Nested-quotation-marks/m-p/231078#M408</guid>
      <dc:creator>eriknois</dc:creator>
      <dc:date>2023-12-06T15:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: Nested quotation marks</title>
      <link>https://community.dynatrace.com/t5/DQL/Nested-quotation-marks/m-p/231088#M410</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/68433"&gt;@eriknois&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use triple quotes&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;data record(content="""content:{"contextMap":{"id:"a1","details":["description":"amount","grossAmount":20]""")

| parse content, """LD '"description":' DQS:amount ',"grossAmount":' INT:grossAmount"""&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;BR /&gt;Sini&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2023 17:34:40 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Nested-quotation-marks/m-p/231088#M410</guid>
      <dc:creator>sinisa_zubic</dc:creator>
      <dc:date>2023-12-06T17:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: Nested quotation marks</title>
      <link>https://community.dynatrace.com/t5/DQL/Nested-quotation-marks/m-p/231126#M411</link>
      <description>&lt;P&gt;Great, thank you for the quick reply!&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2023 08:07:54 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Nested-quotation-marks/m-p/231126#M411</guid>
      <dc:creator>eriknois</dc:creator>
      <dc:date>2023-12-07T08:07:54Z</dc:date>
    </item>
  </channel>
</rss>

