Commit 6aa88198 authored by Niels's avatar Niels

improved documentation

parent 22127a4b
...@@ -53,6 +53,7 @@ doxygen: create_output create_links ...@@ -53,6 +53,7 @@ doxygen: create_output create_links
doxygen doxygen
gsed -i 's@< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, AllocatorType >@@g' html/*.html gsed -i 's@< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, AllocatorType >@@g' html/*.html
gsed -i 's@< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, AllocatorType >@@g' html/*.html gsed -i 's@< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, AllocatorType >@@g' html/*.html
gsed -i 's@< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType >@@g' html/*.html
upload: clean doxygen check_output upload: clean doxygen check_output
cd html ; ../scripts/git-update-ghpages nlohmann/json cd html ; ../scripts/git-update-ghpages nlohmann/json
......
...@@ -21,8 +21,8 @@ int main() ...@@ -21,8 +21,8 @@ int main()
std::cout << j_number_integer.back() << '\n'; std::cout << j_number_integer.back() << '\n';
std::cout << j_number_float.back() << '\n'; std::cout << j_number_float.back() << '\n';
std::cout << j_object.back() << '\n'; std::cout << j_object.back() << '\n';
//std::cout << j_object_empty.back() << '\n'; // would throw //std::cout << j_object_empty.back() << '\n'; // undefined behavior
std::cout << j_array.back() << '\n'; std::cout << j_array.back() << '\n';
//std::cout << j_array_empty.back() << '\n'; // would throw //std::cout << j_array_empty.back() << '\n'; // undefined behavior
std::cout << j_string.back() << '\n'; std::cout << j_string.back() << '\n';
} }
<a target="_blank" href="http://melpon.org/wandbox/permlink/M9xQVJJLTE1qvTtm"><b>online</b></a> <a target="_blank" href="http://melpon.org/wandbox/permlink/V7lUsd6LyndZDGoM"><b>online</b></a>
\ No newline at end of file \ No newline at end of file
...@@ -21,8 +21,8 @@ int main() ...@@ -21,8 +21,8 @@ int main()
std::cout << j_number_integer.front() << '\n'; std::cout << j_number_integer.front() << '\n';
std::cout << j_number_float.front() << '\n'; std::cout << j_number_float.front() << '\n';
std::cout << j_object.front() << '\n'; std::cout << j_object.front() << '\n';
//std::cout << j_object_empty.front() << '\n'; // would throw //std::cout << j_object_empty.front() << '\n'; // undefined behavior
std::cout << j_array.front() << '\n'; std::cout << j_array.front() << '\n';
//std::cout << j_array_empty.front() << '\n'; // would throw //std::cout << j_array_empty.front() << '\n'; // undefined behavior
std::cout << j_string.front() << '\n'; std::cout << j_string.front() << '\n';
} }
<a target="_blank" href="http://melpon.org/wandbox/permlink/NH4F08xGiQfNT71r"><b>online</b></a> <a target="_blank" href="http://melpon.org/wandbox/permlink/HheeceJWHngZFhu2"><b>online</b></a>
\ No newline at end of file \ No newline at end of file
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
These pages contain the API documentation of JSON for Modern C++, a C++11 header-only JSON class. These pages contain the API documentation of JSON for Modern C++, a C++11 header-only JSON class.
- @link nlohmann::basic_json `basic_json` class @endlink - @link nlohmann::basic_json `basic_json` class @endlink
- [Function index](functions_func.html)
- Types - Types
- @link nlohmann::basic_json::array_t arrays @endlink - @link nlohmann::basic_json::array_t arrays @endlink
- @link nlohmann::basic_json::object_t objects @endlink - @link nlohmann::basic_json::object_t objects @endlink
......
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment