2021年2月4日星期四

read a json data in python

This is a sample json

{   "balance": 9,   "batch_id": 1231234234,   "cost": 1,   "num_messages": 1,   "message": {       "num_parts": 1,       "sender": "12345",       "content": "Hi there, Nice to meet you!"       }   }  

how do I print the "content" inside the "message"?

I appreciate your time!

https://stackoverflow.com/questions/66057438/read-a-json-data-in-python February 05, 2021 at 12:06PM

没有评论:

发表评论