One skill a day: How to quickly convert JSON into objects?
Original link: https://www.kingname.info/2023/09/22/json-to-obj/ We know that in Python, it is very easy to convert JSON into a dictionary, just use json.loads(JSON字符串) . But if the dictionary converted from JSON is deeply nested, it will be very troublesome to read the data inside. As shown below: If I want to read and subtract start field from […]
One skill a day: How to quickly convert JSON into objects? Read More »