- 23 Oct, 2017 1 commit
-
-
Niels Lohmann authored
-
- 22 Oct, 2017 7 commits
-
-
Niels Lohmann authored
Hopefully, #764 fixed this.
-
Niels Lohmann authored
-
-
Niels Lohmann authored
-
Niels Lohmann authored
-
Niels Lohmann authored
Simplified istream handing #367
-
Niels Lohmann authored
-
- 21 Oct, 2017 2 commits
-
-
Niels Lohmann authored
Error : 'identifier "size_t" is undefined' in linux
-
Sonu Lohani authored
-
- 18 Oct, 2017 2 commits
-
-
Niels Lohmann authored
Fix Visual Studio 2017 warnings
-
Jamie Seward authored
-
- 17 Oct, 2017 1 commit
-
-
Jamie Seward authored
-
- 16 Oct, 2017 8 commits
-
-
Niels Lohmann authored
Fix warning C4706 on Visual Studio 2017 - fixes #784
-
Niels Lohmann authored
Set GENERATE_TAGFILE in Doxyfile
-
Perry Kundert authored
-
Jamie Seward authored
Lots of tests have this warning. Also moved out of for loop, doesn't need to be done every loop.
-
Jamie Seward authored
-
Jamie Seward authored
-
Jamie Seward authored
This causes test-udt to crash due to bad iterator
-
Jamie Seward authored
-
- 15 Oct, 2017 1 commit
-
-
Nate Vargas authored
Allows documentation to be linked from other projects to https://nlohmann.github.io/json using Doxygen with the tag: TAGFILES = $(SOME_PATH)/nlohmann_json.tag=https://nlohmann.github.io/json
-
- 13 Oct, 2017 1 commit
-
-
Niels Lohmann authored
-
- 07 Oct, 2017 1 commit
-
-
Perry Kundert authored
o For some unknown reason, the complexity of the benchmark platform prevented some C++ compilers from generating optimal code, properly reflective of the real performance in actual deployment. o Added the json_benchmarks_simple target, which performs the same suite of tests as json_benchmarks. o Simplified the benchmark platform, and emit an "Average" TPS (Transactions Per Second) value reflective of aggregate parse/output performance.
-
- 06 Oct, 2017 3 commits
-
-
Perry Kundert authored
o We assume the same character int_type as the unerlying std::istream o There are no assumptions on the value of eof(), other than that it will not be a valid unsigned char value. o To retain performance, we do not allow swapping out the underlying std::streambuf during our use of the std::istream for parsing.
-
Perry Kundert authored
-
Perry Kundert authored
-
- 05 Oct, 2017 13 commits
-
-
Perry Kundert authored
o Make no assumptions about eof(), other than that it is somewhere outside of the valid range of char_type.
-
Perry Kundert authored
-
Perry Kundert authored
o We can retain -Weffc++ and specify default initializers by using initializer lists. The risks are low (of additional non-conformat compilers), because there is already one other such initialization used in the code-base.
-
Perry Kundert authored
o An (-'ve valued, typically -1) EOF must never be allowed in token_string, as it be converted to 255 -- a legitimate value. o Comparing against a specific eof() (-1, typically) is more costly than detecting +'ve/-'ve. Since EOF is the only non-positive value allowed we can use the simpler test. o Removed unnecessary test for token_string size, as it is already tested in the method, and must never occur in correct code; used an assert instead.
-
Perry Kundert authored
-
Perry Kundert authored
-
Perry Kundert authored
o Return its contents when necessary. In many cases, this avoids construction of multiple copies of the yytext token. Exceeds performance of current develop branch.
-
Perry Kundert authored
-
Perry Kundert authored
o Use std::streambuf I/O instead of std::istream; does not maintain (unused) istream flags. o Further simplify get/unget handling. o Restore original handling of NUL in input stream; ignored during token_string escaping.
-
Perry Kundert authored
-
Perry Kundert authored
-
Perry Kundert authored
-
Niels Lohmann authored
-