Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
i have the next JSON file:
{ "store": [ { "name": "Sunshine Department Store", "address": "Wangfujing Street", "goods": [ { "book": [ { "category": "Reference", "title": "Sayings of the Century", "author": "Nigel Rees", "price": 8.88 }, { "category": "Fiction", "title": "Sword of Honour", "author": "Evelyn Waugh", "price": 12.66 } ] }, { "bicycle": [ { "type": "GIANT OCR2600", "color": "White", "price": 276 } ] } ] } ] }
I would like to have the next table:
StoreName | StoreAddress | Good_Type | Category | Title | Author | Price | Type | Color |
Sunshine Department Store | Wangfujing Street | Book | Reference | Sayings of the Century | Nigel Rees | 8.88 | NULL | NULL |
Sunshine Department Store | Wangfujing Street | Book | Fiction | Sword of Honour | Evelyn Waugh | 12.66 | NULL | NULL |
Sunshine Department Store | Wangfujing Street | Bicycle | NULL | NULL | NULL | 276 | GIANT OCR2600 | White |
Is this possible? I was trying a lot but i cannot figured it out!
Thanks in advance!