mirror of
https://github.com/nlohmann/json.git
synced 2024-08-24 22:07:02 +02:00
- implemented `get_ptr` function to return pointer to value member - overworked `get` function to support pointer types - added test cases - added documentation (see http://nlohmann.github.io/json/classnlohmann_1_1basic__json.html) with examples
12 lines
157 B
Plaintext
12 lines
157 B
Plaintext
1
|
|
42 42
|
|
17.23 17
|
|
Hello, world!
|
|
1 2 3 4 5
|
|
|
|
string: "Hello, world!"
|
|
number: {"floating-point":17.23,"integer":42}
|
|
null: null
|
|
boolean: true
|
|
array: [1,2,3,4,5]
|