Skip to content

Instantly share code, notes, and snippets.

@ZaninAndrea
Created April 4, 2022 14:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ZaninAndrea/e47cc726beb753e6172b8a7f100ab4b7 to your computer and use it in GitHub Desktop.
Save ZaninAndrea/e47cc726beb753e6172b8a7f100ab4b7 to your computer and use it in GitHub Desktop.
Step 2 - Igloo with C++ tutorial
#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