mirror of
https://github.com/nlohmann/json.git
synced 2026-03-25 18:32:46 +00:00
improved documentation and test coverage
This commit is contained in:
@@ -31,4 +31,7 @@ int main()
|
||||
|
||||
// call flatten()
|
||||
std::cout << std::setw(4) << j.flatten() << '\n';
|
||||
|
||||
// flatten for a primitive value
|
||||
std::cout << j["pi"].flatten() << '\n';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user