Как заполнить данные из текстового файла Json в виде дерева tkinter? - PullRequest
0 голосов
/ 20 октября 2019

Как заполнить древовидное представление tkinter из текстового файла json? Ниже приведен мой текстовый файл json, который я хочу заполнить в виде дерева tkinter. Любая помощь для начала очень ценится, так как я понятия не имею, как вообще начать писать код.

enter image description here

 {
        "status": "ok", 
        "articles": [
            {
                "description": "Comments", 
                "author": "Contributors to Wikimedia projects", 
                "url": "https://en.wikipedia.org/wiki/Xinjiang_re-education_camps", 
                "title": "Xinjiang Re-Education Camps", 
                "publishedAt": "2019-10-03T18:35:11Z", 
                "content": "Vocational Education and Training Centers,[6][7][8] commonly known as re-education camps, are internment camps[4][9][10][11] that have been operated by the People's Republic of ChinaXinjiang Uyghur Autonomous Regional government for the purpose of interning U\u2026 [+53214 chars]", 
                "source": {
                    "id": null, 
                    "name": "Wikipedia.org"
                }, 
                "urlToImage": "https://upload.wikimedia.org/wikipedia/en/6/65/Opening_Ceremony_of_a_re-education_camp_in_Lopnur_County.jpg"
            }, 
            {
            "description": "CHICAGO--(BUSINESS WIRE)--To improve agility and operational efficiencies, shippers and logistics providers are increasingly identifying ways to automate manual processes. To further streamline and automate the manual Truckload shipping process, project44, th\u2026", 
            "author": null, 
            "url": "https://www.businesswire.com/news/home/20190922005024/en/project44-Delivers-Full-Lifecycle-Truckload-Automation-Capabilities", 
            "title": "project44 Delivers Full Lifecycle Truckload Automation Capabilities", 
            "publishedAt": "2019-09-23T06:08:01Z", 
            "content": "CHICAGO--(BUSINESS WIRE)--To improve agility and operational efficiencies, shippers and logistics providers are increasingly identifying ways to automate manual processes. To further streamline and automate the manual Truckload shipping process, project44, th\u2026 [+3116 chars]", 
            "source": {
                "id": null, 
                "name": "Businesswire.com"
            }, 
            "urlToImage": "https://mms.businesswire.com/media/20190922005024/en/745125/23/4024901_project44_tender.jpg"
        }
    ], 
    "totalResults": 125
 }
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...