vlang / v

Simple, fast, safe, compiled language for developing maintainable software. Compiles itself in <1s with zero library dependencies. Supports automatic C => V translation. https://vlang.io
MIT License
35.88k stars 2.17k forks source link

vlib/json: decode number with **quote** to number. #13996

Closed changrui closed 2 years ago

changrui commented 2 years ago

Now:

str := '{"id":"1", "pay": "123.45"}'
user := json.decode(User, str)?

Got: user.pay = 0

Hope: user.id=1 user.pay = 123.45

Hunam6 commented 2 years ago

This works great

import json

struct User {
    id  string
    pay string
}

fn main() {
    str := '{"id":"1", "pay": "123.45"}'
    user := json.decode(User, str) ?

    println(user)
}
User{
    id: '1'
    pay: '123.45'
}
changrui commented 2 years ago

@Hunam6 Thanks, it will take more time to cast string to int or f32 when the json struct has many fields like below.

{"data":[{"Active Cases":"44,580,066","Country":"World","Critical":"53,695","Deaths/1M pop":"795.8","New Cases":"+619,688","New Deaths":"+1,657","New Recovered":"+643,721","Population":"","Region":"All","Tests/1M pop":"","Total Cases":"498,965,496","Total Cases/1M pop":"64,013","Total Deaths":"6,202,920","Total Recovered":"448,182,510","Total Tests":"","place":""},{"Active Cases":"1,153,723","Country":"USA","Critical":"1,624","Deaths/1M pop":"3,026","New Cases":"+9,747","New Deaths":"+20","New Recovered":"+53,978","Population":"334,437,650","Region":"NorthAmerica","Tests/1M pop":"2,963,702","Total Cases":"82,062,989","Total Cases/1M pop":"245,376","Total Deaths":"1,012,151","Total Recovered":"79,897,115","Total Tests":"991,173,404","place":"1"},{"Active Cases":"11,894","Country":"India","Critical":"8,944","Deaths/1M pop":"372","New Cases":"+799","New Deaths":"+27","New Recovered":"","Population":"1,404,013,663","Region":"Asia","Tests/1M pop":"565,413","Total Cases":"43,036,070","Total Cases/1M pop":"30,652","Total Deaths":"521,722","Total Recovered":"42,502,454","Total Tests":"793,847,740","place":"2"},{"Active Cases":"452,197","Country":"Brazil","Critical":"8,318","Deaths/1M pop":"3,073","New Cases":"+7,210","New Deaths":"+39","New Recovered":"+20,625","Population":"215,233,355","Region":"SouthAmerica","Tests/1M pop":"296,312","Total Cases":"30,152,402","Total Cases/1M pop":"140,092","Total Deaths":"661,309","Total Recovered":"29,038,896","Total Tests":"63,776,166","place":"3"},{"Active Cases":"2,785,991","Country":"France","Critical":"1,541","Deaths/1M pop":"2,187","New Cases":"+107,654","New Deaths":"+45","New Recovered":"+24,092","Population":"65,529,123","Region":"Europe","Tests/1M pop":"3,975,399","Total Cases":"26,947,375","Total Cases/1M pop":"411,227","Total Deaths":"143,288","Total Recovered":"24,018,096","Total Tests":"260,504,402","place":"4"},{"Active Cases":"4,132,336","Country":"Germany","Critical":"2,494","Deaths/1M pop":"1,570","New Cases":"+45,149","New Deaths":"","New Recovered":"+90,700","Population":"84,258,058","Region":"Europe","Tests/1M pop":"1,451,878","Total Cases":"22,679,247","Total Cases/1M pop":"269,164","Total Deaths":"132,311","Total Recovered":"18,414,600","Total Tests":"122,332,384","place":"5"},{"Active Cases":"1,772,622","Country":"UK","Critical":"357","Deaths/1M pop":"2,478","New Cases":"","New Deaths":"","New Recovered":"+75,629","Population":"68,517,106","Region":"Europe","Tests/1M pop":"7,437,629","Total Cases":"21,549,830","Total Cases/1M pop":"314,518","Total Deaths":"169,759","Total Recovered":"19,607,449","Total Tests":"509,604,812","place":"6"},{"Active Cases":"411,242","Country":"Russia","Critical":"2,300","Deaths/1M pop":"2,545","New Cases":"+13,056","New Deaths":"+259","New Recovered":"+29,372","Population":"146,045,203","Region":"Europe","Tests/1M pop":"1,872,023","Total Cases":"17,996,060","Total Cases/1M pop":"123,223","Total Deaths":"371,716","Total Recovered":"17,213,102","Total Tests":"273,400,000","place":"7"},{"Active Cases":"N/A","Country":"S.Korea","Critical":"1,114","Deaths/1M pop":"378","New Cases":"+164,481","New Deaths":"+329","New Recovered":"N/A","Population":"51,347,270","Region":"Asia","Tests/1M pop":"307,788","Total Cases":"15,333,670","Total Cases/1M pop":"298,627","Total Deaths":"19,421","Total Recovered":"N/A","Total Tests":"15,804,065","place":"8"},{"Active Cases":"1,246,556","Country":"Italy","Critical":"465","Deaths/1M pop":"2,666","New Cases":"+53,253","New Deaths":"+90","New Recovered":"+45,139","Population":"60,304,492","Region":"Europe","Tests/1M pop":"3,422,629","Total Cases":"15,292,048","Total Cases/1M pop":"253,581","Total Deaths":"160,748","Total Recovered":"13,884,744","Total Tests":"206,399,929","place":"9"},{"Active Cases":"209,944","Country":"Turkey","Critical":"975","Deaths/1M pop":"1,145","New Cases":"+5,609","New Deaths":"+32","New Recovered":"+7,315","Population":"85,944,992","Region":"Asia","Tests/1M pop":"1,814,605","Total Cases":"14,958,974","Total Cases/1M pop":"174,053","Total Deaths":"98,409","Total Recovered":"14,650,621","Total Tests":"155,956,251","place":"10"},{"Active Cases":"491,062","Country":"Spain","Critical":"371","Deaths/1M pop":"2,204","New Cases":"","New Deaths":"","New Recovered":"","Population":"46,786,827","Region":"Europe","Tests/1M pop":"10,067,713","Total Cases":"11,627,487","Total Cases/1M pop":"248,521","Total Deaths":"103,104","Total Recovered":"11,033,321","Total Tests":"471,036,328","place":"11"},{"Active Cases":"1,622,900","Country":"Vietnam","Critical":"1,403","Deaths/1M pop":"433","New Cases":"+28,307","New Deaths":"+19","New Recovered":"+34,991","Population":"98,888,445","Region":"Asia","Tests/1M pop":"859,634","Total Cases":"10,198,236","Total Cases/1M pop":"103,129","Total Deaths":"42,813","Total Recovered":"8,532,523","Total Tests":"85,007,902","place":"12"},{"Active Cases":"39,266","Country":"Argentina","Critical":"429","Deaths/1M pop":"2,791","New Cases":"+453","New Deaths":"+1","New Recovered":"+2,370","Population":"45,929,685","Region":"SouthAmerica","Tests/1M pop":"775,351","Total Cases":"9,052,536","Total Cases/1M pop":"197,096","Total Deaths":"128,198","Total Recovered":"8,885,072","Total Tests":"35,611,642","place":"13"},{"Active Cases":"985,227","Country":"Netherlands","Critical":"122","Deaths/1M pop":"1,284","New Cases":"","New Deaths":"","New Recovered":"","Population":"17,201,968","Region":"Europe","Tests/1M pop":"1,227,034","Total Cases":"7,971,855","Total Cases/1M pop":"463,427","Total Deaths":"22,080","Total Recovered":"6,964,548","Total Tests":"21,107,399","place":"14"},{"Active Cases":"132,167","Country":"Iran","Critical":"1,558","Deaths/1M pop":"1,637","New Cases":"+2,894","New Deaths":"+39","New Recovered":"+4,926","Population":"85,895,228","Region":"Asia","Tests/1M pop":"582,345","Total Cases":"7,191,643","Total Cases/1M pop":"83,726","Total Deaths":"140,616","Total Recovered":"6,918,860","Total Tests":"50,020,619","place":"15"},{"Active Cases":"494,941","Country":"Japan","Critical":"484","Deaths/1M pop":"228","New Cases":"+52,162","New Deaths":"+56","New Recovered":"+45,901","Population":"125,791,297","Region":"Asia","Tests/1M pop":"355,107","Total Cases":"6,991,687","Total Cases/1M pop":"55,582","Total Deaths":"28,646","Total Recovered":"6,468,100","Total Tests":"44,669,396","place":"16"},{"Active Cases":"27,130","Country":"Colombia","Critical":"342","Deaths/1M pop":"2,695","New Cases":"+297","New Deaths":"+6","New Recovered":"+285","Population":"51,842,598","Region":"SouthAmerica","Tests/1M pop":"658,442","Total Cases":"6,088,034","Total Cases/1M pop":"117,433","Total Deaths":"139,719","Total Recovered":"5,921,185","Total Tests":"34,135,355","place":"17"},{"Active Cases":"72,679","Country":"Indonesia","Critical":"2,771","Deaths/1M pop":"559","New Cases":"+1,071","New Deaths":"+29","New Recovered":"+2,493","Population":"278,641,793","Region":"Asia","Tests/1M pop":"334,377","Total Cases":"6,032,707","Total Cases/1M pop":"21,650","Total Deaths":"155,626","Total Recovered":"5,804,402","Total Tests":"93,171,527","place":"18"},{"Active Cases":"528,767","Country":"Poland","Critical":"268","Deaths/1M pop":"3,061","New Cases":"+440","New Deaths":"","New Recovered":"+33","Population":"37,773,256","Region":"Europe","Tests/1M pop":"948,949","Total Cases":"5,978,215","Total Cases/1M pop":"158,266","Total Deaths":"115,635","Total Recovered":"5,333,813","Total Tests":"35,844,896","place":"19"},{"Active Cases":"377,676","Country":"Mexico","Critical":"4,798","Deaths/1M pop":"2,465","New Cases":"+2,712","New Deaths":"+125","New Recovered":"+2,839","Population":"131,329,847","Region":"NorthAmerica","Tests/1M pop":"119,317","Total Cases":"5,722,541","Total Cases/1M pop":"43,574","Total Deaths":"323,720","Total Recovered":"5,021,145","Total Tests":"15,669,932","place":"20"},{"Active Cases":"518,875","Country":"Australia","Critical":"112","Deaths/1M pop":"252","New Cases":"+33,299","New Deaths":"+14","New Recovered":"","Population":"26,023,424","Region":"Australia/Oceania","Tests/1M pop":"2,599,899","Total Cases":"5,053,193","Total Cases/1M pop":"194,179","Total Deaths":"6,564","Total Recovered":"4,527,754","Total Tests":"67,658,270","place":"21"},{"Active Cases":"N/A","Country":"Ukraine","Critical":"177","Deaths/1M pop":"2,499","New Cases":"","New Deaths":"","New Recovered":"N/A","Population":"43,268,832","Region":"Europe","Tests/1M pop":"451,162","Total Cases":"4,982,249","Total Cases/1M pop":"115,146","Total Deaths":"108,118","Total Recovered":"N/A","Total Tests":"19,521,252","place":"22"},{"Active Cases":"153,463","Country":"Malaysia","Critical":"195","Deaths/1M pop":"1,066","New Cases":"","New Deaths":"","New Recovered":"","Population":"33,099,762","Region":"Asia","Tests/1M pop":"1,733,782","Total Cases":"4,317,706","Total Cases/1M pop":"130,445","Total Deaths":"35,280","Total Recovered":"4,128,963","Total Tests":"57,387,773","place":"23"},{"Active Cases":"45,438","Country":"Israel","Critical":"272","Deaths/1M pop":"1,135","New Cases":"+4,341","New Deaths":"+25","New Recovered":"+9,095","Population":"9,326,000","Region":"Asia","Tests/1M pop":"4,436,346","Total Cases":"3,997,863","Total Cases/1M pop":"428,679","Total Deaths":"10,584","Total Recovered":"3,941,841","Total Tests":"41,373,364","place":"24"},{"Active Cases":"192,043","Country":"Austria","Critical":"191","Deaths/1M pop":"1,784","New Cases":"+10,635","New Deaths":"+18","New Recovered":"+21,386","Population":"9,097,341","Region":"Europe","Tests/1M pop":"19,716,284","Total Cases":"3,987,385","Total Cases/1M pop":"438,302","Total Deaths":"16,226","Total Recovered":"3,779,116","Total Tests":"179,365,755","place":"25"},{"Active Cases":"295,470","Country":"Belgium","Critical":"176","Deaths/1M pop":"2,654","New Cases":"","New Deaths":"","New Recovered":"+11,140","Population":"11,678,886","Region":"Europe","Tests/1M pop":"2,835,888","Total Cases":"3,915,732","Total Cases/1M pop":"335,283","Total Deaths":"30,997","Total Recovered":"3,589,265","Total Tests":"33,120,016","place":"26"},{"Active Cases":"250,970","Country":"Thailand","Critical":"1,496","Deaths/1M pop":"372","New Cases":"+25,139","New Deaths":"+108","New Recovered":"+25,509","Population":"70,109,942","Region":"Asia","Tests/1M pop":"246,338","Total Cases":"3,883,485","Total Cases/1M pop":"55,391","Total Deaths":"26,086","Total Recovered":"3,606,429","Total Tests":"17,270,775","place":"27"},{"Active Cases":"43,548","Country":"Czechia","Critical":"80","Deaths/1M pop":"3,712","New Cases":"+2,251","New Deaths":"+3","New Recovered":"+7,109","Population":"10,744,141","Region":"Europe","Tests/1M pop":"5,110,260","Total Cases":"3,862,322","Total Cases/1M pop":"359,482","Total Deaths":"39,880","Total Recovered":"3,778,894","Total Tests":"54,905,349","place":"28"},{"Active Cases":"12,668","Country":"SouthAfrica","Critical":"546","Deaths/1M pop":"1,651","New Cases":"+828","New Deaths":"","New Recovered":"+1,603","Population":"60,631,833","Region":"Africa","Tests/1M pop":"396,824","Total Cases":"3,732,075","Total Cases/1M pop":"61,553","Total Deaths":"100,096","Total Recovered":"3,619,311","Total Tests":"24,060,151","place":"29"},{"Active Cases":"28,380","Country":"Philippines","Critical":"289","Deaths/1M pop":"533","New Cases":"+277","New Deaths":"+39","New Recovered":"+1,294","Population":"112,161,766","Region":"Asia","Tests/1M pop":"259,906","Total Cases":"3,681,374","Total Cases/1M pop":"32,822","Total Deaths":"59,769","Total Recovered":"3,593,225","Total Tests":"29,151,556","place":"30"},{"Active Cases":"N/A","Country":"Portugal","Critical":"61","Deaths/1M pop":"2,156","New Cases":"","New Deaths":"","New Recovered":"N/A","Population":"10,144,096","Region":"Europe","Tests/1M pop":"3,988,985","Total Cases":"3,667,184","Total Cases/1M pop":"361,509","Total Deaths":"21,874","Total Recovered":"N/A","Total Tests":"40,464,651","place":"31"},{"Active Cases":"196,812","Country":"Canada","Critical":"367","Deaths/1M pop":"992","New Cases":"+3,481","New Deaths":"+15","New Recovered":"+2,342","Population":"38,327,757","Region":"NorthAmerica","Tests/1M pop":"1,561,266","Total Cases":"3,568,118","Total Cases/1M pop":"93,095","Total Deaths":"38,003","Total Recovered":"3,333,303","Total Tests":"59,839,826","place":"32"},{"Active Cases":"N/A","Country":"Peru","Critical":"401","Deaths/1M pop":"6,289","New Cases":"","New Deaths":"","New Recovered":"N/A","Population":"33,784,532","Region":"SouthAmerica","Tests/1M pop":"863,465","Total Cases":"3,551,245","Total Cases/1M pop":"105,115","Total Deaths":"212,471","Total Recovered":"N/A","Total Tests":"29,171,760","place":"33"},{"Active Cases":"470,448","Country":"Switzerland","Critical":"113","Deaths/1M pop":"1,569","New Cases":"","New Deaths":"","New Recovered":"+31,279","Population":"8,766,629","Region":"Europe","Tests/1M pop":"2,327,047","Total Cases":"3,512,093","Total Cases/1M pop":"400,621","Total Deaths":"13,752","Total Recovered":"3,027,893","Total Tests":"20,400,357","place":"34"},{"Active Cases":"242,914","Country":"Chile","Critical":"423","Deaths/1M pop":"2,939","New Cases":"+3,464","New Deaths":"+44","New Recovered":"+18,284","Population":"19,406,586","Region":"SouthAmerica","Tests/1M pop":"1,861,010","Total Cases":"3,512,020","Total Cases/1M pop":"180,971","Total Deaths":"57,041","Total Recovered":"3,212,065","Total Tests":"36,115,860","place":"35"},{"Active Cases":"186,694","Country":"Greece","Critical":"357","Deaths/1M pop":"2,722","New Cases":"+8,635","New Deaths":"+54","New Recovered":"+29,021","Population":"10,332,961","Region":"Europe","Tests/1M pop":"7,404,954","Total Cases":"3,173,630","Total Cases/1M pop":"307,137","Total Deaths":"28,130","Total Recovered":"2,958,806","Total Tests":"76,515,099","place":"36"},{"Active Cases":"40,173","Country":"Denmark","Critical":"18","Deaths/1M pop":"1,014","New Cases":"+1,626","New Deaths":"+23","New Recovered":"+3,171","Population":"5,828,300","Region":"Europe","Tests/1M pop":"21,785,870","Total Cases":"2,936,789","Total Cases/1M pop":"503,884","Total Deaths":"5,908","Total Recovered":"2,890,708","Total Tests":"126,974,589","place":"37"},{"Active Cases":"200,982","Country":"Romania","Critical":"279","Deaths/1M pop":"3,430","New Cases":"+912","New Deaths":"+9","New Recovered":"","Population":"19,010,608","Region":"Europe","Tests/1M pop":"1,174,465","Total Cases":"2,872,849","Total Cases/1M pop":"151,118","Total Deaths":"65,207","Total Recovered":"2,606,660","Total Tests":"22,327,299","place":"38"},{"Active Cases":"25,297","Country":"Sweden","Critical":"22","Deaths/1M pop":"1,809","New Cases":"","New Deaths":"","New Recovered":"+1,619","Population":"10,210,710","Region":"Europe","Tests/1M pop":"1,806,479","Total Cases":"2,491,980","Total Cases/1M pop":"244,056","Total Deaths":"18,472","Total Recovered":"2,448,211","Total Tests":"18,445,431","place":"39"},{"Active Cases":"8,165","Country":"Iraq","Critical":"36","Deaths/1M pop":"602","New Cases":"+93","New Deaths":"+2","New Recovered":"+512","Population":"41,818,929","Region":"Asia","Tests/1M pop":"439,822","Total Cases":"2,321,874","Total Cases/1M pop":"55,522","Total Deaths":"25,185","Total Recovered":"2,288,524","Total Tests":"18,392,880","place":"40"},{"Active Cases":"27,395","Country":"Serbia","Critical":"28","Deaths/1M pop":"1,831","New Cases":"+699","New Deaths":"+7","New Recovered":"+2,306","Population":"8,675,092","Region":"Europe","Tests/1M pop":"1,072,327","Total Cases":"1,989,415","Total Cases/1M pop":"229,325","Total Deaths":"15,884","Total Recovered":"1,946,136","Total Tests":"9,302,535","place":"41"},{"Active Cases":"34,302","Country":"Bangladesh","Critical":"1,283","Deaths/1M pop":"174","New Cases":"+42","New Deaths":"","New Recovered":"+707","Population":"167,592,858","Region":"Asia","Tests/1M pop":"82,869","Total Cases":"1,952,065","Total Cases/1M pop":"11,648","Total Deaths":"29,123","Total Recovered":"1,888,640","Total Tests":"13,888,179","place":"42"},{"Active Cases":"96,962","Country":"Hungary","Critical":"50","Deaths/1M pop":"4,754","New Cases":"","New Deaths":"","New Recovered":"","Population":"9,616,942","Region":"Europe","Tests/1M pop":"1,163,768","Total Cases":"1,868,007","Total Cases/1M pop":"194,241","Total Deaths":"45,721","Total Recovered":"1,725,324","Total Tests":"11,191,893","place":"43"},{"Active Cases":"63,092","Country":"Slovakia","Critical":"136","Deaths/1M pop":"3,582","New Cases":"+2,168","New Deaths":"+24","New Recovered":"+5,534","Population":"5,464,322","Region":"Europe","Tests/1M pop":"1,276,327","Total Cases":"1,750,541","Total Cases/1M pop":"320,358","Total Deaths":"19,573","Total Recovered":"1,667,876","Total Tests":"6,974,263","place":"44"},{"Active Cases":"1,227","Country":"Jordan","Critical":"124","Deaths/1M pop":"1,353","New Cases":"","New Deaths":"","New Recovered":"","Population":"10,382,377","Region":"Asia","Tests/1M pop":"1,605,630","Total Cases":"1,694,216","Total Cases/1M pop":"163,182","Total Deaths":"14,048","Total Recovered":"1,678,941","Total Tests":"16,670,254","place":"45"},{"Active Cases":"3,265","Country":"Georgia","Critical":"","Deaths/1M pop":"4,218","New Cases":"+148","New Deaths":"+1","New Recovered":"+425","Population":"3,975,616","Region":"Asia","Tests/1M pop":"4,168,961","Total Cases":"1,651,470","Total Cases/1M pop":"415,400","Total Deaths":"16,771","Total Recovered":"1,631,434","Total Tests":"16,574,189","place":"46"},{"Active Cases":"9,387","Country":"Pakistan","Critical":"273","Deaths/1M pop":"133","New Cases":"+96","New Deaths":"","New Recovered":"+91","Population":"228,479,688","Region":"Asia","Tests/1M pop":"121,414","Total Cases":"1,526,568","Total Cases/1M pop":"6,681","Total Deaths":"30,361","Total Recovered":"1,486,820","Total Tests":"27,740,595","place":"47"},{"Active Cases":"154,463","Country":"Ireland","Critical":"58","Deaths/1M pop":"1,363","New Cases":"","New Deaths":"","New Recovered":"+4,057","Population":"5,035,388","Region":"Europe","Tests/1M pop":"2,365,395","Total Cases":"1,487,164","Total Cases/1M pop":"295,342","Total Deaths":"6,863","Total Recovered":"1,325,838","Total Tests":"11,910,682","place":"48"},{"Active Cases":"N/A","Country":"Norway","Critical":"20","Deaths/1M pop":"485","New Cases":"+319","New Deaths":"","New Recovered":"N/A","Population":"5,496,259","Region":"Europe","Tests/1M pop":"2,001,803","Total Cases":"1,415,928","Total Cases/1M pop":"257,617","Total Deaths":"2,667","Total Recovered":"N/A","Total Tests":"11,002,430","place":"49"},{"Active Cases":"1,111","Country":"Kazakhstan","Critical":"528","Deaths/1M pop":"712","New Cases":"+13","New Deaths":"","New Recovered":"+19","Population":"19,174,128","Region":"Asia","Tests/1M pop":"603,679","Total Cases":"1,305,292","Total Cases/1M pop":"68,076","Total Deaths":"13,660","Total Recovered":"1,290,521","Total Tests":"11,575,012","place":"50"},{"Active Cases":"N/A","Country":"HongKong","Critical":"115","Deaths/1M pop":"1,153","New Cases":"+1,921","New Deaths":"+65","New Recovered":"N/A","Population":"7,604,617","Region":"Asia","Tests/1M pop":"5,913,901","Total Cases":"1,190,183","Total Cases/1M pop":"156,508","Total Deaths":"8,770","Total Recovered":"N/A","Total Tests":"44,972,952","place":"51"},{"Active Cases":"789","Country":"Morocco","Critical":"293","Deaths/1M pop":"426","New Cases":"+68","New Deaths":"","New Recovered":"+52","Population":"37,684,707","Region":"Africa","Tests/1M pop":"298,185","Total Cases":"1,164,030","Total Cases/1M pop":"30,889","Total Deaths":"16,061","Total Recovered":"1,147,180","Total Tests":"11,237,010","place":"52"},{"Active Cases":"169,657","Country":"Bulgaria","Critical":"136","Deaths/1M pop":"5,353","New Cases":"+265","New Deaths":"+8","New Recovered":"+224","Population":"6,855,891","Region":"Europe","Tests/1M pop":"1,413,691","Total Cases":"1,145,408","Total Cases/1M pop":"167,069","Total Deaths":"36,700","Total Recovered":"939,051","Total Tests":"9,692,112","place":"53"},{"Active Cases":"71,756","Country":"Singapore","Critical":"17","Deaths/1M pop":"219","New Cases":"+2,573","New Deaths":"+2","New Recovered":"","Population":"5,931,766","Region":"Asia","Tests/1M pop":"3,980,535","Total Cases":"1,138,001","Total Cases/1M pop":"191,849","Total Deaths":"1,301","Total Recovered":"1,064,944","Total Tests":"23,611,604","place":"54"},{"Active Cases":"6,738","Country":"Croatia","Critical":"28","Deaths/1M pop":"3,863","New Cases":"+515","New Deaths":"+10","New Recovered":"+1,213","Population":"4,060,469","Region":"Europe","Tests/1M pop":"1,162,679","Total Cases":"1,109,066","Total Cases/1M pop":"273,137","Total Deaths":"15,685","Total Recovered":"1,086,643","Total Tests":"4,721,021","place":"55"},{"Active Cases":"2,829","Country":"Cuba","Critical":"23","Deaths/1M pop":"753","New Cases":"+603","New Deaths":"+1","New Recovered":"+584","Population":"11,314,381","Region":"NorthAmerica","Tests/1M pop":"1,141,932","Total Cases":"1,096,837","Total Cases/1M pop":"96,942","Total Deaths":"8,518","Total Recovered":"1,085,490","Total Tests":"12,920,253","place":"56"},{"Active Cases":"12,249","Country":"Lebanon","Critical":"186","Deaths/1M pop":"1,527","New Cases":"+169","New Deaths":"+3","New Recovered":"","Population":"6,771,357","Region":"Asia","Tests/1M pop":"708,215","Total Cases":"1,094,672","Total Cases/1M pop":"161,662","Total Deaths":"10,341","Total Recovered":"1,072,082","Total Tests":"4,795,578","place":"57"},{"Active Cases":"42,897","Country":"Lithuania","Critical":"44","Deaths/1M pop":"3,378","New Cases":"+853","New Deaths":"+5","New Recovered":"+1,074","Population":"2,655,090","Region":"Europe","Tests/1M pop":"3,064,977","Total Cases":"1,041,442","Total Cases/1M pop":"392,244","Total Deaths":"8,969","Total Recovered":"989,576","Total Tests":"8,137,789","place":"58"},{"Active Cases":"N/A","Country":"Tunisia","Critical":"29","Deaths/1M pop":"2,361","New Cases":"","New Deaths":"","New Recovered":"N/A","Population":"12,037,455","Region":"Africa","Tests/1M pop":"376,982","Total Cases":"1,037,358","Total Cases/1M pop":"86,178","Total Deaths":"28,425","Total Recovered":"N/A","Total Tests":"4,537,900","place":"59"},{"Active Cases":"30,105","Country":"Slovenia","Critical":"42","Deaths/1M pop":"3,143","New Cases":"+785","New Deaths":"+4","New Recovered":"+1,342","Population":"2,079,444","Region":"Europe","Tests/1M pop":"1,263,374","Total Cases":"987,527","Total Cases/1M pop":"474,900","Total Deaths":"6,535","Total Recovered":"950,887","Total Tests":"2,627,115","place":"60"},{"Active Cases":"592","Country":"Nepal","Critical":"","Deaths/1M pop":"398","New Cases":"+3","New Deaths":"","New Recovered":"+48","Population":"30,063,903","Region":"Asia","Tests/1M pop":"185,482","Total Cases":"978,571","Total Cases/1M pop":"32,550","Total Deaths":"11,951","Total Recovered":"966,028","Total Tests":"5,576,300","place":"61"},{"Active Cases":"34,731","Country":"Belarus","Critical":"","Deaths/1M pop":"728","New Cases":"+525","New Deaths":"+2","New Recovered":"","Population":"9,443,822","Region":"Europe","Tests/1M pop":"1,372,757","Total Cases":"970,141","Total Cases/1M pop":"102,728","Total Deaths":"6,874","Total Recovered":"928,536","Total Tests":"12,964,077","place":"62"},{"Active Cases":"871,358","Country":"Finland","Critical":"33","Deaths/1M pop":"600","New Cases":"","New Deaths":"","New Recovered":"","Population":"5,555,953","Region":"Europe","Tests/1M pop":"1,892,192","Total Cases":"920,692","Total Cases/1M pop":"165,713","Total Deaths":"3,334","Total Recovered":"46,000","Total Tests":"10,512,930","place":"63"},{"Active Cases":"33,142","Country":"Bolivia","Critical":"220","Deaths/1M pop":"1,832","New Cases":"+62","New Deaths":"","New Recovered":"+747","Population":"11,954,760","Region":"SouthAmerica","Tests/1M pop":"224,747","Total Cases":"903,306","Total Cases/1M pop":"75,560","Total Deaths":"21,899","Total Recovered":"848,265","Total Tests":"2,686,794","place":"64"},{"Active Cases":"3,556","Country":"Uruguay","Critical":"29","Deaths/1M pop":"2,055","New Cases":"+334","New Deaths":"+1","New Recovered":"+520","Population":"3,495,035","Region":"SouthAmerica","Tests/1M pop":"1,736,426","Total Cases":"893,909","Total Cases/1M pop":"255,765","Total Deaths":"7,182","Total Recovered":"883,171","Total Tests":"6,068,869","place":"65"},{"Active Cases":"17,420","Country":"UAE","Critical":"","Deaths/1M pop":"228","New Cases":"+224","New Deaths":"","New Recovered":"+591","Population":"10,101,852","Region":"Asia","Tests/1M pop":"14,907,442","Total Cases":"893,762","Total Cases/1M pop":"88,475","Total Deaths":"2,302","Total Recovered":"874,040","Total Tests":"150,592,774","place":"66"},{"Active Cases":"N/A","Country":"Ecuador","Critical":"759","Deaths/1M pop":"1,957","New Cases":"","New Deaths":"","New Recovered":"N/A","Population":"18,117,060","Region":"SouthAmerica","Tests/1M pop":"136,345","Total Cases":"863,398","Total Cases/1M pop":"47,657","Total Deaths":"35,461","Total Recovered":"N/A","Total Tests":"2,470,170","place":"67"},{"Active Cases":"12,163","Country":"CostaRica","Critical":"63","Deaths/1M pop":"1,609","New Cases":"","New Deaths":"","New Recovered":"","Population":"5,176,436","Region":"NorthAmerica","Tests/1M pop":"799,124","Total Cases":"841,343","Total Cases/1M pop":"162,533","Total Deaths":"8,327","Total Recovered":"820,853","Total Tests":"4,136,613","place":"68"},{"Active Cases":"5,073","Country":"Guatemala","Critical":"5","Deaths/1M pop":"939","New Cases":"+125","New Deaths":"+4","New Recovered":"+444","Population":"18,501,840","Region":"NorthAmerica","Tests/1M pop":"233,630","Total Cases":"835,338","Total Cases/1M pop":"45,149","Total Deaths":"17,377","Total Recovered":"812,888","Total Tests":"4,322,582","place":"69"},{"Active Cases":"18,060","Country":"Latvia","Critical":"27","Deaths/1M pop":"3,071","New Cases":"+458","New Deaths":"+1","New Recovered":"+1,134","Population":"1,849,302","Region":"Europe","Tests/1M pop":"3,840,149","Total Cases":"808,799","Total Cases/1M pop":"437,354","Total Deaths":"5,679","Total Recovered":"785,060","Total Tests":"7,101,595","place":"70"},{"Active Cases":"202","Country":"Azerbaijan","Critical":"","Deaths/1M pop":"942","New Cases":"+21","New Deaths":"","New Recovered":"+39","Population":"10,300,902","Region":"Asia","Tests/1M pop":"654,648","Total Cases":"792,237","Total Cases/1M pop":"76,909","Total Deaths":"9,703","Total Recovered":"782,332","Total Tests":"6,743,461","place":"71"},{"Active Cases":"74,087","Country":"NewZealand","Critical":"","Deaths/1M pop":"91","New Cases":"+6,755","New Deaths":"+12","New Recovered":"+8,826","Population":"5,002,100","Region":"Australia/Oceania","Tests/1M pop":"1,389,728","Total Cases":"767,295","Total Cases/1M pop":"153,395","Total Deaths":"457","Total Recovered":"692,751","Total Tests":"6,951,558","place":"72"},{"Active Cases":"2,287","Country":"Panama","Critical":"10","Deaths/1M pop":"1,844","New Cases":"","New Deaths":"","New Recovered":"","Population":"4,434,939","Region":"NorthAmerica","Tests/1M pop":"1,297,178","Total Cases":"766,758","Total Cases/1M pop":"172,890","Total Deaths":"8,176","Total Recovered":"756,295","Total Tests":"5,752,906","place":"73"},{"Active Cases":"5,556","Country":"SaudiArabia","Critical":"75","Deaths/1M pop":"253","New Cases":"+96","New Deaths":"+3","New Recovered":"+289","Population":"35,773,122","Region":"Asia","Tests/1M pop":"1,164,696","Total Cases":"751,813","Total Cases/1M pop":"21,016","Total Deaths":"9,058","Total Recovered":"737,199","Total Tests":"41,664,826","place":"74"},{"Active Cases":"3,603","Country":"SriLanka","Critical":"","Deaths/1M pop":"764","New Cases":"+33","New Deaths":"","New Recovered":"+7","Population":"21,572,141","Region":"Asia","Tests/1M pop":"295,203","Total Cases":"662,592","Total Cases/1M pop":"30,715","Total Deaths":"16,489","Total Recovered":"642,500","Total Tests":"6,368,159","place":"75"},{"Active Cases":"5,039","Country":"Paraguay","Critical":"3","Deaths/1M pop":"2,571","New Cases":"","New Deaths":"","New Recovered":"","Population":"7,287,567","Region":"SouthAmerica","Tests/1M pop":"358,892","Total Cases":"648,446","Total Cases/1M pop":"88,980","Total Deaths":"18,734","Total Recovered":"624,673","Total Tests":"2,615,453","place":"76"},{"Active Cases":"1,433","Country":"Kuwait","Critical":"6","Deaths/1M pop":"583","New Cases":"","New Deaths":"","New Recovered":"","Population":"4,382,317","Region":"Asia","Tests/1M pop":"1,813,747","Total Cases":"630,252","Total Cases/1M pop":"143,817","Total Deaths":"2,555","Total Recovered":"626,264","Total Tests":"7,948,416","place":"77"},{"Active Cases":"2,018","Country":"Myanmar","Critical":"","Deaths/1M pop":"353","New Cases":"+63","New Deaths":"","New Recovered":"+80","Population":"55,055,305","Region":"Asia","Tests/1M pop":"141,349","Total Cases":"612,341","Total Cases/1M pop":"11,122","Total Deaths":"19,434","Total Recovered":"590,889","Total Tests":"7,782,033","place":"78"},{"Active Cases":"713","Country":"Palestine","Critical":"17","Deaths/1M pop":"1,008","New Cases":"+211","New Deaths":"+1","New Recovered":"+518","Population":"5,311,157","Region":"Asia","Tests/1M pop":"579,635","Total Cases":"581,678","Total Cases/1M pop":"109,520","Total Deaths":"5,352","Total Recovered":"575,613","Total Tests":"3,078,533","place":"79"},{"Active Cases":"121","Country":"DominicanRepublic","Critical":"20","Deaths/1M pop":"396","New Cases":"","New Deaths":"","New Recovered":"","Population":"11,040,412","Region":"NorthAmerica","Tests/1M pop":"294,134","Total Cases":"578,531","Total Cases/1M pop":"52,401","Total Deaths":"4,375","Total Recovered":"574,035","Total Tests":"3,247,359","place":"80"},{"Active Cases":"66,016","Country":"Estonia","Critical":"4","Deaths/1M pop":"1,878","New Cases":"+347","New Deaths":"+4","New Recovered":"+1,233","Population":"1,328,114","Region":"Europe","Tests/1M pop":"2,465,957","Total Cases":"564,031","Total Cases/1M pop":"424,686","Total Deaths":"2,494","Total Recovered":"495,521","Total Tests":"3,275,072","place":"81"},{"Active Cases":"4,537","Country":"Bahrain","Critical":"4","Deaths/1M pop":"816","New Cases":"+592","New Deaths":"+1","New Recovered":"+670","Population":"1,806,133","Region":"Asia","Tests/1M pop":"5,342,446","Total Cases":"560,023","Total Cases/1M pop":"310,067","Total Deaths":"1,473","Total Recovered":"554,013","Total Tests":"9,649,168","place":"82"},{"Active Cases":"1,716","Country":"Venezuela","Critical":"230","Deaths/1M pop":"201","New Cases":"","New Deaths":"","New Recovered":"","Population":"28,293,361","Region":"SouthAmerica","Tests/1M pop":"118,721","Total Cases":"521,373","Total Cases/1M pop":"18,427","Total Deaths":"5,693","Total Recovered":"513,964","Total Tests":"3,359,014","place":"83"},{"Active Cases":"2,121","Country":"Moldova","Critical":"46","Deaths/1M pop":"2,853","New Cases":"+133","New Deaths":"+1","New Recovered":"+208","Population":"4,017,372","Region":"Europe","Tests/1M pop":"792,742","Total Cases":"515,445","Total Cases/1M pop":"128,304","Total Deaths":"11,462","Total Recovered":"501,862","Total Tests":"3,184,739","place":"84"},{"Active Cases":"46,246","Country":"Egypt","Critical":"122","Deaths/1M pop":"231","New Cases":"","New Deaths":"","New Recovered":"","Population":"105,748,814","Region":"Africa","Tests/1M pop":"34,926","Total Cases":"509,177","Total Cases/1M pop":"4,815","Total Deaths":"24,473","Total Recovered":"438,458","Total Tests":"3,693,367","place":"85"},{"Active Cases":"4,568","Country":"Libya","Critical":"101","Deaths/1M pop":"914","New Cases":"","New Deaths":"","New Recovered":"","Population":"7,036,619","Region":"Africa","Tests/1M pop":"351,760","Total Cases":"501,834","Total Cases/1M pop":"71,317","Total Deaths":"6,429","Total Recovered":"490,837","Total Tests":"2,475,203","place":"86"},{"Active Cases":"8,971","Country":"Ethiopia","Critical":"17","Deaths/1M pop":"63","New Cases":"+25","New Deaths":"","New Recovered":"+5","Population":"119,999,775","Region":"Africa","Tests/1M pop":"39,202","Total Cases":"470,050","Total Cases/1M pop":"3,917","Total Deaths":"7,509","Total Recovered":"453,570","Total Tests":"4,704,274","place":"87"},{"Active Cases":"153,703","Country":"Mongolia","Critical":"192","Deaths/1M pop":"646","New Cases":"+52","New Deaths":"","New Recovered":"","Population":"3,371,692","Region":"Asia","Tests/1M pop":"1,195,260","Total Cases":"469,136","Total Cases/1M pop":"139,140","Total Deaths":"2,177","Total Recovered":"313,256","Total Tests":"4,030,048","place":"88"},{"Active Cases":"332,233","Country":"Cyprus","Critical":"60","Deaths/1M pop":"803","New Cases":"+1,459","New Deaths":"+2","New Recovered":"","Population":"1,222,913","Region":"Asia","Tests/1M pop":"7,749,642","Total Cases":"457,585","Total Cases/1M pop":"374,176","Total Deaths":"982","Total Recovered":"124,370","Total Tests":"9,477,138","place":"89"},{"Active Cases":"3,733","Country":"Armenia","Critical":"","Deaths/1M pop":"2,899","New Cases":"+15","New Deaths":"","New Recovered":"+14","Population":"2,973,045","Region":"Asia","Tests/1M pop":"1,008,532","Total Cases":"422,677","Total Cases/1M pop":"142,170","Total Deaths":"8,620","Total Recovered":"410,324","Total Tests":"2,998,412","place":"90"},{"Active Cases":"279,280","Country":"Honduras","Critical":"105","Deaths/1M pop":"1,069","New Cases":"","New Deaths":"","New Recovered":"","Population":"10,183,314","Region":"NorthAmerica","Tests/1M pop":"124,059","Total Cases":"421,268","Total Cases/1M pop":"41,368","Total Deaths":"10,888","Total Recovered":"131,100","Total Tests":"1,263,329","place":"91"},{"Active Cases":"751","Country":"Oman","Critical":"3","Deaths/1M pop":"797","New Cases":"+24","New Deaths":"+1","New Recovered":"+189","Population":"5,336,307","Region":"Asia","Tests/1M pop":"4,684,888","Total Cases":"388,686","Total Cases/1M pop":"72,838","Total Deaths":"4,254","Total Recovered":"383,681","Total Tests":"25,000,000","place":"92"},{"Active Cases":"168,131","Country":"BosniaandHerzegovina","Critical":"","Deaths/1M pop":"4,849","New Cases":"","New Deaths":"","New Recovered":"","Population":"3,244,708","Region":"Europe","Tests/1M pop":"537,113","Total Cases":"376,081","Total Cases/1M pop":"115,906","Total Deaths":"15,732","Total Recovered":"192,218","Total Tests":"1,742,774","place":"93"},{"Active Cases":"1,231","Country":"Qatar","Critical":"1","Deaths/1M pop":"241","New Cases":"+160","New Deaths":"","New Recovered":"+147","Population":"2,807,805","Region":"Asia","Tests/1M pop":"1,217,015","Total Cases":"362,783","Total Cases/1M pop":"129,205","Total Deaths":"677","Total Recovered":"360,875","Total Tests":"3,417,141","place":"94"},{"Active Cases":"15,485","Country":"R\u00e9union","Critical":"10","Deaths/1M pop":"794","New Cases":"","New Deaths":"","New Recovered":"","Population":"906,619","Region":"Africa","Tests/1M pop":"1,768,836","Total Cases":"347,941","Total Cases/1M pop":"383,779","Total Deaths":"720","Total Recovered":"331,736","Total Tests":"1,603,660","place":"95"},{"Active Cases":"118","Country":"Kenya","Critical":"1","Deaths/1M pop":"101","New Cases":"+10","New Deaths":"","New Recovered":"+21","Population":"55,866,269","Region":"Africa","Tests/1M pop":"63,544","Total Cases":"323,541","Total Cases/1M pop":"5,791","Total Deaths":"5,648","Total Recovered":"317,775","Total Tests":"3,549,966","place":"96"},{"Active Cases":"795","Country":"Zambia","Critical":"","Deaths/1M pop":"206","New Cases":"","New Deaths":"","New Recovered":"","Population":"19,294,367","Region":"Africa","Tests/1M pop":"174,868","Total Cases":"317,483","Total Cases/1M pop":"16,455","Total Deaths":"3,967","Total Recovered":"312,721","Total Tests":"3,373,977","place":"97"},{"Active Cases":"1,381","Country":"NorthMacedonia","Critical":"","Deaths/1M pop":"4,441","New Cases":"+142","New Deaths":"+7","New Recovered":"+105","Population":"2,083,223","Region":"Europe","Tests/1M pop":"948,917","Total Cases":"307,796","Total Cases/1M pop":"147,750","Total Deaths":"9,251","Total Recovered":"297,164","Total Tests":"1,976,805","place":"98"},{"Active Cases":"364","Country":"Botswana","Critical":"1","Deaths/1M pop":"1,103","New Cases":"","New Deaths":"","New Recovered":"","Population":"2,435,618","Region":"Africa","Tests/1M pop":"832,190","Total Cases":"305,526","Total Cases/1M pop":"125,441","Total Deaths":"2,686","Total Recovered":"302,476","Total Tests":"2,026,898","place":"99"},{"Active Cases":"385","Country":"Albania","Critical":"2","Deaths/1M pop":"1,216","New Cases":"+28","New Deaths":"+1","New Recovered":"+24","Population":"2,872,236","Region":"Europe","Tests/1M pop":"622,105","Total Cases":"274,219","Total Cases/1M pop":"95,472","Total Deaths":"3,493","Total Recovered":"270,341","Total Tests":"1,786,831","place":"100"},{"Active Cases":"80,529","Country":"Algeria","Critical":"6","Deaths/1M pop":"152","New Cases":"+4","New Deaths":"","New Recovered":"+2","Population":"45,251,863","Region":"Africa","Tests/1M pop":"5,102","Total Cases":"265,724","Total Cases/1M pop":"5,872","Total Deaths":"6,874","Total Recovered":"178,321","Total Tests":"230,861","place":"101"},{"Active Cases":"2,746","Country":"Nigeria","Critical":"11","Deaths/1M pop":"15","New Cases":"","New Deaths":"","New Recovered":"","Population":"215,175,364","Region":"Africa","Tests/1M pop":"22,802","Total Cases":"255,606","Total Cases/1M pop":"1,188","Total Deaths":"3,142","Total Recovered":"249,718","Total Tests":"4,906,535","place":"102"},{"Active Cases":"1,245","Country":"Zimbabwe","Critical":"12","Deaths/1M pop":"358","New Cases":"","New Deaths":"","New Recovered":"","Population":"15,245,741","Region":"Africa","Tests/1M pop":"145,180","Total Cases":"246,958","Total Cases/1M pop":"16,198","Total Deaths":"5,457","Total Recovered":"240,256","Total Tests":"2,213,383","place":"103"},{"Active Cases":"453","Country":"Uzbekistan","Critical":"23","Deaths/1M pop":"48","New Cases":"+31","New Deaths":"","New Recovered":"+60","Population":"34,327,437","Region":"Asia","Tests/1M pop":"40,140","Total Cases":"238,071","Total Cases/1M pop":"6,935","Total Deaths":"1,637","Total Recovered":"235,981","Total Tests":"1,377,915","place":"104"},{"Active Cases":"460","Country":"Montenegro","Critical":"6","Deaths/1M pop":"4,307","New Cases":"+29","New Deaths":"","New Recovered":"+63","Population":"628,207","Region":"Europe","Tests/1M pop":"3,871,786","Total Cases":"233,721","Total Cases/1M pop":"372,045","Total Deaths":"2,706","Total Recovered":"230,555","Total Tests":"2,432,283","place":"105"},{"Active Cases":"46","Country":"Mozambique","Critical":"13","Deaths/1M pop":"67","New Cases":"+13","New Deaths":"","New Recovered":"","Population":"32,803,865","Region":"Africa","Tests/1M pop":"39,701","Total Cases":"225,293","Total Cases/1M pop":"6,868","Total Deaths":"2,200","Total Recovered":"223,047","Total Tests":"1,302,362","place":"106"},{"Active Cases":"17,774","Country":"Luxembourg","Critical":"4","Deaths/1M pop":"1,623","New Cases":"","New Deaths":"","New Recovered":"","Population":"643,996","Region":"Europe","Tests/1M pop":"6,497,838","Total Cases":"223,666","Total Cases/1M pop":"347,310","Total Deaths":"1,045","Total Recovered":"204,847","Total Tests":"4,184,582","place":"107"},{"Active Cases":"1,686","Country":"Kyrgyzstan","Critical":"131","Deaths/1M pop":"445","New Cases":"+1","New Deaths":"","New Recovered":"+5","Population":"6,714,629","Region":"Asia","Tests/1M pop":"284,036","Total Cases":"200,970","Total Cases/1M pop":"29,930","Total Deaths":"2,991","Total Recovered":"196,293","Total Tests":"1,907,195","place":"108"},{"Active Cases":"187,107","Country":"Laos","Critical":"","Deaths/1M pop":"94","New Cases":"+924","New Deaths":"+6","New Recovered":"","Population":"7,462,358","Region":"Asia","Tests/1M pop":"138,356","Total Cases":"195,465","Total Cases/1M pop":"26,193","Total Deaths":"698","Total Recovered":"7,660","Total Tests":"1,032,460","place":"109"},{"Active Cases":"107,576","Country":"Iceland","Critical":"1","Deaths/1M pop":"296","New Cases":"","New Deaths":"","New Recovered":"","Population":"345,162","Region":"Europe","Tests/1M pop":"5,659,997","Total Cases":"183,363","Total Cases/1M pop":"531,238","Total Deaths":"102","Total Recovered":"75,685","Total Tests":"1,953,616","place":"110"},{"Active Cases":"9,270","Country":"Afghanistan","Critical":"1,124","Deaths/1M pop":"190","New Cases":"","New Deaths":"","New Recovered":"","Population":"40,478,994","Region":"Asia","Tests/1M pop":"22,888","Total Cases":"177,974","Total Cases/1M pop":"4,397","Total Deaths":"7,671","Total Recovered":"161,033","Total Tests":"926,472","place":"111"},{"Active Cases":"13,673","Country":"Maldives","Critical":"25","Deaths/1M pop":"535","New Cases":"","New Deaths":"","New Recovered":"","Population":"557,386","Region":"Asia","Tests/1M pop":"3,971,809","Total Cases":"177,658","Total Cases/1M pop":"318,734","Total Deaths":"298","Total Recovered":"163,687","Total Tests":"2,213,831","place":"112"},{"Active Cases":"60,199","Country":"Uganda","Critical":"3","Deaths/1M pop":"74","New Cases":"+8","New Deaths":"","New Recovered":"","Population":"48,294,982","Region":"Africa","Tests/1M pop":"53,587","Total Cases":"163,993","Total Cases/1M pop":"3,396","Total Deaths":"3,596","Total Recovered":"100,198","Total Tests":"2,587,984","place":"113"},{"Active Cases":"7,305","Country":"ElSalvador","Critical":"8","Deaths/1M pop":"630","New Cases":"+144","New Deaths":"+1","New Recovered":"+1,605","Population":"6,544,124","Region":"NorthAmerica","Tests/1M pop":"298,046","Total Cases":"162,089","Total Cases/1M pop":"24,769","Total Deaths":"4,122","Total Recovered":"150,662","Total Tests":"1,950,448","place":"114"},{"Active Cases":"37","Country":"Ghana","Critical":"1","Deaths/1M pop":"45","New Cases":"","New Deaths":"","New Recovered":"","Population":"32,220,242","Region":"Africa","Tests/1M pop":"75,296","Total Cases":"161,048","Total Cases/1M pop":"4,998","Total Deaths":"1,445","Total Recovered":"159,566","Total Tests":"2,426,051","place":"115"},{"Active Cases":"806","Country":"Namibia","Critical":"","Deaths/1M pop":"1,533","New Cases":"+38","New Deaths":"","New Recovered":"","Population":"2,622,310","Region":"Africa","Tests/1M pop":"377,964","Total Cases":"157,896","Total Cases/1M pop":"60,213","Total Deaths":"4,021","Total Recovered":"153,069","Total Tests":"991,139","place":"116"},{"Active Cases":"146,497","Country":"Martinique","Critical":"8","Deaths/1M pop":"2,450","New Cases":"","New Deaths":"","New Recovered":"","Population":"374,750","Region":"NorthAmerica","Tests/1M pop":"2,211,949","Total Cases":"147,519","Total Cases/1M pop":"393,646","Total Deaths":"918","Total Recovered":"104","Total Tests":"828,928","place":"117"},{"Active Cases":"6,236","Country":"TrinidadandTobago","Critical":"18","Deaths/1M pop":"2,686","New Cases":"+90","New Deaths":"+3","New Recovered":"+489","Population":"1,407,508","Region":"NorthAmerica","Tests/1M pop":"484,852","Total Cases":"140,332","Total Cases/1M pop":"99,702","Total Deaths":"3,780","Total Recovered":"130,316","Total Tests":"682,433","place":"118"},{"Active Cases":"137,026","Country":"Guadeloupe","Critical":"19","Deaths/1M pop":"2,134","New Cases":"","New Deaths":"","New Recovered":"","Population":"400,245","Region":"NorthAmerica","Tests/1M pop":"2,343,662","Total Cases":"140,130","Total Cases/1M pop":"350,111","Total Deaths":"854","Total Recovered":"2,250","Total Tests":"938,039","place":"119"},{"Active Cases":"2,242","Country":"Brunei","Critical":"4","Deaths/1M pop":"483","New Cases":"+269","New Deaths":"","New Recovered":"+338","Population":"444,892","Region":"Asia","Tests/1M pop":"1,613,389","Total Cases":"138,530","Total Cases/1M pop":"311,379","Total Deaths":"215","Total Recovered":"136,073","Total Tests":"717,784","place":"120"},{"Active Cases":"274","Country":"Cambodia","Critical":"","Deaths/1M pop":"178","New Cases":"+33","New Deaths":"","New Recovered":"+22","Population":"17,128,368","Region":"Asia","Tests/1M pop":"171,540","Total Cases":"135,947","Total Cases/1M pop":"7,937","Total Deaths":"3,055","Total Recovered":"132,618","Total Tests":"2,938,205","place":"121"},{"Active Cases":"82,770","Country":"Rwanda","Critical":"1","Deaths/1M pop":"108","New Cases":"+2","New Deaths":"","New Recovered":"","Population":"13,520,040","Region":"Africa","Tests/1M pop":"382,161","Total Cases":"129,750","Total Cases/1M pop":"9,597","Total Deaths":"1,458","Total Recovered":"45,522","Total Tests":"5,166,836","place":"122"},{"Active Cases":"44,258","Country":"Jamaica","Critical":"","Deaths/1M pop":"973","New Cases":"","New Deaths":"","New Recovered":"","Population":"2,984,040","Region":"NorthAmerica","Tests/1M pop":"316,776","Total Cases":"128,972","Total Cases/1M pop":"43,221","Total Deaths":"2,902","Total Recovered":"81,812","Total Tests":"945,271","place":"123"},{"Active Cases":"62","Country":"Cameroon","Critical":"13","Deaths/1M pop":"70","New Cases":"","New Deaths":"","New Recovered":"","Population":"27,714,481","Region":"Africa","Tests/1M pop":"63,208","Total Cases":"119,780","Total Cases/1M pop":"4,322","Total Deaths":"1,927","Total Recovered":"117,791","Total Tests":"1,751,774","place":"124"},{"Active Cases":"145","Country":"Angola","Critical":"","Deaths/1M pop":"55","New Cases":"","New Deaths":"","New Recovered":"","Population":"34,673,857","Region":"Africa","Tests/1M pop":"43,254","Total Cases":"99,194","Total Cases/1M pop":"2,861","Total Deaths":"1,900","Total Recovered":"97,149","Total Tests":"1,499,795","place":"125"},{"Active Cases":"34,481","Country":"DRC","Critical":"","Deaths/1M pop":"14","New Cases":"","New Deaths":"","New Recovered":"","Population":"94,375,655","Region":"Africa","Tests/1M pop":"8,972","Total Cases":"86,748","Total Cases/1M pop":"919","Total Deaths":"1,337","Total Recovered":"50,930","Total Tests":"846,704","place":"126"},{"Active Cases":"9,439","Country":"Malta","Critical":"4","Deaths/1M pop":"1,492","New Cases":"+542","New Deaths":"+3","New Recovered":"+317","Population":"443,624","Region":"Europe","Tests/1M pop":"4,143,960","Total Cases":"86,162","Total Cases/1M pop":"194,223","Total Deaths":"662","Total Recovered":"76,061","Total Tests":"1,838,360","place":"127"},{"Active Cases":"26","Country":"Senegal","Critical":"","Deaths/1M pop":"112","New Cases":"+1","New Deaths":"","New Recovered":"+8","Population":"17,524,218","Region":"Africa","Tests/1M pop":"60,193","Total Cases":"85,950","Total Cases/1M pop":"4,905","Total Deaths":"1,965","Total Recovered":"83,959","Total Tests":"1,054,841","place":"128"},{"Active Cases":"1,690","Country":"Malawi","Critical":"67","Deaths/1M pop":"131","New Cases":"+1","New Deaths":"","New Recovered":"+45","Population":"20,004,139","Region":"Africa","Tests/1M pop":"28,311","Total Cases":"85,703","Total Cases/1M pop":"4,284","Total Deaths":"2,628","Total Recovered":"81,385","Total Tests":"566,331","place":"129"},{"Active Cases":"47","Country":"IvoryCoast","Critical":"","Deaths/1M pop":"29","New Cases":"+14","New Deaths":"","New Recovered":"+7","Population":"27,533,484","Region":"Africa","Tests/1M pop":"53,844","Total Cases":"81,828","Total Cases/1M pop":"2,972","Total Deaths":"796","Total Recovered":"80,985","Total Tests":"1,482,520","place":"130"},{"Active Cases":"67,881","Country":"FrenchGuiana","Critical":"4","Deaths/1M pop":"1,261","New Cases":"","New Deaths":"","New Recovered":"","Population":"312,373","Region":"SouthAmerica","Tests/1M pop":"1,963,947","Total Cases":"79,529","Total Cases/1M pop":"254,596","Total Deaths":"394","Total Recovered":"11,254","Total Tests":"613,484","place":"131"},{"Active Cases":"28,524","Country":"Suriname","Critical":"","Deaths/1M pop":"2,223","New Cases":"","New Deaths":"","New Recovered":"","Population":"595,934","Region":"SouthAmerica","Tests/1M pop":"395,285","Total Cases":"79,241","Total Cases/1M pop":"132,969","Total Deaths":"1,325","Total Recovered":"49,392","Total Tests":"235,564","place":"132"},{"Active Cases":"N/A","Country":"FrenchPolynesia","Critical":"7","Deaths/1M pop":"2,283","New Cases":"","New Deaths":"","New Recovered":"N/A","Population":"283,782","Region":"Australia/Oceania","Tests/1M pop":"","Total Cases":"72,528","Total Cases/1M pop":"255,576","Total Deaths":"648","Total Recovered":"N/A","Total Tests":"","place":"133"},{"Active Cases":"1,561","Country":"ChannelIslands","Critical":"","Deaths/1M pop":"889","New Cases":"","New Deaths":"","New Recovered":"","Population":"176,699","Region":"Europe","Tests/1M pop":"7,068,721","Total Cases":"70,138","Total Cases/1M pop":"396,935","Total Deaths":"157","Total Recovered":"68,420","Total Tests":"1,249,036","place":"134"},{"Active Cases":"86","Country":"Eswatini","Critical":"11","Deaths/1M pop":"1,181","New Cases":"+2","New Deaths":"","New Recovered":"+48","Population":"1,181,421","Region":"Africa","Tests/1M pop":"852,573","Total Cases":"69,968","Total Cases/1M pop":"59,224","Total Deaths":"1,395","Total Recovered":"68,487","Total Tests":"1,007,248","place":"135"},{"Active Cases":"1,025","Country":"Fiji","Critical":"","Deaths/1M pop":"919","New Cases":"","New Deaths":"","New Recovered":"","Population":"907,941","Region":"Australia/Oceania","Tests/1M pop":"556,729","Total Cases":"64,492","Total Cases/1M pop":"71,031","Total Deaths":"834","Total Recovered":"62,633","Total Tests":"505,477","place":"136"},{"Active Cases":"3,344","Country":"Madagascar","Critical":"14","Deaths/1M pop":"48","New Cases":"+39","New Deaths":"+2","New Recovered":"+42","Population":"28,949,945","Region":"Africa","Tests/1M pop":"14,353","Total Cases":"64,089","Total Cases/1M pop":"2,214","Total Deaths":"1,390","Total Recovered":"59,355","Total Tests":"415,532","place":"137"},{"Active Cases":"109","Country":"Guyana","Critical":"3","Deaths/1M pop":"1,546","New Cases":"+11","New Deaths":"","New Recovered":"","Population":"793,269","Region":"SouthAmerica","Tests/1M pop":"728,140","Total Cases":"63,326","Total Cases/1M pop":"79,829","Total Deaths":"1,226","Total Recovered":"61,991","Total Tests":"577,611","place":"138"},{"Active Cases":"2,523","Country":"Barbados","Critical":"","Deaths/1M pop":"1,316","New Cases":"+261","New Deaths":"","New Recovered":"+398","Population":"287,998","Region":"NorthAmerica","Tests/1M pop":"2,167,675","Total Cases":"62,214","Total Cases/1M pop":"216,022","Total Deaths":"379","Total Recovered":"59,312","Total Tests":"624,286","place":"139"},{"Active Cases":"N/A","Country":"Sudan","Critical":"","Deaths/1M pop":"107","New Cases":"","New Deaths":"","New Recovered":"N/A","Population":"45,660,018","Region":"Africa","Tests/1M pop":"12,329","Total Cases":"61,987","Total Cases/1M pop":"1,358","Total Deaths":"4,907","Total Recovered":"N/A","Total Tests":"562,941","place":"140"},{"Active Cases":"109","Country":"NewCaledonia","Critical":"9","Deaths/1M pop":"1,075","New Cases":"","New Deaths":"","New Recovered":"","Population":"290,355","Region":"Australia/Oceania","Tests/1M pop":"340,838","Total Cases":"60,362","Total Cases/1M pop":"207,890","Total Deaths":"312","Total Recovered":"59,941","Total Tests":"98,964","place":"141"},{"Active Cases":"11","Country":"Mauritania","Critical":"","Deaths/1M pop":"202","New Cases":"+1","New Deaths":"","New Recovered":"","Population":"4,865,788","Region":"Africa","Tests/1M pop":"162,354","Total Cases":"58,677","Total Cases/1M pop":"12,059","Total Deaths":"982","Total Recovered":"57,684","Total Tests":"789,980","place":"142"},{"Active Cases":"206","Country":"Belize","Critical":"6","Deaths/1M pop":"1,598","New Cases":"","New Deaths":"","New Recovered":"","Population":"410,398","Region":"NorthAmerica","Tests/1M pop":"1,279,587","Total Cases":"57,318","Total Cases/1M pop":"139,664","Total Deaths":"656","Total Recovered":"56,456","Total Tests":"525,140","place":"143"},{"Active Cases":"67","Country":"CaboVerde","Critical":"23","Deaths/1M pop":"708","New Cases":"+1","New Deaths":"","New Recovered":"+1","Population":"566,673","Region":"Africa","Tests/1M pop":"707,607","Total Cases":"55,972","Total Cases/1M pop":"98,773","Total Deaths":"401","Total Recovered":"55,504","Total Tests":"400,982","place":"144"},{"Active Cases":"736","Country":"Syria","Critical":"","Deaths/1M pop":"172","New Cases":"+3","New Deaths":"","New Recovered":"+13","Population":"18,252,535","Region":"Asia","Tests/1M pop":"8,014","Total Cases":"55,742","Total Cases/1M pop":"3,054","Total Deaths":"3,146","Total Recovered":"51,860","Total Tests":"146,269","place":"145"},{"Active Cases":"15","Country":"Gabon","Critical":"","Deaths/1M pop":"131","New Cases":"","New Deaths":"","New Recovered":"","Population":"2,318,619","Region":"Africa","Tests/1M pop":"685,370","Total Cases":"47,588","Total Cases/1M pop":"20,524","Total Deaths":"303","Total Recovered":"47,270","Total Tests":"1,589,113","place":"146"},{"Active Cases":"134","Country":"PapuaNewGuinea","Critical":"7","Deaths/1M pop":"70","New Cases":"","New Deaths":"","New Recovered":"","Population":"9,246,837","Region":"Australia/Oceania","Tests/1M pop":"26,944","Total Cases":"43,374","Total Cases/1M pop":"4,691","Total Deaths":"643","Total Recovered":"42,597","Total Tests":"249,149","place":"147"},{"Active Cases":"10,294","Country":"Bhutan","Critical":"3","Deaths/1M pop":"18","New Cases":"+1,593","New Deaths":"","New Recovered":"+490","Population":"786,643","Region":"Asia","Tests/1M pop":"2,763,360","Total Cases":"42,222","Total Cases/1M pop":"53,674","Total Deaths":"14","Total Recovered":"31,914","Total Tests":"2,173,778","place":"148"},{"Active Cases":"577","Country":"Cura\u00e7ao","Critical":"3","Deaths/1M pop":"1,634","New Cases":"","New Deaths":"","New Recovered":"","Population":"165,281","Region":"NorthAmerica","Tests/1M pop":"2,989,424","Total Cases":"41,153","Total Cases/1M pop":"248,988","Total Deaths":"270","Total Recovered":"40,306","Total Tests":"494,095","place":"149"},{"Active Cases":"739","Country":"Seychelles","Critical":"","Deaths/1M pop":"1,649","New Cases":"","New Deaths":"","New Recovered":"","Population":"99,425","Region":"Africa","Tests/1M pop":"","Total Cases":"40,866","Total Cases/1M pop":"411,023","Total Deaths":"164","Total Recovered":"39,963","Total Tests":"","place":"150"},{"Active Cases":"473","Country":"Andorra","Critical":"14","Deaths/1M pop":"1,975","New Cases":"","New Deaths":"","New Recovered":"","Population":"77,484","Region":"Europe","Tests/1M pop":"3,224,382","Total Cases":"40,328","Total Cases/1M pop":"520,469","Total Deaths":"153","Total Recovered":"39,702","Total Tests":"249,838","place":"151"},{"Active Cases":"37,852","Country":"Burundi","Critical":"","Deaths/1M pop":"3","New Cases":"","New Deaths":"","New Recovered":"","Population":"12,516,958","Region":"Africa","Tests/1M pop":"27,622","Total Cases":"38,663","Total Cases/1M pop":"3,089","Total Deaths":"38","Total Recovered":"773","Total Tests":"345,742","place":"152"},{"Active Cases":"33,807","Country":"Mayotte","Critical":"","Deaths/1M pop":"657","New Cases":"","New Deaths":"","New Recovered":"","Population":"284,457","Region":"Africa","Tests/1M pop":"621,953","Total Cases":"36,958","Total Cases/1M pop":"129,925","Total Deaths":"187","Total Recovered":"2,964","Total Tests":"176,919","place":"153"},{"Active Cases":"26","Country":"Togo","Critical":"","Deaths/1M pop":"32","New Cases":"+1","New Deaths":"","New Recovered":"+9","Population":"8,621,893","Region":"Africa","Tests/1M pop":"83,857","Total Cases":"36,957","Total Cases/1M pop":"4,286","Total Deaths":"272","Total Recovered":"36,659","Total Tests":"723,005","place":"154"},{"Active Cases":"1,211","Country":"Mauritius","Critical":"","Deaths/1M pop":"772","New Cases":"","New Deaths":"","New Recovered":"","Population":"1,275,503","Region":"Africa","Tests/1M pop":"281,203","Total Cases":"36,943","Total Cases/1M pop":"28,963","Total Deaths":"985","Total Recovered":"34,747","Total Tests":"358,675","place":"155"},{"Active Cases":"43","Country":"Guinea","Critical":"8","Deaths/1M pop":"32","New Cases":"","New Deaths":"","New Recovered":"","Population":"13,762,719","Region":"Africa","Tests/1M pop":"47,963","Total Cases":"36,459","Total Cases/1M pop":"2,649","Total Deaths":"440","Total Recovered":"35,976","Total Tests":"660,107","place":"156"},{"Active Cases":"26,937","Country":"FaeroeIslands","Critical":"5","Deaths/1M pop":"569","New Cases":"","New Deaths":"","New Recovered":"","Population":"49,191","Region":"Europe","Tests/1M pop":"15,815,901","Total Cases":"34,658","Total Cases/1M pop":"704,560","Total Deaths":"28","Total Recovered":"7,693","Total Tests":"778,000","place":"157"},{"Active Cases":"84","Country":"Aruba","Critical":"2","Deaths/1M pop":"1,971","New Cases":"","New Deaths":"","New Recovered":"","Population":"107,568","Region":"NorthAmerica","Tests/1M pop":"1,653,698","Total Cases":"34,189","Total Cases/1M pop":"317,836","Total Deaths":"212","Total Recovered":"33,893","Total Tests":"177,885","place":"158"},{"Active Cases":"N/A","Country":"Tanzania","Critical":"7","Deaths/1M pop":"13","New Cases":"","New Deaths":"","New Recovered":"N/A","Population":"62,742,768","Region":"Africa","Tests/1M pop":"","Total Cases":"33,815","Total Cases/1M pop":"539","Total Deaths":"800","Total Recovered":"N/A","Total Tests":"","place":"159"},{"Active Cases":"332","Country":"Bahamas","Critical":"11","Deaths/1M pop":"1,973","New Cases":"+12","New Deaths":"","New Recovered":"+6","Population":"399,893","Region":"NorthAmerica","Tests/1M pop":"572,716","Total Cases":"33,358","Total Cases/1M pop":"83,417","Total Deaths":"789","Total Recovered":"32,237","Total Tests":"229,025","place":"160"},{"Active Cases":"8,058","Country":"Lesotho","Critical":"","Deaths/1M pop":"321","New Cases":"","New Deaths":"","New Recovered":"","Population":"2,172,302","Region":"Africa","Tests/1M pop":"198,509","Total Cases":"32,910","Total Cases/1M pop":"15,150","Total Deaths":"697","Total Recovered":"24,155","Total Tests":"431,221","place":"161"},{"Active Cases":"668","Country":"Haiti","Critical":"","Deaths/1M pop":"72","New Cases":"","New Deaths":"","New Recovered":"","Population":"11,648,491","Region":"NorthAmerica","Tests/1M pop":"11,368","Total Cases":"30,585","Total Cases/1M pop":"2,626","Total Deaths":"835","Total Recovered":"29,082","Total Tests":"132,422","place":"162"},{"Active Cases":"167","Country":"Mali","Critical":"","Deaths/1M pop":"34","New Cases":"+20","New Deaths":"","New Recovered":"+2","Population":"21,282,207","Region":"Africa","Tests/1M pop":"30,797","Total Cases":"30,566","Total Cases/1M pop":"1,436","Total Deaths":"729","Total Recovered":"29,670","Total Tests":"655,427","place":"163"},{"Active Cases":"1,538","Country":"IsleofMan","Critical":"","Deaths/1M pop":"979","New Cases":"","New Deaths":"","New Recovered":"","Population":"85,829","Region":"Europe","Tests/1M pop":"1,756,434","Total Cases":"28,416","Total Cases/1M pop":"331,077","Total Deaths":"84","Total Recovered":"26,794","Total Tests":"150,753","place":"164"},{"Active Cases":"5,408","Country":"Taiwan","Critical":"","Deaths/1M pop":"36","New Cases":"+575","New Deaths":"","New Recovered":"+96","Population":"23,893,063","Region":"Asia","Tests/1M pop":"555,616","Total Cases":"27,410","Total Cases/1M pop":"1,147","Total Deaths":"854","Total Recovered":"21,148","Total Tests":"13,275,357","place":"165"},{"Active Cases":"1,283","Country":"Benin","Critical":"5","Deaths/1M pop":"13","New Cases":"","New Deaths":"","New Recovered":"","Population":"12,684,743","Region":"Africa","Tests/1M pop":"47,641","Total Cases":"26,952","Total Cases/1M pop":"2,125","Total Deaths":"163","Total Recovered":"25,506","Total Tests":"604,310","place":"166"},{"Active Cases":"11,939","Country":"Somalia","Critical":"","Deaths/1M pop":"81","New Cases":"","New Deaths":"","New Recovered":"","Population":"16,677,294","Region":"Africa","Tests/1M pop":"24,013","Total Cases":"26,471","Total Cases/1M pop":"1,587","Total Deaths":"1,350","Total Recovered":"13,182","Total Tests":"400,466","place":"167"},{"Active Cases":"3,516","Country":"Congo","Critical":"","Deaths/1M pop":"67","New Cases":"","New Deaths":"","New Recovered":"","Population":"5,758,294","Region":"Africa","Tests/1M pop":"60,402","Total Cases":"24,079","Total Cases/1M pop":"4,182","Total Deaths":"385","Total Recovered":"20,178","Total Tests":"347,815","place":"168"},{"Active Cases":"60","Country":"SaintLucia","Critical":"1","Deaths/1M pop":"1,972","New Cases":"+8","New Deaths":"","New Recovered":"+2","Population":"185,112","Region":"NorthAmerica","Tests/1M pop":"762,862","Total Cases":"23,037","Total Cases/1M pop":"124,449","Total Deaths":"365","Total Recovered":"22,612","Total Tests":"141,215","place":"169"},{"Active Cases":"15","Country":"Timor-Leste","Critical":"","Deaths/1M pop":"95","New Cases":"","New Deaths":"","New Recovered":"","Population":"1,362,867","Region":"Asia","Tests/1M pop":"189,995","Total Cases":"22,842","Total Cases/1M pop":"16,760","Total Deaths":"130","Total Recovered":"22,697","Total Tests":"258,938","place":"170"},{"Active Cases":"12,543","Country":"CaymanIslands","Critical":"1","Deaths/1M pop":"373","New Cases":"","New Deaths":"","New Recovered":"","Population":"67,088","Region":"NorthAmerica","Tests/1M pop":"3,320,609","Total Cases":"21,121","Total Cases/1M pop":"314,825","Total Deaths":"25","Total Recovered":"8,553","Total Tests":"222,773","place":"171"},{"Active Cases":"32","Country":"BurkinaFaso","Critical":"","Deaths/1M pop":"17","New Cases":"","New Deaths":"","New Recovered":"","Population":"21,916,852","Region":"Africa","Tests/1M pop":"11,361","Total Cases":"20,853","Total Cases/1M pop":"951","Total Deaths":"382","Total Recovered":"20,439","Total Tests":"248,995","place":"172"},{"Active Cases":"14,041","Country":"Nicaragua","Critical":"","Deaths/1M pop":"33","New Cases":"","New Deaths":"","New Recovered":"","Population":"6,764,018","Region":"NorthAmerica","Tests/1M pop":"","Total Cases":"18,491","Total Cases/1M pop":"2,734","Total Deaths":"225","Total Recovered":"4,225","Total Tests":"","place":"173"},{"Active Cases":"0","Country":"Tajikistan","Critical":"","Deaths/1M pop":"13","New Cases":"","New Deaths":"","New Recovered":"","Population":"9,916,544","Region":"Asia","Tests/1M pop":"","Total Cases":"17,388","Total Cases/1M pop":"1,753","Total Deaths":"124","Total Recovered":"17,264","Total Tests":"","place":"174"},{"Active Cases":"3,681","Country":"SouthSudan","Critical":"1","Deaths/1M pop":"12","New Cases":"","New Deaths":"","New Recovered":"","Population":"11,425,948","Region":"Africa","Tests/1M pop":"31,859","Total Cases":"17,333","Total Cases/1M pop":"1,517","Total Deaths":"138","Total Recovered":"13,514","Total Tests":"364,018","place":"175"},{"Active Cases":"556","Country":"Gibraltar","Critical":"","Deaths/1M pop":"2,999","New Cases":"","New Deaths":"","New Recovered":"","Population":"33,673","Region":"Europe","Tests/1M pop":"15,866,807","Total Cases":"17,236","Total Cases/1M pop":"511,864","Total Deaths":"101","Total Recovered":"16,579","Total Tests":"534,283","place":"176"},{"Active Cases":"328","Country":"Liechtenstein","Critical":"","Deaths/1M pop":"2,192","New Cases":"+22","New Deaths":"","New Recovered":"","Population":"38,322","Region":"Europe","Tests/1M pop":"2,666,197","Total Cases":"16,757","Total Cases/1M pop":"437,268","Total Deaths":"84","Total Recovered":"16,345","Total Tests":"102,174","place":"177"},{"Active Cases":"25","Country":"EquatorialGuinea","Critical":"5","Deaths/1M pop":"123","New Cases":"","New Deaths":"","New Recovered":"","Population":"1,484,474","Region":"Africa","Tests/1M pop":"204,359","Total Cases":"15,904","Total Cases/1M pop":"10,714","Total Deaths":"183","Total Recovered":"15,696","Total Tests":"303,365","place":"178"},{"Active Cases":"4","Country":"Djibouti","Critical":"","Deaths/1M pop":"186","New Cases":"","New Deaths":"","New Recovered":"","Population":"1,013,421","Region":"Africa","Tests/1M pop":"296,720","Total Cases":"15,594","Total Cases/1M pop":"15,387","Total Deaths":"189","Total Recovered":"15,401","Total Tests":"300,702","place":"179"},{"Active Cases":"328","Country":"SanMarino","Critical":"4","Deaths/1M pop":"3,318","New Cases":"","New Deaths":"","New Recovered":"","Population":"34,057","Region":"Europe","Tests/1M pop":"4,232,287","Total Cases":"15,181","Total Cases/1M pop":"445,753","Total Deaths":"113","Total Recovered":"14,740","Total Tests":"144,139","place":"180"},{"Active Cases":"7,677","Country":"CAR","Critical":"2","Deaths/1M pop":"23","New Cases":"","New Deaths":"","New Recovered":"","Population":"4,978,326","Region":"Africa","Tests/1M pop":"16,330","Total Cases":"14,649","Total Cases/1M pop":"2,943","Total Deaths":"113","Total Recovered":"6,859","Total Tests":"81,294","place":"181"},{"Active Cases":"52","Country":"Grenada","Critical":"4","Deaths/1M pop":"1,930","New Cases":"+40","New Deaths":"+1","New Recovered":"+45","Population":"113,446","Region":"NorthAmerica","Tests/1M pop":"1,282,064","Total Cases":"14,064","Total Cases/1M pop":"123,971","Total Deaths":"219","Total Recovered":"13,793","Total Tests":"145,445","place":"182"},{"Active Cases":"220","Country":"Bermuda","Critical":"","Deaths/1M pop":"2,085","New Cases":"","New Deaths":"","New Recovered":"","Population":"61,871","Region":"NorthAmerica","Tests/1M pop":"13,713,889","Total Cases":"12,711","Total Cases/1M pop":"205,444","Total Deaths":"129","Total Recovered":"12,362","Total Tests":"848,492","place":"183"},{"Active Cases":"1,063","Country":"SolomonIslands","Critical":"2","Deaths/1M pop":"191","New Cases":"","New Deaths":"","New Recovered":"","Population":"716,674","Region":"Australia/Oceania","Tests/1M pop":"7,140","Total Cases":"12,005","Total Cases/1M pop":"16,751","Total Deaths":"137","Total Recovered":"10,805","Total Tests":"5,117","place":"184"},{"Active Cases":"34","Country":"Gambia","Critical":"","Deaths/1M pop":"144","New Cases":"","New Deaths":"","New Recovered":"","Population":"2,536,722","Region":"Africa","Tests/1M pop":"61,373","Total Cases":"11,990","Total Cases/1M pop":"4,727","Total Deaths":"365","Total Recovered":"11,591","Total Tests":"155,686","place":"185"},{"Active Cases":"9,189","Country":"Greenland","Critical":"4","Deaths/1M pop":"369","New Cases":"","New Deaths":"","New Recovered":"","Population":"56,944","Region":"NorthAmerica","Tests/1M pop":"2,896,284","Total Cases":"11,971","Total Cases/1M pop":"210,224","Total Deaths":"21","Total Recovered":"2,761","Total Tests":"164,926","place":"186"},{"Active Cases":"133","Country":"Dominica","Critical":"","Deaths/1M pop":"871","New Cases":"","New Deaths":"","New Recovered":"","Population":"72,302","Region":"NorthAmerica","Tests/1M pop":"2,570,648","Total Cases":"11,953","Total Cases/1M pop":"165,320","Total Deaths":"63","Total Recovered":"11,757","Total Tests":"185,863","place":"187"},{"Active Cases":"667","Country":"Yemen","Critical":"23","Deaths/1M pop":"69","New Cases":"","New Deaths":"","New Recovered":"","Population":"30,987,851","Region":"Asia","Tests/1M pop":"8,560","Total Cases":"11,813","Total Cases/1M pop":"381","Total Deaths":"2,147","Total Recovered":"8,999","Total Tests":"265,253","place":"188"},{"Active Cases":"202","Country":"Monaco","Critical":"4","Deaths/1M pop":"1,359","New Cases":"","New Deaths":"","New Recovered":"+66","Population":"39,734","Region":"Europe","Tests/1M pop":"1,383,198","Total Cases":"11,152","Total Cases/1M pop":"280,666","Total Deaths":"54","Total Recovered":"10,896","Total Tests":"54,960","place":"189"},{"Active Cases":"8,714","Country":"SaintMartin","Critical":"7","Deaths/1M pop":"1,582","New Cases":"","New Deaths":"","New Recovered":"","Population":"39,833","Region":"NorthAmerica","Tests/1M pop":"2,821,329","Total Cases":"10,176","Total Cases/1M pop":"255,467","Total Deaths":"63","Total Recovered":"1,399","Total Tests":"112,382","place":"190"},{"Active Cases":"86","Country":"SintMaarten","Critical":"10","Deaths/1M pop":"1,966","New Cases":"+8","New Deaths":"","New Recovered":"+7","Population":"43,737","Region":"NorthAmerica","Tests/1M pop":"1,418,844","Total Cases":"9,861","Total Cases/1M pop":"225,461","Total Deaths":"86","Total Recovered":"9,689","Total Tests":"62,056","place":"191"},{"Active Cases":"3","Country":"Eritrea","Critical":"","Deaths/1M pop":"28","New Cases":"+2","New Deaths":"","New Recovered":"","Population":"3,633,268","Region":"Africa","Tests/1M pop":"6,521","Total Cases":"9,731","Total Cases/1M pop":"2,678","Total Deaths":"103","Total Recovered":"9,625","Total Tests":"23,693","place":"192"},{"Active Cases":"339","Country":"CaribbeanNetherlands","Critical":"","Deaths/1M pop":"1,238","New Cases":"","New Deaths":"","New Recovered":"","Population":"26,654","Region":"NorthAmerica","Tests/1M pop":"1,130,262","Total Cases":"8,992","Total Cases/1M pop":"337,360","Total Deaths":"33","Total Recovered":"8,620","Total Tests":"30,126","place":"193"},{"Active Cases":"27","Country":"Niger","Critical":"1","Deaths/1M pop":"12","New Cases":"","New Deaths":"","New Recovered":"","Population":"25,755,575","Region":"Africa","Tests/1M pop":"9,447","Total Cases":"8,822","Total Cases/1M pop":"343","Total Deaths":"308","Total Recovered":"8,487","Total Tests":"243,301","place":"194"},{"Active Cases":"743","Country":"Guinea-Bissau","Critical":"6","Deaths/1M pop":"83","New Cases":"+1","New Deaths":"","New Recovered":"","Population":"2,050,266","Region":"Africa","Tests/1M pop":"63,729","Total Cases":"8,173","Total Cases/1M pop":"3,986","Total Deaths":"170","Total Recovered":"7,260","Total Tests":"130,662","place":"195"},{"Active Cases":"10","Country":"Comoros","Critical":"","Deaths/1M pop":"177","New Cases":"+2","New Deaths":"","New Recovered":"+2","Population":"902,367","Region":"Africa","Tests/1M pop":"","Total Cases":"8,099","Total Cases/1M pop":"8,975","Total Deaths":"160","Total Recovered":"7,929","Total Tests":"","place":"196"},{"Active Cases":"1,988","Country":"Tonga","Critical":"","Deaths/1M pop":"83","New Cases":"","New Deaths":"","New Recovered":"","Population":"107,815","Region":"Australia/Oceania","Tests/1M pop":"2,557,984","Total Cases":"7,931","Total Cases/1M pop":"73,561","Total Deaths":"9","Total Recovered":"5,934","Total Tests":"275,789","place":"197"},{"Active Cases":"N/A","Country":"SierraLeone","Critical":"","Deaths/1M pop":"15","New Cases":"","New Deaths":"","New Recovered":"N/A","Population":"8,263,930","Region":"Africa","Tests/1M pop":"31,457","Total Cases":"7,677","Total Cases/1M pop":"929","Total Deaths":"125","Total Recovered":"N/A","Total Tests":"259,958","place":"198"},{"Active Cases":"18","Country":"AntiguaandBarbuda","Critical":"1","Deaths/1M pop":"1,359","New Cases":"","New Deaths":"","New Recovered":"","Population":"99,364","Region":"NorthAmerica","Tests/1M pop":"190,220","Total Cases":"7,511","Total Cases/1M pop":"75,591","Total Deaths":"135","Total Recovered":"7,358","Total Tests":"18,901","place":"199"},{"Active Cases":"1,359","Country":"Liberia","Critical":"2","Deaths/1M pop":"56","New Cases":"","New Deaths":"","New Recovered":"","Population":"5,267,926","Region":"Africa","Tests/1M pop":"26,543","Total Cases":"7,400","Total Cases/1M pop":"1,405","Total Deaths":"294","Total Recovered":"5,747","Total Tests":"139,824","place":"200"},{"Active Cases":"2,281","Country":"Chad","Critical":"","Deaths/1M pop":"11","New Cases":"","New Deaths":"","New Recovered":"","Population":"17,259,297","Region":"Africa","Tests/1M pop":"11,086","Total Cases":"7,347","Total Cases/1M pop":"426","Total Deaths":"192","Total Recovered":"4,874","Total Tests":"191,341","place":"201"},{"Active Cases":"3","Country":"St.VincentGrenadines","Critical":"","Deaths/1M pop":"950","New Cases":"","New Deaths":"","New Recovered":"","Population":"111,564","Region":"NorthAmerica","Tests/1M pop":"884,425","Total Cases":"6,748","Total Cases/1M pop":"60,485","Total Deaths":"106","Total Recovered":"6,639","Total Tests":"98,670","place":"202"},{"Active Cases":"N/A","Country":"BritishVirginIslands","Critical":"1","Deaths/1M pop":"2,027","New Cases":"","New Deaths":"","New Recovered":"N/A","Population":"30,587","Region":"NorthAmerica","Tests/1M pop":"3,344,362","Total Cases":"6,162","Total Cases/1M pop":"201,458","Total Deaths":"62","Total Recovered":"N/A","Total Tests":"102,294","place":"203"},{"Active Cases":"3","Country":"SaoTomeandPrincipe","Critical":"","Deaths/1M pop":"322","New Cases":"","New Deaths":"","New Recovered":"","Population":"226,359","Region":"Africa","Tests/1M pop":"128,274","Total Cases":"5,948","Total Cases/1M pop":"26,277","Total Deaths":"73","Total Recovered":"5,872","Total Tests":"29,036","place":"204"},{"Active Cases":"28","Country":"TurksandCaicos","Critical":"4","Deaths/1M pop":"908","New Cases":"","New Deaths":"","New Recovered":"","Population":"39,644","Region":"NorthAmerica","Tests/1M pop":"11,293,336","Total Cases":"5,923","Total Cases/1M pop":"149,405","Total Deaths":"36","Total Recovered":"5,859","Total Tests":"447,713","place":"205"},{"Active Cases":"4","Country":"SaintKittsandNevis","Critical":"","Deaths/1M pop":"798","New Cases":"","New Deaths":"","New Recovered":"","Population":"53,865","Region":"NorthAmerica","Tests/1M pop":"1,209,338","Total Cases":"5,553","Total Cases/1M pop":"103,091","Total Deaths":"43","Total Recovered":"5,506","Total Tests":"65,141","place":"206"},{"Active Cases":"1,855","Country":"Vanuatu","Critical":"6","Deaths/1M pop":"13","New Cases":"+182","New Deaths":"","New Recovered":"+46","Population":"319,839","Region":"Australia/Oceania","Tests/1M pop":"78,089","Total Cases":"5,480","Total Cases/1M pop":"17,134","Total Deaths":"4","Total Recovered":"3,621","Total Tests":"24,976","place":"207"},{"Active Cases":"N/A","Country":"St.Barth","Critical":"","Deaths/1M pop":"604","New Cases":"","New Deaths":"","New Recovered":"N/A","Population":"9,930","Region":"NorthAmerica","Tests/1M pop":"7,920,040","Total Cases":"4,313","Total Cases/1M pop":"434,340","Total Deaths":"6","Total Recovered":"N/A","Total Tests":"78,646","place":"208"},{"Active Cases":"307","Country":"Palau","Critical":"","Deaths/1M pop":"329","New Cases":"","New Deaths":"","New Recovered":"","Population":"18,247","Region":"Australia/Oceania","Tests/1M pop":"2,303,721","Total Cases":"4,098","Total Cases/1M pop":"224,585","Total Deaths":"6","Total Recovered":"3,785","Total Tests":"42,036","place":"209"},{"Active Cases":"2,053","Country":"Samoa","Critical":"","Deaths/1M pop":"35","New Cases":"","New Deaths":"","New Recovered":"","Population":"200,747","Region":"Australia/Oceania","Tests/1M pop":"","Total Cases":"3,665","Total Cases/1M pop":"18,257","Total Deaths":"7","Total Recovered":"1,605","Total Tests":"","place":"210"},{"Active Cases":"852","Country":"CookIslands","Critical":"","Deaths/1M pop":"","New Cases":"","New Deaths":"","New Recovered":"","Population":"17,592","Region":"Australia/Oceania","Tests/1M pop":"749,432","Total Cases":"3,171","Total Cases/1M pop":"180,252","Total Deaths":"","Total Recovered":"2,319","Total Tests":"13,184","place":"211"},{"Active Cases":"461","Country":"Kiribati","Critical":"9","Deaths/1M pop":"106","New Cases":"","New Deaths":"","New Recovered":"","Population":"122,691","Region":"Australia/Oceania","Tests/1M pop":"","Total Cases":"3,069","Total Cases/1M pop":"25,014","Total Deaths":"13","Total Recovered":"2,595","Total Tests":"","place":"212"},{"Active Cases":"16","Country":"Anguilla","Critical":"4","Deaths/1M pop":"591","New Cases":"","New Deaths":"","New Recovered":"","Population":"15,240","Region":"NorthAmerica","Tests/1M pop":"3,371,522","Total Cases":"2,717","Total Cases/1M pop":"178,281","Total Deaths":"9","Total Recovered":"2,692","Total Tests":"51,382","place":"213"},{"Active Cases":"147","Country":"SaintPierreMiquelon","Critical":"1","Deaths/1M pop":"174","New Cases":"","New Deaths":"","New Recovered":"","Population":"5,744","Region":"NorthAmerica","Tests/1M pop":"3,973,886","Total Cases":"2,509","Total Cases/1M pop":"436,804","Total Deaths":"1","Total Recovered":"2,361","Total Tests":"22,826","place":"214"},{"Active Cases":"0","Country":"DiamondPrincess","Critical":"","Deaths/1M pop":"","New Cases":"","New Deaths":"","New Recovered":"","Population":"","Region":"","Tests/1M pop":"","Total Cases":"712","Total Cases/1M pop":"","Total Deaths":"13","Total Recovered":"699","Total Tests":"","place":"215"},{"Active Cases":"9","Country":"WallisandFutuna","Critical":"","Deaths/1M pop":"643","New Cases":"","New Deaths":"","New Recovered":"","Population":"10,891","Region":"Australia/Oceania","Tests/1M pop":"1,883,023","Total Cases":"454","Total Cases/1M pop":"41,686","Total Deaths":"7","Total Recovered":"438","Total Tests":"20,508","place":"216"},{"Active Cases":"1","Country":"Montserrat","Critical":"","Deaths/1M pop":"400","New Cases":"","New Deaths":"","New Recovered":"","Population":"4,997","Region":"NorthAmerica","Tests/1M pop":"1,881,729","Total Cases":"176","Total Cases/1M pop":"35,221","Total Deaths":"2","Total Recovered":"173","Total Tests":"9,403","place":"217"},{"Active Cases":"N/A","Country":"FalklandIslands","Critical":"","Deaths/1M pop":"","New Cases":"","New Deaths":"","New Recovered":"N/A","Population":"3,659","Region":"SouthAmerica","Tests/1M pop":"2,359,115","Total Cases":"128","Total Cases/1M pop":"34,982","Total Deaths":"","Total Recovered":"N/A","Total Tests":"8,632","place":"218"},{"Active Cases":"0","Country":"Macao","Critical":"","Deaths/1M pop":"","New Cases":"","New Deaths":"","New Recovered":"","Population":"664,997","Region":"Asia","Tests/1M pop":"8,083","Total Cases":"82","Total Cases/1M pop":"123","Total Deaths":"","Total Recovered":"82","Total Tests":"5,375","place":"219"},{"Active Cases":"0","Country":"VaticanCity","Critical":"","Deaths/1M pop":"","New Cases":"","New Deaths":"","New Recovered":"","Population":"805","Region":"Europe","Tests/1M pop":"","Total Cases":"29","Total Cases/1M pop":"36,025","Total Deaths":"","Total Recovered":"29","Total Tests":"","place":"220"},{"Active Cases":"1","Country":"WesternSahara","Critical":"","Deaths/1M pop":"2","New Cases":"","New Deaths":"","New Recovered":"","Population":"623,312","Region":"Africa","Tests/1M pop":"","Total Cases":"10","Total Cases/1M pop":"16","Total Deaths":"1","Total Recovered":"8","Total Tests":"","place":"221"},{"Active Cases":"0","Country":"MSZaandam","Critical":"","Deaths/1M pop":"","New Cases":"","New Deaths":"","New Recovered":"","Population":"","Region":"","Tests/1M pop":"","Total Cases":"9","Total Cases/1M pop":"","Total Deaths":"2","Total Recovered":"7","Total Tests":"","place":"222"},{"Active Cases":"0","Country":"MarshallIslands","Critical":"","Deaths/1M pop":"","New Cases":"","New Deaths":"","New Recovered":"","Population":"59,897","Region":"Australia/Oceania","Tests/1M pop":"","Total Cases":"7","Total Cases/1M pop":"117","Total Deaths":"","Total Recovered":"7","Total Tests":"","place":"223"},{"Active Cases":"2","Country":"Niue","Critical":"","Deaths/1M pop":"","New Cases":"","New Deaths":"","New Recovered":"","Population":"1,645","Region":"Australia/Oceania","Tests/1M pop":"","Total Cases":"7","Total Cases/1M pop":"4,255","Total Deaths":"","Total Recovered":"5","Total Tests":"","place":"224"},{"Active Cases":"3","Country":"Nauru","Critical":"","Deaths/1M pop":"","New Cases":"","New Deaths":"","New Recovered":"","Population":"10,945","Region":"Australia/Oceania","Tests/1M pop":"","Total Cases":"3","Total Cases/1M pop":"274","Total Deaths":"","Total Recovered":"","Total Tests":"","place":"225"},{"Active Cases":"0","Country":"SaintHelena","Critical":"","Deaths/1M pop":"","New Cases":"","New Deaths":"","New Recovered":"","Population":"6,109","Region":"Africa","Tests/1M pop":"","Total Cases":"2","Total Cases/1M pop":"327","Total Deaths":"","Total Recovered":"2","Total Tests":"","place":"226"},{"Active Cases":"0","Country":"Micronesia","Critical":"","Deaths/1M pop":"","New Cases":"","New Deaths":"","New Recovered":"","Population":"117,157","Region":"Australia/Oceania","Tests/1M pop":"","Total Cases":"1","Total Cases/1M pop":"9","Total Deaths":"","Total Recovered":"1","Total Tests":"","place":"227"},{"Active Cases":"22,589","Country":"China","Critical":"80","Deaths/1M pop":"3","New Cases":"+1,351","New Deaths":"","New Recovered":"+1,948","Population":"1,439,323,776","Region":"Asia","Tests/1M pop":"111,163","Total Cases":"164,393","Total Cases/1M pop":"114","Total Deaths":"4,638","Total Recovered":"137,166","Total Tests":"160,000,000","place":"228"}],"last_update":"2022-04-11 00:46:06UTC"}
JalonSolov commented 2 years ago

It might, but json doesn't know what's in the strings, so all it can do is copy the strings. It's up to your program to convert them however necessary.

changrui commented 2 years ago

@JalonSolov I know. I also defined struct Wom_Covid {active_cases int [json: 'Active Cases]' ... deaths_per_million f32 [json: 'Deaths/1M pop'] ... }.

Hunam6 commented 2 years ago

@JalonSolov I know.

Mhh why did you opened up a ticket in the first place then?

changrui commented 2 years ago
import json

struct User {
    id  string | int
    pay string | f32
}
fn main() {
    str := '{"id":"1", "pay": "123.45"}'
    user := json.decode(User, str) ?
    println(user)
    println(f32(user.pay))  //
}

Error: ··· main.16939929823359497822.tmp.c:12102: error: invalid aggregate type for register load ···

Hunam6 commented 2 years ago

Please. be more precise when you report things:

Hunam6 commented 2 years ago

But otherwise this may be what you're trying to do:

import json

struct User {
    id  string
    pay string
}

fn main() {
    str := '{"id":"1", "pay": "123.45"}'
    user := json.decode(User, str) ?
    println(user)
    println(user.pay.f32())
}
changrui commented 2 years ago

@Hunam6 Thanks. I use sumtype and as cast to do this case:

import json
struct User {
   id  string
   pay string | f64
}
fn main() {
   str := '{"id":"1", "pay": "123.45"}'
   user := json.decode(User, str) ?
   println((user.pay as string).f64())
}

So I will close this issue later.

Hunam6 commented 2 years ago

I close this issue for now