- 22 Apr, 2017 2 commits
-
-
Niels Lohmann authored
-
Niels Lohmann authored
-
- 21 Apr, 2017 1 commit
-
-
Niels Lohmann authored
As I learned in https://github.com/melpon/wandbox/issues/209, this library is already installed at Wandbox, so we need to adjust the examples to use `#include "json.hpp"` insteas of `#include <json.hpp>`.
-
- 15 Apr, 2017 1 commit
-
-
Niels Lohmann authored
-
- 14 Apr, 2017 5 commits
-
-
Niels Lohmann authored
-
Niels Lohmann authored
-
Niels Lohmann authored
std::setw needs the iomanip header (at least with GCC).
-
Niels Lohmann authored
The example with the size() operator is bad: using operator[] already changes the size of the object. The fix makes it clearer.
-
Niels Lohmann authored
These files were never meant to be versioned.
-
- 12 Apr, 2017 2 commits
-
-
Niels Lohmann authored
-
Niels Lohmann authored
-
- 11 Apr, 2017 3 commits
-
-
Niels Lohmann authored
-
Niels Lohmann authored
Taken from https://github.com/travis-ci/docs-travis-ci-com/pull/746/files.
-
Niels Lohmann authored
-
- 10 Apr, 2017 1 commit
-
-
Niels Lohmann authored
-
- 09 Apr, 2017 10 commits
-
-
Niels Lohmann authored
-
Niels Lohmann authored
-
Niels Lohmann authored
These classes are now constructed with an interface adapter. This moves complexity from various places into the interface adapter class, or to some factories which now implement the different flavors of input. Furthermore, input adapters are kept in std::shared_ptr to avoid the need of manual deletion.
-
Niels Lohmann authored
-
Niels Lohmann authored
-
Niels Lohmann authored
-
Niels Lohmann authored
-
Niels Lohmann authored
-
Niels Lohmann authored
-
Niels Lohmann authored
To test a fix for issue #464 (not yet implemented), we first need to have an MSVC build with “/permissive- /std:c++latest /utf-8”.
-
- 08 Apr, 2017 2 commits
-
-
Niels Lohmann authored
One test case for CBOR and MessagePack assumed little endianess.
-
Niels Lohmann authored
-
- 07 Apr, 2017 3 commits
-
-
Niels Lohmann authored
This implementation forwards the iterators to std::map::insert.
-
Niels Lohmann authored
-
Niels Lohmann authored
We totally forgot to implement the comparison operators other than == and != for scalar types. Consequently, comparing a JSON value with a scalar type led to compile errors.
-
- 06 Apr, 2017 1 commit
-
-
Niels Lohmann authored
Do not store eof() in a char buffer…
-
- 05 Apr, 2017 1 commit
-
-
Niels Lohmann authored
-
- 04 Apr, 2017 4 commits
-
-
Niels Lohmann authored
-
Niels Lohmann authored
-
Niels Lohmann authored
-
Niels Lohmann authored
-
- 03 Apr, 2017 3 commits
-
-
Niels Lohmann authored
-
Niels Lohmann authored
add enum class default conversions
-
Niels Lohmann authored
TIL about C++: executing m[key()]=val(); for a std::map executes First key() then val() with Clang First val() then key() with GCC #wat
-
- 02 Apr, 2017 1 commit
-
-
Niels Lohmann authored
- removed uncached input stream adapter; it was too slow anyway - implemented a class binary_read which parses CBOR based on input adapters - in the CBOR parser, numbers are created via memcpy to avoid undefined behavior
-