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
2335d3f3
Commit
2335d3f3
authored
Dec 30, 2014
by
Niels
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tidy up
parent
39cf26e2
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
25 additions
and
2 deletions
+25
-2
benchmark/json_parser.py
benchmark/json_parser.py
+0
-0
doc/Doxyfile
doc/Doxyfile
+1
-1
doc/Reference.md
doc/Reference.md
+0
-0
src/JSON.cc
src/JSON.cc
+11
-1
src/JSON.h
src/JSON.h
+13
-0
No files found.
json_parser.py
→
benchmark/
json_parser.py
View file @
2335d3f3
File moved
Doxyfile
→
doc/
Doxyfile
View file @
2335d3f3
...
...
@@ -753,7 +753,7 @@ WARN_LOGFILE =
# spaces.
# Note: If this tag is empty the current directory is searched.
INPUT = src
INPUT =
../
src
# This tag can be used to specify the character encoding of the source files
# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses
...
...
Reference.md
→
doc/
Reference.md
View file @
2335d3f3
File moved
src/JSON.cc
View file @
2335d3f3
/*!
@file
@copyright The code is licensed under the MIT License
<http://opensource.org/licenses/MIT>,
Copyright (c) 2013-2014 Niels Lohmann.
@author Niels Lohmann <http://nlohmann.me>
@see https://github.com/nlohmann/json
*/
#include "JSON.h"
#include <cassert> // assert
#include <cctype> // std::isdigit, std::isspace
#include <cstddef> // size_t
#include <cstdlib> // std::atof
...
...
src/JSON.h
View file @
2335d3f3
/*!
@file
@copyright The code is licensed under the MIT License
<http://opensource.org/licenses/MIT>,
Copyright (c) 2013-2014 Niels Lohmann.
@author Niels Lohmann <http://nlohmann.me>
@see https://github.com/nlohmann/json
*/
#pragma once
#include <initializer_list> // std::initializer_list
...
...
@@ -8,6 +19,8 @@
#include <vector> // std::vector
/*!
@brief JSON for Modern C++
The size of a JSON object is 16 bytes: 8 bytes for the value union whose
largest item is a pointer type and another 8 byte for an element of the
type union. The latter only needs 1 byte - the remaining 7 bytes are wasted
...
...
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