How can i build a matrix object?
hi,
i have the following object structure:
{
"Color": {name: "Color", values: ["red", "blue", "green"],
"Size": {name: "Size", values: ["S", "M", "L"],
....
}
now i have to build a "matrix" and need the following result:
Color red, Size S,
Color red, Size M,
Color red, Size L,
Color blue, Size S,
Color blue, Size M,
....
how can i build that?
greetings