can’t access json proprety
I’m trying to access the ‘city’ proprety of this json but somehow it doesn’t work , this is the json struct :
{ "ForSaleShopperPlatformFullRenderQuery{"zpid":28657235,"platform":"DESKTOP_WEB","formType":"OPAQUE","contactFormRenderParameter":{"zpid":28657235,"platform":"desktop","isDoubleScroll":true},"skipCFRD":false,"ompPlatform":"web"}": { "property": { "listingDataSource": "Phoenix", "zpid": 28657235, "city": "Boerne", "state": "TX", "homeStatus": "FOR_SALE", "address": { "streetAddress": "111 stone creek", "city": "Boerne", "state": "TX", "zipcode": "78006", "neighborhood": null, "community": null, "subdivision": null },
Problem retrieving values from multi nested JSON in Python
I am having a lot of trouble attempting to get all values from a multi level nested JSON in Python. I am new to Python and have the basics but no matter what I try here I am getting errors.
Decoding error in a json file Extra data. Does anyone know what could be causing this?
As I mentioned yesterday, I started with Python recently and decided to make a bot for Telegram that has a Markov chain, and to train the Markov chain I downloaded the chat history of my group of friends and made a script to filter and separate only the messages from the group, but some errors appeared in the json and as the file is very large, 7193776 lines, I wrote a script that automates the correction of the json as it is unfeasible to correct it manually, I handled exceptions and it is returning this coding error:
Check if a json file is sorted
I have a json file like this:
How Do I get Dict Nested Inside of Dict Array in Python?
I have a list of Topics and I am able to iterate through the main Topics section without issue. However when I try to get the actions, I keep getting an error. Here is the syntax for one topic: