Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
jsoncpp を使用して、重複するキーペア値を持つ JSON を処理しています。私のJSONは次のようなものです:
dict = { "a" : "1", "b" : "2", "c" : "3", "a" : "4", "c" : "5" }
(1,4)この JSON は「無効」に見えますが、アクセスされたときに値のリストを取得したいと考えていdict["a"]ます。これを入手する方法は?
(1,4)
dict["a"]