skip to Main Content

Reformatting a json tree using python

I have a json tree at hand, I want to reformat it. **The input is somewhat like : ** [ { "archive":{ "LOGS":{ "_files":[ "zomp_download_20220601170001.log", "zomp_download_20220626170002.log" ] }, "SUMMARY":{ "_files":[ "SUMMARY_zomp_report_2022-04-01.csv", "SUMMARY_zomp_report_2022-06-25.csv" ] }, "_files":[ "lexter_report_2022-04-01.csv", "lexter_report_2022-06-25.csv" ] } }…

VIEW QUESTION

Get values form dynamic nested arrays in Laravel

I want to get all the values from this array: <root> <Element1> <items> <Element0> <sku>AAAA</sku> </Element0> <Element1> <sku>BBBB</sku> </Element1> </items> </Element1> <items> <Element0> <sku>ABAB</sku> </Element0> </items> <Element2> </Element2> ... ... </root> The array is from Magento2 orders API so its…

VIEW QUESTION
Back To Top
Search