📝 added example and documentation for the meta function
This commit is contained in:
parent
cdde1a9436
commit
38e4935db0
5 changed files with 69 additions and 2 deletions
doc/examples
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';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue