Created
April 4, 2022 14:52
-
-
Save ZaninAndrea/e47cc726beb753e6172b8a7f100ab4b7 to your computer and use it in GitHub Desktop.
Step 2 - Igloo with C++ tutorial
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <nlohmann/json.hpp> | |
// omitted | |
nlohmann::json parsedResponse = nlohmann::json::parse(r.text); | |
std::string email = parsedResponse["data"]["user"]["email"].get<std::string>(); | |
std::cout << email << std::endl; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment