声優個人板まとめブログ
![はぅあぅにゅ~す -声優まとめブログ-](https://cdn-ak-scissors.b.st-hatena.com/image/square/149e04667ff94a2ebcff777b5efeaf31b5479a2c/height=288;version=1;width=512/https%3A%2F%2Fblogmaterial.nicoblomaga.jp%2Ficon%2F36%2Fsmartphone_icon.jpg)
C++ で JSON を扱う必要があったので、jsoncpp というライブラリを試した。VC++ 2003/2005 で警告なしでビルドできた。すばらしい。パース簡単。 std::string str = "{\"key1\":\"value\", \"key2\":true}"; Json::Reader reader; Json::Value root; bool b = reader.parse(str, root); オブジェクトの参照も簡単。厳密にやったらこうなる。 if(root.type() == Json::objectValue){ if(root.isMember("key1")){ Json::Value key1 = root["key1"]; if(key1.type() == Json::stringValue){ printf(key1.asCString()
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く