Issue iterating through 'items' #3021
Labels
solution: proposed fix
a fix for the issue has been proposed and waits for confirmation
state: needs more info
the author of the issue needs to provide more details
When trying to compile my code, I am getting the following error:
XXX.cpp:128:44: error: ‘using value_type = class nlohmann::basic_json<>’ {aka ‘class nlohmann::basic_json<>’} has no member named ‘items’
for(auto& el: _pc["XX"]["XXXXX"].items()){
Prior to running this, I ran a sudo apt-get install nlohmann-json-dev. Any solution other than using the json.hpp header?
The text was updated successfully, but these errors were encountered: