Flatten a hierarchical JSON object into a table

Recently I had a requirement to take a list of JSON objects that had a hierarchical structure and represent it as a table. For reference, here’s a sample of what the JSON¬†object looked something like. If you want to try on your own, feel free to copy below. [{ “ProductVariants”: [{ “Images”: [{ “ImageTypeID”: 27, […]