Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
json
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
json
Commits
6aa88198
Commit
6aa88198
authored
Jan 31, 2016
by
Niels
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improved documentation
parent
22127a4b
Changes
8
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
514 additions
and
330 deletions
+514
-330
doc/Makefile
doc/Makefile
+1
-0
doc/examples/back.cpp
doc/examples/back.cpp
+2
-2
doc/examples/back.link
doc/examples/back.link
+1
-1
doc/examples/front.cpp
doc/examples/front.cpp
+2
-2
doc/examples/front.link
doc/examples/front.link
+1
-1
doc/index.md
doc/index.md
+1
-0
src/json.hpp
src/json.hpp
+253
-162
src/json.hpp.re2c
src/json.hpp.re2c
+253
-162
No files found.
doc/Makefile
View file @
6aa88198
...
...
@@ -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
...
...
doc/examples/back.cpp
View file @
6aa88198
...
...
@@ -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'
;
}
doc/examples/back.link
View file @
6aa88198
<a target="_blank" href="http://melpon.org/wandbox/permlink/M9xQVJJLTE1qvTtm"><b>online</b></a>
\ No newline at end of file
<a target="_blank" href="http://melpon.org/wandbox/permlink/V7lUsd6LyndZDGoM"><b>online</b></a>
\ No newline at end of file
doc/examples/front.cpp
View file @
6aa88198
...
...
@@ -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'
;
}
doc/examples/front.link
View file @
6aa88198
<a target="_blank" href="http://melpon.org/wandbox/permlink/NH4F08xGiQfNT71r"><b>online</b></a>
\ No newline at end of file
<a target="_blank" href="http://melpon.org/wandbox/permlink/HheeceJWHngZFhu2"><b>online</b></a>
\ No newline at end of file
doc/index.md
View file @
6aa88198
...
...
@@ -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
...
...
src/json.hpp
View file @
6aa88198
This diff is collapsed.
Click to expand it.
src/json.hpp.re2c
View file @
6aa88198
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment