6b6e554067
std::setw needs the iomanip header (at least with GCC).
10 lines
176 B
C++
10 lines
176 B
C++
#include <json.hpp>
|
|
#include <iomanip> // for std::setw
|
|
|
|
using json = nlohmann::json;
|
|
|
|
int main()
|
|
{
|
|
// call meta()
|
|
std::cout << std::setw(4) << json::meta() << '\n';
|
|
}
|