JsonCpp ambiguous overload only in Windows JsonCpp ambiguous overload only in Windows json json

JsonCpp ambiguous overload only in Windows


This drove me crazy, until I stumbled upon this question, I mysteriously figured it out:Just cast it to Json::Uint (for some reason), or use 'u':

MapEvent::MapEvent(Json::Value& val){    operator_enum = val.get(0u, "").asString();}