Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Parse JSON multiple objects
Post: RE: Parse JSON multiple objects

Thank you, buran. I'm on Python 3.7.6 with Spyder and am not receiving errors as indicated. I used your example and am returning Error:JSONDecodeError: Extra data
larkin_L General Coding Help 8 5,769 May-26-2020, 02:03 PM
    Thread: Parse JSON multiple objects
Post: RE: Parse JSON multiple objects

Sorry about that, corrected below: Code: import json tradingList = [] print with open('party.json') as f: for jsonObj in f: tradingDict = json.loads(jsonObj) tradingList.append(tradingDict) print ...
larkin_L General Coding Help 8 5,769 May-26-2020, 01:46 PM
    Thread: Parse JSON multiple objects
Post: Parse JSON multiple objects

I'm having trouble parsing multiple objects within a JSON array. I can get my code to work, but I have to manipulate the JSON file which I shouldn't have to do. I'm on Python 3, and here's my code: ...
larkin_L General Coding Help 8 5,769 May-26-2020, 12:54 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020