improved documentation
This commit is contained in:
parent
22127a4b85
commit
6aa881988d
8 changed files with 514 additions and 330 deletions
|
@ -53,6 +53,7 @@ doxygen: create_output create_links
|
|||
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, NumberUnsignedType, NumberFloatType, AllocatorType >@@g' html/*.html
|
||||
|
||||
upload: clean doxygen check_output
|
||||
cd html ; ../scripts/git-update-ghpages nlohmann/json
|
||||
|
|
|
@ -21,8 +21,8 @@ int main()
|
|||
std::cout << j_number_integer.back() << '\n';
|
||||
std::cout << j_number_float.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_empty.back() << '\n'; // would throw
|
||||
//std::cout << j_array_empty.back() << '\n'; // undefined behavior
|
||||
std::cout << j_string.back() << '\n';
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
<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>
|
|
@ -21,8 +21,8 @@ int main()
|
|||
std::cout << j_number_integer.front() << '\n';
|
||||
std::cout << j_number_float.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_empty.front() << '\n'; // would throw
|
||||
//std::cout << j_array_empty.front() << '\n'; // undefined behavior
|
||||
std::cout << j_string.front() << '\n';
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
<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>
|
|
@ -3,6 +3,7 @@
|
|||
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
|
||||
- [Function index](functions_func.html)
|
||||
- Types
|
||||
- @link nlohmann::basic_json::array_t arrays @endlink
|
||||
- @link nlohmann::basic_json::object_t objects @endlink
|
||||
|
|
415
src/json.hpp
415
src/json.hpp
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue