<?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>question Re: JSON object must always be treated as an array in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/JSON-object-must-always-be-treated-as-an-array/m-p/355086#M237063</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/98065"&gt;@ChuckE&lt;/a&gt;&amp;nbsp;that's it. Thanks for your support in this case. Now, it works fine.&lt;/P&gt;</description>
    <pubDate>Tue, 18 Oct 2022 06:23:05 GMT</pubDate>
    <dc:creator>MarioFRS</dc:creator>
    <dc:date>2022-10-18T06:23:05Z</dc:date>
    <item>
      <title>JSON object must always be treated as an array</title>
      <link>https://community.cloudera.com/t5/Support-Questions/JSON-object-must-always-be-treated-as-an-array/m-p/354629#M236951</link>
      <description>&lt;P&gt;Hello everyone.&lt;/P&gt;&lt;P&gt;i need help. I have a JSON file which contains in an object either an array of other objects or a single object. This is the relevant object "Product": [ or "Product": { .&lt;/P&gt;&lt;P&gt;How can I configure with the JOLT Transform processor to always expect an array in the object? The product object must always be treated as an array, even if it contains only a single object.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
  "costc": 9638,
  "sum_amount": 543,
  "sum_invitation": 0,
  "sum_selfconsumption": 0,
  "sum_loss": 0,
  "sum_gross": "2764,000",
  "sum_net": "2392,480",
  "sum_margin": "2003,780",
  "sum_costs_total": "388,700",
  "sum_costs": "388,700",
  "sum_costs_invitation": 0,
  "sum_costs_selfconsumption": 0,
  "sum_costs_loss": 0,
  "sum_costs_total_percent": "16,25",
  "sum_costs_percent": "16,25",
  "Classes": {
    "ClassSummary": [
      {
        "class": 1102,
        "sum_amount": 117,
        "sum_invitation": 0,
        "sum_selfconsumption": 0,
        "sum_loss": 0,
        "sum_gross": "740,500",
        "sum_net": "692,060",
        "sum_margin": "552,385",
        "sum_costs_total": "139,675",
        "sum_costs": "139,675",
        "sum_costs_invitation": 0,
        "sum_costs_selfconsumption": 0,
        "sum_costs_loss": 0,
        "sum_costs_total_percent": "20,18",
        "sum_costs_percent": "20,18",
        "ProductDetails": {
          "Product": [
            {
              "id": 7992160,
              "artnr": 32212,
              "sum_amount": 16,
              "sum_invitation": 0,
              "sum_selfconsumption": 0,
              "sum_loss": 0,
              "sum_gross": "80,000",
              "sum_net": "74,770",
              "sum_margin": "53,243",
              "sum_costs_total": "21,527",
              "sum_costs": "21,527",
              "sum_costs_invitation": 0,
              "sum_costs_selfconsumption": 0,
              "sum_costs_loss": 0,
              "sum_costs_total_percent": "28,79",
              "sum_costs_percent": "28,79",
              "value": null
            },
            {
              "id": 7794909,
              "artnr": 32205,
              "sum_amount": 7,
              "sum_invitation": 0,
              "sum_selfconsumption": 0,
              "sum_loss": 0,
              "sum_gross": "56,000",
              "sum_net": "52,340",
              "sum_margin": "39,473",
              "sum_costs_total": "12,867",
              "sum_costs": "12,867",
              "sum_costs_invitation": 0,
              "sum_costs_selfconsumption": 0,
              "sum_costs_loss": 0,
              "sum_costs_total_percent": "24,58",
              "sum_costs_percent": "24,58",
              "value": null
            },
            {
              "class": 19174,
              "sum_amount": 17,
              "sum_invitation": 0,
              "sum_selfconsumption": 0,
              "sum_loss": 0,
              "sum_gross": "85,000",
              "sum_net": "71,430",
              "sum_margin": "71,430",
              "sum_costs_total": 0,
              "sum_costs": 0,
              "sum_costs_invitation": 0,
              "sum_costs_selfconsumption": 0,
              "sum_costs_loss": 0,
              "sum_costs_total_percent": 0,
              "sum_costs_percent": 0,
              "ProductDetails": {
                "Product": {
                  "id": 7925180,
                  "artnr": 6201,
                  "sum_amount": 17,
                  "sum_invitation": 0,
                  "sum_selfconsumption": 0,
                  "sum_loss": 0,
                  "sum_gross": "85,000",
                  "sum_net": "71,430",
                  "sum_margin": "71,430",
                  "sum_costs_total": 0,
                  "sum_costs": 0,
                  "sum_costs_invitation": 0,
                  "sum_costs_selfconsumption": 0,
                  "sum_costs_loss": 0,
                  "sum_costs_total_percent": 0,
                  "sum_costs_percent": 0,
                  "value": null
                }
              }
            }
          ]
        }
      }
    ]
  },
  "date": "2022-10-06"
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2022 11:14:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/JSON-object-must-always-be-treated-as-an-array/m-p/354629#M236951</guid>
      <dc:creator>MarioFRS</dc:creator>
      <dc:date>2022-10-12T11:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: JSON object must always be treated as an array</title>
      <link>https://community.cloudera.com/t5/Support-Questions/JSON-object-must-always-be-treated-as-an-array/m-p/354697#M236956</link>
      <description>&lt;P&gt;Try this...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;[
  {
    "operation": "cardinality",
    "spec": {
      "*": {
        "*": {
      		"Product": "MANY"
      	}
      }
    }
  }
]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2022 22:37:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/JSON-object-must-always-be-treated-as-an-array/m-p/354697#M236956</guid>
      <dc:creator>ChuckE</dc:creator>
      <dc:date>2022-10-12T22:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: JSON object must always be treated as an array</title>
      <link>https://community.cloudera.com/t5/Support-Questions/JSON-object-must-always-be-treated-as-an-array/m-p/354725#M236964</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/98065"&gt;@ChuckE&lt;/a&gt;It does not work. I still get the same output as the input is. The single object is not yet treated as an array.&amp;nbsp;Do you have another idea&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 06:26:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/JSON-object-must-always-be-treated-as-an-array/m-p/354725#M236964</guid>
      <dc:creator>MarioFRS</dc:creator>
      <dc:date>2022-10-13T06:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: JSON object must always be treated as an array</title>
      <link>https://community.cloudera.com/t5/Support-Questions/JSON-object-must-always-be-treated-as-an-array/m-p/354734#M236966</link>
      <description>&lt;P&gt;"Product" is nested several layers deep so the first thing you need to do is match the wildcard (*) character to match the depth of where "Product" is located.&amp;nbsp; As a simplified example, I trimmed and flattened your JSON data down a little, and the transform works as expected.&amp;nbsp; Where I ran into a challenge was with the "ClassSummary" array, because I don't know how to account for it in the structure.&amp;nbsp; Hopefully this gives you something to work with, and using this web site you get some ideas on how to take it further.&amp;nbsp; I'm very curious to see the result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://jolt-demo.appspot.com/#ritwickgupta" target="_blank"&gt;https://jolt-demo.appspot.com/#ritwickgupta&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;[
  {
    "operation": "cardinality",
    "spec": {
      "*": {
        "*": {
          "Product": "MANY"
        }
      }
    }
  }
]&lt;/LI-CODE&gt;&lt;LI-CODE lang="javascript"&gt;{
  "costc": 9638,
  "sum_amount": 543,
  "Classes": {
    "class": 1102,
    "sum_amount": 117,
    "sum_invitation": 0,
    "ProductDetails": {
      "Product": {
        "id": 7992160,
        "artnr": 32212,
        "sum_amount": 16,
        "sum_invitation": 0,
        "value": null
      }
    }
  },
  "date": "2022-10-06"
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 08:40:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/JSON-object-must-always-be-treated-as-an-array/m-p/354734#M236966</guid>
      <dc:creator>ChuckE</dc:creator>
      <dc:date>2022-10-13T08:40:04Z</dc:date>
    </item>
    <item>
      <title>Re: JSON object must always be treated as an array</title>
      <link>https://community.cloudera.com/t5/Support-Questions/JSON-object-must-always-be-treated-as-an-array/m-p/354758#M236974</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/98065"&gt;@ChuckE&lt;/a&gt;Thanks for your explanation. I had also tested it with a simplified json file and it worked there. I have replaced the expected wildcards with the names of the objects to clarify the structure. And I still have no idea why it does not work&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[
  {
    "operation": "cardinality",
    "spec": {
      "*": {
        "ClassSummary": {
          "ProductDetails": {
            "Product": "MANY"
          }
        }
      }
    }
  }
]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 11:57:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/JSON-object-must-always-be-treated-as-an-array/m-p/354758#M236974</guid>
      <dc:creator>MarioFRS</dc:creator>
      <dc:date>2022-10-13T11:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: JSON object must always be treated as an array</title>
      <link>https://community.cloudera.com/t5/Support-Questions/JSON-object-must-always-be-treated-as-an-array/m-p/354782#M236986</link>
      <description>&lt;P&gt;This one works.&amp;nbsp; Give it a try...&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;[
  {
    "operation": "cardinality",
    "spec": {
      "*": {
        "*": {
          "ClassSummary": "MANY",
          "*": {
            "*": {
              "Product": "MANY"
            }
          }
        }
      }
    }
  }
]&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 13 Oct 2022 15:33:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/JSON-object-must-always-be-treated-as-an-array/m-p/354782#M236986</guid>
      <dc:creator>ChuckE</dc:creator>
      <dc:date>2022-10-13T15:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: JSON object must always be treated as an array</title>
      <link>https://community.cloudera.com/t5/Support-Questions/JSON-object-must-always-be-treated-as-an-array/m-p/354817#M236989</link>
      <description>&lt;P&gt;This works not with a combination of single object and an array of objects for "product". It works for me only with a single object. For example&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
  "costc": 9638,
  "sum_amount": 543,
  "sum_invitation": 0,
  "sum_selfconsumption": 0,
  "sum_loss": 0,
  "sum_gross": "2764,000",
  "sum_net": "2392,480",
  "sum_margin": "2003,780",
  "sum_costs_total": "388,700",
  "sum_costs": "388,700",
  "sum_costs_invitation": 0,
  "sum_costs_selfconsumption": 0,
  "sum_costs_loss": 0,
  "sum_costs_total_percent": "16,25",
  "sum_costs_percent": "16,25",
  "Classes": {
    "ClassSummary": [
      {
        "class": 1102,
        "sum_amount": 117,
        "sum_invitation": 0,
        "sum_selfconsumption": 0,
        "sum_loss": 0,
        "sum_gross": "740,500",
        "sum_net": "692,060",
        "sum_margin": "552,385",
        "sum_costs_total": "139,675",
        "sum_costs": "139,675",
        "sum_costs_invitation": 0,
        "sum_costs_selfconsumption": 0,
        "sum_costs_loss": 0,
        "sum_costs_total_percent": "20,18",
        "sum_costs_percent": "20,18",
        "ProductDetails": {
          "Product": {
            "id": 7992160,
            "artnr": 32212,
            "sum_amount": 16,
            "sum_invitation": 0,
            "sum_selfconsumption": 0,
            "sum_loss": 0,
            "sum_gross": "80,000",
            "sum_net": "74,770",
            "sum_margin": "53,243",
            "sum_costs_total": "21,527",
            "sum_costs": "21,527",
            "sum_costs_invitation": 0,
            "sum_costs_selfconsumption": 0,
            "sum_costs_loss": 0,
            "sum_costs_total_percent": "28,79",
            "sum_costs_percent": "28,79",
            "value": null
          }
        }
      }
    ]
  },
  "date": "2022-10-06"
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 18:49:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/JSON-object-must-always-be-treated-as-an-array/m-p/354817#M236989</guid>
      <dc:creator>MarioFRS</dc:creator>
      <dc:date>2022-10-13T18:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: JSON object must always be treated as an array</title>
      <link>https://community.cloudera.com/t5/Support-Questions/JSON-object-must-always-be-treated-as-an-array/m-p/354818#M236990</link>
      <description>&lt;P&gt;Hmm.&amp;nbsp; I tried all the use cases (single object, array, no array) and this transform works with all the example data that you've posted.&amp;nbsp; Can you send a screen shot of what you mean; perhaps I don't understand the problem.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 19:26:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/JSON-object-must-always-be-treated-as-an-array/m-p/354818#M236990</guid>
      <dc:creator>ChuckE</dc:creator>
      <dc:date>2022-10-13T19:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: JSON object must always be treated as an array</title>
      <link>https://community.cloudera.com/t5/Support-Questions/JSON-object-must-always-be-treated-as-an-array/m-p/354825#M236992</link>
      <description>&lt;P&gt;I will try it. As you can see in the example, it can happen that a class within the classes summary, object product details can have an array of objects, or a single object.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarioFRS_1-1665690783363.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/35912iE2430C65635F826F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarioFRS_1-1665690783363.png" alt="MarioFRS_1-1665690783363.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarioFRS_2-1665690793376.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/35913i4147964492CF24FC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarioFRS_2-1665690793376.png" alt="MarioFRS_2-1665690793376.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As you can see in the example, it can happen that a class within the classes Summary, Object Product Details can have an array of objects or a single object.&lt;/P&gt;&lt;P&gt;And the Jolt Spec has no influence that a single object becomes an array.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 19:54:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/JSON-object-must-always-be-treated-as-an-array/m-p/354825#M236992</guid>
      <dc:creator>MarioFRS</dc:creator>
      <dc:date>2022-10-13T19:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: JSON object must always be treated as an array</title>
      <link>https://community.cloudera.com/t5/Support-Questions/JSON-object-must-always-be-treated-as-an-array/m-p/354833#M236993</link>
      <description>&lt;P&gt;Based on this screen shot it appears you are using the wrong Jolt Transform.&amp;nbsp; Try using the newest version that I sent earlier this morning.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've also attached screen shots which show the Jolt works with your data.&amp;nbsp; I trimmed your data up a little for brevity purposes, but the structure is still the same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2022-10-13 at 16.10.37.png" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/35918i8DB57F52BB796A94/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2022-10-13 at 16.10.37.png" alt="Screen Shot 2022-10-13 at 16.10.37.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2022-10-13 at 16.06.43.png" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/35919i279498187DCFC921/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2022-10-13 at 16.06.43.png" alt="Screen Shot 2022-10-13 at 16.06.43.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 21:16:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/JSON-object-must-always-be-treated-as-an-array/m-p/354833#M236993</guid>
      <dc:creator>ChuckE</dc:creator>
      <dc:date>2022-10-13T21:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: JSON object must always be treated as an array</title>
      <link>https://community.cloudera.com/t5/Support-Questions/JSON-object-must-always-be-treated-as-an-array/m-p/354917#M237016</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/99033"&gt;@MarioFRS&lt;/a&gt;,&amp;nbsp; Just following up to make sure things are good to go.&amp;nbsp; If you are all set then please accept the solution to ensure it helps others in the future.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2022 23:23:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/JSON-object-must-always-be-treated-as-an-array/m-p/354917#M237016</guid>
      <dc:creator>ChuckE</dc:creator>
      <dc:date>2022-10-14T23:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: JSON object must always be treated as an array</title>
      <link>https://community.cloudera.com/t5/Support-Questions/JSON-object-must-always-be-treated-as-an-array/m-p/354969#M237034</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/98065"&gt;@ChuckE&lt;/a&gt; Sorry for the delay. It doesn't work for me, I'm using the latest Jolt specification you provided and the entire json file, with individual objects and the array of objects from product.&amp;nbsp;The single product object in a class does not become an array&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarioFRS_0-1665990161157.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/35946i69A6134046A4B382/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarioFRS_0-1665990161157.jpeg" alt="MarioFRS_0-1665990161157.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2022 07:03:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/JSON-object-must-always-be-treated-as-an-array/m-p/354969#M237034</guid>
      <dc:creator>MarioFRS</dc:creator>
      <dc:date>2022-10-17T07:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: JSON object must always be treated as an array</title>
      <link>https://community.cloudera.com/t5/Support-Questions/JSON-object-must-always-be-treated-as-an-array/m-p/355041#M237054</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/99033"&gt;@MarioFRS&lt;/a&gt;&amp;nbsp;Ah, you are correct.&amp;nbsp; I overlooked that additional nested Product.&amp;nbsp; That complicates things because the upper Product can be an array or not any array, which itself contains another ProductDetails.Product which also may or may not be an array.&amp;nbsp; Ugh!&lt;/P&gt;&lt;P&gt;To solve this I had to resort to chaining multiple transforms to account for all the possible formats that can exist. I may not have all the possible permutations you'll have, but you can follow the basic structure of these transforms and create new ones with additional levels if necessary.&lt;/P&gt;&lt;P&gt;It is important to note that the inner-most portions of the nested data need transformed first, so the order of the transforms starts with the inner-most data and ends with the outer-most data.&amp;nbsp; Keep that in mind if you need to add more transforms to account for additional permutations of the data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Give this a try and let me know how it works for you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;[
  {
    "operation": "cardinality",
    "spec": {
      "*": {
        "*": {
          "*": {
            "*": {
              "*": {
                "*": {
                  "*": {
                    "Product": "MANY"
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  {
    "operation": "cardinality",
    "spec": {
      "*": {
        "*": {
          "*": {
            "*": {
              "*": {
                "*": {
                  "Product": "MANY"
                }
              }
            }
          }
        }
      }
    }
  },
  {
    "operation": "cardinality",
    "spec": {
      "*": {
        "*": {
          "*": {
            "*": {
              "Product": "MANY"
            }
          }
        }
      }
    }
  },
  {
    "operation": "cardinality",
    "spec": {
      "*": {
        "*": {
          "*": {
            "Product": "MANY"
          }
        }
      }
    }
  },
  {
    "operation": "cardinality",
    "spec": {
      "*": {
        "*": {
          "ClassSummary": "MANY"
        }
      }
    }
  },
  {
    "operation": "cardinality",
    "spec": {
      "*": {
        "ClassSummary": "MANY"
      }
    }
  }
]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2022 18:57:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/JSON-object-must-always-be-treated-as-an-array/m-p/355041#M237054</guid>
      <dc:creator>ChuckE</dc:creator>
      <dc:date>2022-10-17T18:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: JSON object must always be treated as an array</title>
      <link>https://community.cloudera.com/t5/Support-Questions/JSON-object-must-always-be-treated-as-an-array/m-p/355086#M237063</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/98065"&gt;@ChuckE&lt;/a&gt;&amp;nbsp;that's it. Thanks for your support in this case. Now, it works fine.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 06:23:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/JSON-object-must-always-be-treated-as-an-array/m-p/355086#M237063</guid>
      <dc:creator>MarioFRS</dc:creator>
      <dc:date>2022-10-18T06:23:05Z</dc:date>
    </item>
  </channel>
</rss>

