1
0
mirror of https://github.com/nlohmann/json synced 2024-12-01 16:10:06 +00:00
nlohmannjson/doc/examples
2015-06-29 23:20:33 +02:00
..
array.cpp reorganized repo 2015-06-21 21:24:03 +02:00
array.link add online examples 2015-06-29 23:02:41 +02:00
array.output reorganized repo 2015-06-21 21:24:03 +02:00
at__object_t_key_type_const.cpp more documentation 2015-06-24 12:15:51 +02:00
at__object_t_key_type_const.link add online examples 2015-06-29 23:02:41 +02:00
at__object_t_key_type_const.output more documentation 2015-06-24 12:15:51 +02:00
at__object_t_key_type.cpp more documentation 2015-06-24 12:15:51 +02:00
at__object_t_key_type.link add online examples 2015-06-29 23:02:41 +02:00
at__object_t_key_type.output more documentation 2015-06-24 12:15:51 +02:00
at__size_type_const.cpp more documentation 2015-06-24 12:15:51 +02:00
at__size_type_const.link add online examples 2015-06-29 23:02:41 +02:00
at__size_type_const.output more documentation 2015-06-24 12:15:51 +02:00
at__size_type.cpp more documentation 2015-06-24 12:15:51 +02:00
at__size_type.link add online examples 2015-06-29 23:02:41 +02:00
at__size_type.output more documentation 2015-06-24 12:15:51 +02:00
back.cpp reorganized repo 2015-06-21 21:24:03 +02:00
back.link add online examples 2015-06-29 23:02:41 +02:00
back.output reorganized repo 2015-06-21 21:24:03 +02:00
basic_json__array_t.cpp reorganized repo 2015-06-21 21:24:03 +02:00
basic_json__array_t.link add online examples 2015-06-29 23:02:41 +02:00
basic_json__array_t.output reorganized repo 2015-06-21 21:24:03 +02:00
basic_json__basic_json.cpp reorganized repo 2015-06-21 21:24:03 +02:00
basic_json__basic_json.link add online examples 2015-06-29 23:02:41 +02:00
basic_json__basic_json.output reorganized repo 2015-06-21 21:24:03 +02:00
basic_json__boolean_t.cpp more documentation 2015-06-22 23:21:49 +02:00
basic_json__boolean_t.link add online examples 2015-06-29 23:02:41 +02:00
basic_json__boolean_t.output more documentation 2015-06-22 23:21:49 +02:00
basic_json__CompatibleArrayType.cpp reorganized repo 2015-06-21 21:24:03 +02:00
basic_json__CompatibleArrayType.link add online examples 2015-06-29 23:02:41 +02:00
basic_json__CompatibleArrayType.output reorganized repo 2015-06-21 21:24:03 +02:00
basic_json__CompatibleIntegerNumberType.cpp more documentation 2015-06-22 21:44:20 +02:00
basic_json__CompatibleIntegerNumberType.link add online examples 2015-06-29 23:02:41 +02:00
basic_json__CompatibleIntegerNumberType.output more documentation 2015-06-22 21:44:20 +02:00
basic_json__CompatibleNumberFloatType.cpp more documentation 2015-06-22 23:21:49 +02:00
basic_json__CompatibleNumberFloatType.link add online examples 2015-06-29 23:02:41 +02:00
basic_json__CompatibleNumberFloatType.output more documentation 2015-06-22 23:21:49 +02:00
basic_json__CompatibleObjectType.cpp reorganized repo 2015-06-21 21:24:03 +02:00
basic_json__CompatibleObjectType.link add online examples 2015-06-29 23:02:41 +02:00
basic_json__CompatibleObjectType.output reorganized repo 2015-06-21 21:24:03 +02:00
basic_json__CompatibleStringType.cpp more documentation 2015-06-22 23:21:49 +02:00
basic_json__CompatibleStringType.link add online examples 2015-06-29 23:02:41 +02:00
basic_json__CompatibleStringType.output more documentation 2015-06-22 23:21:49 +02:00
basic_json__const_int.cpp more documentation 2015-06-22 23:21:49 +02:00
basic_json__const_int.link add online examples 2015-06-29 23:02:41 +02:00
basic_json__const_int.output more documentation 2015-06-22 23:21:49 +02:00
basic_json__copyassignment.cpp reorganized repo 2015-06-21 21:24:03 +02:00
basic_json__copyassignment.link add online examples 2015-06-29 23:02:41 +02:00
basic_json__copyassignment.output reorganized repo 2015-06-21 21:24:03 +02:00
basic_json__InputIt_InputIt.cpp more documentation 2015-06-22 23:21:49 +02:00
basic_json__InputIt_InputIt.link add online examples 2015-06-29 23:02:41 +02:00
basic_json__InputIt_InputIt.output more documentation 2015-06-22 23:21:49 +02:00
basic_json__list_init_t.cpp reorganized repo 2015-06-21 21:24:03 +02:00
basic_json__list_init_t.link add online examples 2015-06-29 23:02:41 +02:00
basic_json__list_init_t.output reorganized repo 2015-06-21 21:24:03 +02:00
basic_json__moveconstructor.cpp reorganized repo 2015-06-21 21:24:03 +02:00
basic_json__moveconstructor.link add online examples 2015-06-29 23:02:41 +02:00
basic_json__moveconstructor.output reorganized repo 2015-06-21 21:24:03 +02:00
basic_json__nullptr_t.cpp reorganized repo 2015-06-21 21:24:03 +02:00
basic_json__nullptr_t.link add online examples 2015-06-29 23:02:41 +02:00
basic_json__nullptr_t.output reorganized repo 2015-06-21 21:24:03 +02:00
basic_json__number_float_t.cpp more documentation 2015-06-22 21:44:20 +02:00
basic_json__number_float_t.link add online examples 2015-06-29 23:02:41 +02:00
basic_json__number_float_t.output more documentation 2015-06-22 21:44:20 +02:00
basic_json__number_integer_t.cpp more documentation 2015-06-22 21:44:20 +02:00
basic_json__number_integer_t.link add online examples 2015-06-29 23:02:41 +02:00
basic_json__number_integer_t.output more documentation 2015-06-22 21:44:20 +02:00
basic_json__object_t.cpp reorganized repo 2015-06-21 21:24:03 +02:00
basic_json__object_t.link add online examples 2015-06-29 23:02:41 +02:00
basic_json__object_t.output reorganized repo 2015-06-21 21:24:03 +02:00
basic_json__size_type_basic_json.cpp reorganized repo 2015-06-21 21:24:03 +02:00
basic_json__size_type_basic_json.link add online examples 2015-06-29 23:02:41 +02:00
basic_json__size_type_basic_json.output reorganized repo 2015-06-21 21:24:03 +02:00
basic_json__string_t_value_type.cpp more documentation 2015-06-21 22:42:32 +02:00
basic_json__string_t_value_type.link add online examples 2015-06-29 23:02:41 +02:00
basic_json__string_t_value_type.output more documentation 2015-06-21 22:42:32 +02:00
basic_json__string_t.cpp more documentation 2015-06-21 22:42:32 +02:00
basic_json__string_t.link add online examples 2015-06-29 23:02:41 +02:00
basic_json__string_t.output more documentation 2015-06-21 22:42:32 +02:00
basic_json__value_t.cpp reorganized repo 2015-06-21 21:24:03 +02:00
basic_json__value_t.link add online examples 2015-06-29 23:02:41 +02:00
basic_json__value_t.output reorganized repo 2015-06-21 21:24:03 +02:00
basic_json.cpp reorganized repo 2015-06-21 21:24:03 +02:00
basic_json.link add online examples 2015-06-29 23:02:41 +02:00
basic_json.output reorganized repo 2015-06-21 21:24:03 +02:00
begin.cpp reorganized repo 2015-06-21 21:24:03 +02:00
begin.link add online examples 2015-06-29 23:02:41 +02:00
begin.output reorganized repo 2015-06-21 21:24:03 +02:00
cbegin.cpp reorganized repo 2015-06-21 21:24:03 +02:00
cbegin.link add online examples 2015-06-29 23:02:41 +02:00
cbegin.output reorganized repo 2015-06-21 21:24:03 +02:00
cend.cpp reorganized repo 2015-06-21 21:24:03 +02:00
cend.link add online examples 2015-06-29 23:02:41 +02:00
cend.output reorganized repo 2015-06-21 21:24:03 +02:00
clear.cpp reorganized repo 2015-06-21 21:24:03 +02:00
clear.link add online examples 2015-06-29 23:02:41 +02:00
clear.output reorganized repo 2015-06-21 21:24:03 +02:00
count.cpp more documentation 2015-06-28 19:32:09 +02:00
count.link add online examples 2015-06-29 23:02:41 +02:00
count.output more documentation 2015-06-28 19:32:09 +02:00
crbegin.cpp reorganized repo 2015-06-21 21:24:03 +02:00
crbegin.link add online examples 2015-06-29 23:02:41 +02:00
crbegin.output reorganized repo 2015-06-21 21:24:03 +02:00
crend.cpp reorganized repo 2015-06-21 21:24:03 +02:00
crend.link add online examples 2015-06-29 23:02:41 +02:00
crend.output reorganized repo 2015-06-21 21:24:03 +02:00
dump.cpp reorganized repo 2015-06-21 21:24:03 +02:00
dump.link add online examples 2015-06-29 23:02:41 +02:00
dump.output reorganized repo 2015-06-21 21:24:03 +02:00
empty.cpp reorganized repo 2015-06-21 21:24:03 +02:00
empty.link add online examples 2015-06-29 23:02:41 +02:00
empty.output reorganized repo 2015-06-21 21:24:03 +02:00
end.cpp reorganized repo 2015-06-21 21:24:03 +02:00
end.link add online examples 2015-06-29 23:02:41 +02:00
end.output reorganized repo 2015-06-21 21:24:03 +02:00
erase__IteratorType_IteratorType.cpp added documentation for erase functions 2015-06-28 15:49:40 +02:00
erase__IteratorType_IteratorType.link add online examples 2015-06-29 23:02:41 +02:00
erase__IteratorType_IteratorType.output added documentation for erase functions 2015-06-28 15:49:40 +02:00
erase__IteratorType.cpp added documentation for erase functions 2015-06-28 15:49:40 +02:00
erase__IteratorType.link add online examples 2015-06-29 23:02:41 +02:00
erase__IteratorType.output added documentation for erase functions 2015-06-28 15:49:40 +02:00
erase__key_type.cpp added documentation for erase functions 2015-06-28 15:49:40 +02:00
erase__key_type.link add online examples 2015-06-29 23:02:41 +02:00
erase__key_type.output added documentation for erase functions 2015-06-28 15:49:40 +02:00
erase__size_type.cpp added documentation for erase functions 2015-06-28 15:49:40 +02:00
erase__size_type.link add online examples 2015-06-29 23:02:41 +02:00
erase__size_type.output added documentation for erase functions 2015-06-28 15:49:40 +02:00
find__key_type.cpp more documentation 2015-06-28 19:32:09 +02:00
find__key_type.link add online examples 2015-06-29 23:02:41 +02:00
find__key_type.output more documentation 2015-06-28 19:32:09 +02:00
front.cpp reorganized repo 2015-06-21 21:24:03 +02:00
front.link add online examples 2015-06-29 23:02:41 +02:00
front.output reorganized repo 2015-06-21 21:24:03 +02:00
get__PointerType.cpp worked on #91 2015-06-24 15:16:32 +02:00
get__PointerType.link add online examples 2015-06-29 23:02:41 +02:00
get__PointerType.output worked on #91 2015-06-24 15:16:32 +02:00
get__ValueType_const.cpp worked on #91 2015-06-24 15:16:32 +02:00
get__ValueType_const.link add online examples 2015-06-29 23:02:41 +02:00
get__ValueType_const.output worked on #91 2015-06-24 15:16:32 +02:00
get_ptr.cpp worked on #91 2015-06-24 15:16:32 +02:00
get_ptr.link add online examples 2015-06-29 23:02:41 +02:00
get_ptr.output worked on #91 2015-06-24 15:16:32 +02:00
is_array.cpp reorganized repo 2015-06-21 21:24:03 +02:00
is_array.link add online examples 2015-06-29 23:02:41 +02:00
is_array.output reorganized repo 2015-06-21 21:24:03 +02:00
is_boolean.cpp reorganized repo 2015-06-21 21:24:03 +02:00
is_boolean.link add online examples 2015-06-29 23:02:41 +02:00
is_boolean.output reorganized repo 2015-06-21 21:24:03 +02:00
is_null.cpp reorganized repo 2015-06-21 21:24:03 +02:00
is_null.link add online examples 2015-06-29 23:02:41 +02:00
is_null.output reorganized repo 2015-06-21 21:24:03 +02:00
is_number_float.cpp reorganized repo 2015-06-21 21:24:03 +02:00
is_number_float.link add online examples 2015-06-29 23:02:41 +02:00
is_number_float.output reorganized repo 2015-06-21 21:24:03 +02:00
is_number_integer.cpp reorganized repo 2015-06-21 21:24:03 +02:00
is_number_integer.link add online examples 2015-06-29 23:02:41 +02:00
is_number_integer.output reorganized repo 2015-06-21 21:24:03 +02:00
is_number.cpp reorganized repo 2015-06-21 21:24:03 +02:00
is_number.link add online examples 2015-06-29 23:02:41 +02:00
is_number.output reorganized repo 2015-06-21 21:24:03 +02:00
is_object.cpp reorganized repo 2015-06-21 21:24:03 +02:00
is_object.link add online examples 2015-06-29 23:02:41 +02:00
is_object.output reorganized repo 2015-06-21 21:24:03 +02:00
is_primitive.cpp fixed #97 2015-06-27 18:43:11 +02:00
is_primitive.link add online examples 2015-06-29 23:02:41 +02:00
is_primitive.output fixed #97 2015-06-27 18:43:11 +02:00
is_string.cpp reorganized repo 2015-06-21 21:24:03 +02:00
is_string.link add online examples 2015-06-29 23:02:41 +02:00
is_string.output reorganized repo 2015-06-21 21:24:03 +02:00
is_structured.cpp fixed #97 2015-06-27 18:43:11 +02:00
is_structured.link add online examples 2015-06-29 23:02:41 +02:00
is_structured.output fixed #97 2015-06-27 18:43:11 +02:00
max_size.cpp reorganized repo 2015-06-21 21:24:03 +02:00
max_size.link add online examples 2015-06-29 23:02:41 +02:00
max_size.output reorganized repo 2015-06-21 21:24:03 +02:00
object.cpp reorganized repo 2015-06-21 21:24:03 +02:00
object.link add online examples 2015-06-29 23:02:41 +02:00
object.output reorganized repo 2015-06-21 21:24:03 +02:00
operator__value_t.cpp fixed #97 2015-06-27 18:43:11 +02:00
operator__value_t.link add online examples 2015-06-29 23:02:41 +02:00
operator__value_t.output fixed #97 2015-06-27 18:43:11 +02:00
operator__ValueType.cpp worked on #91 2015-06-24 15:16:32 +02:00
operator__ValueType.link add online examples 2015-06-29 23:02:41 +02:00
operator__ValueType.output worked on #91 2015-06-24 15:16:32 +02:00
operator_deserialize.cpp more documentation 2015-06-22 23:21:49 +02:00
operator_deserialize.link add online examples 2015-06-29 23:02:41 +02:00
operator_deserialize.output more documentation 2015-06-22 23:21:49 +02:00
operator_serialize.cpp more documentation 2015-06-21 22:42:32 +02:00
operator_serialize.link add online examples 2015-06-29 23:02:41 +02:00
operator_serialize.output more documentation 2015-06-21 22:42:32 +02:00
operatorarray__key_type_const.cpp minor changes 2015-06-25 00:40:16 +02:00
operatorarray__key_type_const.link add online examples 2015-06-29 23:02:41 +02:00
operatorarray__key_type_const.output minor changes 2015-06-25 00:40:16 +02:00
operatorarray__key_type.cpp minor changes 2015-06-25 00:40:16 +02:00
operatorarray__key_type.link add online examples 2015-06-29 23:02:41 +02:00
operatorarray__key_type.output minor changes 2015-06-25 00:40:16 +02:00
operatorarray__size_type_const.cpp more documentation 2015-06-24 12:15:51 +02:00
operatorarray__size_type_const.link add online examples 2015-06-29 23:02:41 +02:00
operatorarray__size_type_const.output more documentation 2015-06-24 12:15:51 +02:00
operatorarray__size_type.cpp more documentation 2015-06-24 12:15:51 +02:00
operatorarray__size_type.link add online examples 2015-06-29 23:02:41 +02:00
operatorarray__size_type.output more documentation 2015-06-24 12:15:51 +02:00
parse__istream__parser_callback_t.cpp more documentation 2015-06-24 12:15:51 +02:00
parse__istream__parser_callback_t.link add online examples 2015-06-29 23:02:41 +02:00
parse__istream__parser_callback_t.output more documentation 2015-06-24 12:15:51 +02:00
parse__string__parser_callback_t.cpp more documentation 2015-06-24 12:15:51 +02:00
parse__string__parser_callback_t.link add online examples 2015-06-29 23:02:41 +02:00
parse__string__parser_callback_t.output more documentation 2015-06-24 12:15:51 +02:00
rbegin.cpp reorganized repo 2015-06-21 21:24:03 +02:00
rbegin.link add online examples 2015-06-29 23:02:41 +02:00
rbegin.output reorganized repo 2015-06-21 21:24:03 +02:00
README.cpp add online examples 2015-06-29 23:02:41 +02:00
README.link add online examples 2015-06-29 23:02:41 +02:00
README.output small README fix 2015-06-29 23:20:33 +02:00
rend.cpp reorganized repo 2015-06-21 21:24:03 +02:00
rend.link add online examples 2015-06-29 23:02:41 +02:00
rend.output reorganized repo 2015-06-21 21:24:03 +02:00
size.cpp reorganized repo 2015-06-21 21:24:03 +02:00
size.link add online examples 2015-06-29 23:02:41 +02:00
size.output reorganized repo 2015-06-21 21:24:03 +02:00
swap__array_t.cpp more documentation 2015-06-24 12:15:51 +02:00
swap__array_t.link add online examples 2015-06-29 23:02:41 +02:00
swap__array_t.output more documentation 2015-06-24 12:15:51 +02:00
swap__reference.cpp more documentation 2015-06-24 12:15:51 +02:00
swap__reference.link add online examples 2015-06-29 23:02:41 +02:00
swap__reference.output more documentation 2015-06-24 12:15:51 +02:00
type.cpp fixed #97 2015-06-27 18:43:11 +02:00
type.link add online examples 2015-06-29 23:02:41 +02:00
type.output fixed #97 2015-06-27 18:43:11 +02:00

{
    "answer": {
        "everything": 42
    },
    "happy": true,
    "list": [
        1,
        0,
        2
    ],
    "name": "Niels",
    "new": {
        "key": {
            "value": [
                "another",
                "list"
            ]
        }
    },
    "nothing": null,
    "object": {
        "currency": "USD",
        "value": 42.99
    },
    "pi": 3.141,
    "size": 9
}