I am unable to insert a JSON object into another object using c++ library “nlohmann json”. An array is inserted instead of an object. I want to get And it turns out
The code I am using:
playersSkins.push_back(json::object_t::value_type(playerName, {"color", "#000"}));