-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
Issue iterating through 'items' #3021
Copy link
Copy link
Closed
Labels
solution: proposed fixa fix for the issue has been proposed and waits for confirmationa fix for the issue has been proposed and waits for confirmationstate: needs more infothe author of the issue needs to provide more detailsthe author of the issue needs to provide more details
Description
Activity
Metadata
Metadata
Assignees
Labels
solution: proposed fixa fix for the issue has been proposed and waits for confirmationa fix for the issue has been proposed and waits for confirmationstate: needs more infothe author of the issue needs to provide more detailsthe 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?