mirror of
https://github.com/nlohmann/json.git
synced 2026-07-05 10:05:10 +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';
|
||||
}
|
||||
|
||||
@@ -1 +1 @@
|
||||
<a target="_blank" href="http://melpon.org/wandbox/permlink/kODXfzcksgstdBRD"><b>online</b></a>
|
||||
<a target="_blank" href="http://melpon.org/wandbox/permlink/skGi8b32VhI8HOgV"><b>online</b></a>
|
||||
@@ -14,3 +14,4 @@
|
||||
"/object/~1": "slash",
|
||||
"/pi": 3.141
|
||||
}
|
||||
{"":3.141}
|
||||
|
||||
Reference in New Issue
Block a user