1
0
mirror of https://github.com/nlohmann/json.git synced 2025-07-06 06:42:33 +03:00

simplified flatten/unflatten examples

This commit is contained in:
Niels
2016-04-30 10:39:03 +02:00
parent a21f8b0c77
commit ea84a85b13
7 changed files with 5 additions and 25 deletions

View File

@ -14,12 +14,8 @@ int main()
{"/list/2", 2},
{"/name", "Niels"},
{"/nothing", nullptr},
{"/object/", "empty string"},
{"/object/currency", "USD"},
{"/object/value", 42.99},
{"/object/~0", "tilde"},
{"/object/~01", "tilde1"},
{"/object/~1", "slash"},
{"/pi", 3.141}
};