Commit 2335d3f3 authored by Niels's avatar Niels

tidy up

parent 39cf26e2
...@@ -753,7 +753,7 @@ WARN_LOGFILE = ...@@ -753,7 +753,7 @@ WARN_LOGFILE =
# spaces. # spaces.
# Note: If this tag is empty the current directory is searched. # 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 # 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 # that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses
......
/*!
@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 "JSON.h"
#include <cassert> // assert
#include <cctype> // std::isdigit, std::isspace #include <cctype> // std::isdigit, std::isspace
#include <cstddef> // size_t #include <cstddef> // size_t
#include <cstdlib> // std::atof #include <cstdlib> // std::atof
......
/*!
@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 #pragma once
#include <initializer_list> // std::initializer_list #include <initializer_list> // std::initializer_list
...@@ -8,6 +19,8 @@ ...@@ -8,6 +19,8 @@
#include <vector> // std::vector #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 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 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 type union. The latter only needs 1 byte - the remaining 7 bytes are wasted
......
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