私は私が持っ終わることができるように、このJSONデータからテキスト属性にアクセスする必要があります。jsonデータから特定のテキストにアクセスするには? [パイソン]
{'description': {'tags': ['outdoor', 'building', 'street', 'city', 'busy', 'people', 'filled', 'traffic', 'many', 'table', 'car', 'group', 'walking', 'bunch', 'crowded', 'large', 'night', 'light', 'standing', 'man', 'tall', 'umbrella', 'riding', 'sign', 'crowd'], 'captions': [{'text': 'a group of people on a city street filled with traffic at night', 'confidence': 0.8241405091548035}]}, 'requestId': '12fd327f-9b9c-4820-9feb-357a776211d3', 'metadata': {'width': 1826, 'height': 2436, 'format': 'Jpeg'}}
text = "The Text"
私が解析された[「キャプション」] [「テキスト」]が、このdidntの仕事をしてみました。ありがとうございました!
これは、文字列 'your_json_string'は厳密には有効なJSONではありませんので、動作しません。 –