mirror of
https://github.com/nlohmann/json.git
synced 2025-07-29 23:01:16 +03:00
📝 added example and documentation for the meta function
This commit is contained in:
9
doc/examples/meta.cpp
Normal file
9
doc/examples/meta.cpp
Normal file
@ -0,0 +1,9 @@
|
||||
#include <json.hpp>
|
||||
|
||||
using json = nlohmann::json;
|
||||
|
||||
int main()
|
||||
{
|
||||
// call meta()
|
||||
std::cout << std::setw(4) << json::meta() << '\n';
|
||||
}
|
Reference in New Issue
Block a user