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:
@ -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}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user