tidy up
This commit is contained in:
parent
39cf26e2db
commit
2335d3f3d5
5 changed files with 25 additions and 2 deletions
|
@ -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
|
12
src/JSON.cc
12
src/JSON.cc
|
@ -1,6 +1,16 @@
|
|||
/*!
|
||||
@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
|
||||
|
|
13
src/JSON.h
13
src/JSON.h
|
@ -1,3 +1,14 @@
|
|||
/*!
|
||||
@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
|
||||
|
|
Loading…
Reference in a new issue