mirror of
https://github.com/nlohmann/json.git
synced 2026-05-10 08:15:23 +00:00
e0f8cdfb7f
* build2 integration doc update Signed-off-by: Joël Lamotte <mjklaim@gmail.com> Signed-off-by: Klaim (Joël Lamotte) <142265+Klaim@users.noreply.github.com> * completed build2 instructions and examples Signed-off-by: Joël Lamotte <mjklaim@gmail.com> Signed-off-by: Klaim (Joël Lamotte) <142265+Klaim@users.noreply.github.com> * added missing build2 buildfile Signed-off-by: Joël Lamotte <mjklaim@gmail.com> Signed-off-by: Klaim (Joël Lamotte) <142265+Klaim@users.noreply.github.com> * improvments/simplifications on build2 examples Signed-off-by: Klaim (Joël Lamotte) <142265+Klaim@users.noreply.github.com> * removed just (rebase issue) Signed-off-by: Klaim (Joël Lamotte) <142265+Klaim@users.noreply.github.com> * fixed removed trailing whitespace from the rebase Signed-off-by: Klaim (Joël Lamotte) <142265+Klaim@users.noreply.github.com> * fixed typo and improved wording Signed-off-by: Klaim (Joël Lamotte) <142265+Klaim@users.noreply.github.com> * fixed indentation/formatting and typos Signed-off-by: Klaim (Joël Lamotte) <142265+Klaim@users.noreply.github.com> --------- Signed-off-by: Joël Lamotte <mjklaim@gmail.com> Signed-off-by: Klaim (Joël Lamotte) <142265+Klaim@users.noreply.github.com>
11 lines
174 B
C++
11 lines
174 B
C++
#include <nlohmann/json.hpp>
|
|
#include <iostream>
|
|
#include <iomanip>
|
|
|
|
using json = nlohmann::json;
|
|
|
|
int main()
|
|
{
|
|
std::cout << std::setw(4) << json::meta() << std::endl;
|
|
}
|