How to display variants with options together?

Hello,

it’s possible to get JSON variations like this with liquid?

//// JSON
[
  red: [
    {
      id: "xxx",
      option: "Red - XL"
    },
    {
      id: "xxx",
      option: "Red - L"
    },
  ],
  blue: [
  {
    id: "xxx",
    option: "Blue - XL"
  },
  {
    id: "xxx",
    option: "Blue - L"
  },
  ]
]

Hi.

To keep it simple. No.

I see, thank you @Jayvin for the answer :grinning_face_with_smiling_eyes: