Smolgui
Immediate gui library based on SFML
Loading...
Searching...
No Matches
LoadJson.h File Reference
#include <iomanip>
#include <fstream>
#include <nlohmann/json.hpp>
Include dependency graph for LoadJson.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  sgui

Typedefs

using json = nlohmann::json

Functions

void sgui::saveInFile (const json &out, const std::string &file, const bool compact=false)
 save json to file
json sgui::loadFromFile (const std::string &file)
 load json from file

Typedef Documentation

◆ json

using json = nlohmann::json