Here is what I'm working with.
jsonobject = {
  "products": [
    {
      "ProductABC-001": {
        "attributes": [
          {
            "color": "blue"
          },
          {
            "size": "large"
          }
        ]
      }
    }
  ]
};
- Is this a true/pure JSON object or is this considered something else?
- If the answer is "no" what's different from it and a pure/true JSON object?
- Why does the below return "undefined" instead of "Array"? From my perspective I am in the first element of the products node which means the next level is an array of attributes. This, apparently, is wrong.
jsonobject.products[0].attributes[0]
 
     
    