我有一个很小的代码块,我需要解析出C++如何解析这个串出
我只是想喜欢
LONGNAME(短名称)的值,如欧元(EUR)也许Bristish磅(GBP)
,并将其输出到以这种方式
欧元(EUR)
英镑(GBP)
{
"shortname": "EUR",
"longname": "Euro",
"users": "Austria,Belgium,Cyprus,Finland,Helsinki,France,Paris,Germany,Berlin,Greece,Athens,Ireland,Dublin,Italy,Rome,Milan,Pisa,Luxembourg,Malta,Netherlands,Portugal,Sl$
"alternatives": "ewro,evro",
"symbol": "€",
"highlight": "1"
},
{
"shortname": "GBP",
"longname": "British Pound",
"users": "United Kingdom,UK,England,Britain,Great Britain,Northern Ireland,Wales,Scotland,UK,Isle of Man,Jersey,Guernsey,Tristan da Cunha,South Georgia and the South San$
"alternatives": "Quid,Pound Sterling,Sterling,London,Cardiff,Edinburgh,Belfast",
"symbol": "£",
"highlight": "1"
},
http://jsoncpp.sourceforge.net/ – Aesthete 2012-07-25 09:36:20
什么。有。您。试过吗? – Ashe 2012-07-25 09:37:01
我必须真的使用json吗?我不能通常没有json – user1548465 2012-07-25 09:47:59