Jonathan Dumaresq
|
c1c85b025c
|
Forget one std::FILE
|
2018-12-14 07:33:28 -05:00 |
|
Jonathan Dumaresq
|
635a4fc344
|
use namespace std when possible. Change the name of private variable.
|
2018-12-12 16:33:25 -05:00 |
|
Jonathan Dumaresq
|
91ff96a737
|
remove the const attribute
|
2018-12-12 14:16:12 -05:00 |
|
Jonathan Dumaresq
|
b7a2642fba
|
remove comment
|
2018-12-12 14:15:49 -05:00 |
|
Jonathan Dumaresq
|
ef283e0cf8
|
add tests to cover the new input adapter
|
2018-12-12 10:18:37 -05:00 |
|
Jonathan Dumaresq
|
ae48acbb23
|
remove non usefull code. Add small description
|
2018-12-12 09:28:42 -05:00 |
|
Jonathan Dumaresq
|
52f6fd1d91
|
Add the possibility of using FILE * from cstdio library to read a file. This enable the possibility of using low eand device with this library.
|
2018-12-11 13:17:13 -05:00 |
|
Niels Lohmann
|
2f73a4d1f3
|
🚨 fixed a linter warning
|
2018-10-31 20:30:24 +01:00 |
|
Niels Lohmann
|
d2e4f0b0d9
|
✏️ fixed some typos
|
2018-10-28 14:20:20 +01:00 |
|
Niels Lohmann
|
f0c1459554
|
🐛 fixed a bug parsing BSON strings #1320
|
2018-10-28 09:16:40 +01:00 |
|
Niels Lohmann
|
4e765596f7
|
🔨 small improvements
|
2018-10-27 18:31:03 +02:00 |
|
Niels Lohmann
|
19647e083c
|
🚨 fixed compiler warnings
|
2018-10-25 14:27:55 +02:00 |
|
Niels Lohmann
|
1968e5c793
|
🎨 clean up binary formats
|
2018-10-24 23:39:30 +02:00 |
|
Julian Becker
|
2a63869159
|
Merge branch 'develop' of https://github.com/nlohmann/json into feature/bson
Conflicts:
include/nlohmann/detail/input/binary_reader.hpp
single_include/nlohmann/json.hpp
src/unit-bson.cpp
|
2018-10-17 20:26:00 +02:00 |
|
Niels Lohmann
|
dbb0b63187
|
♿ improved error messages for binary formats #1288
This commit is the equivalent of #1282 for CBOR, MessagePack, and UBJSON.
|
2018-10-17 12:15:58 +02:00 |
|
Julian Becker
|
5bccacda30
|
BSON: throw json.exception.out_of_range.407 in case a value of type std::uint64_t is serialized to BSON. Also, added a missing EOF-check to binary_reader.
|
2018-10-16 19:13:07 +02:00 |
|
Niels Lohmann
|
e426219256
|
Merge pull request #1282 from nlohmann/feature/lines_columns
Improve diagnostic messages
|
2018-10-08 22:17:33 +02:00 |
|
Niels Lohmann
|
74a31075e3
|
♿ improved parse error messages
|
2018-10-07 22:39:17 +02:00 |
|
Niels Lohmann
|
6e49d9f5ff
|
🚑 fixed compilation error
|
2018-10-07 21:34:40 +02:00 |
|
Niels Lohmann
|
f8158997b5
|
📝 fixed documentation
|
2018-10-07 21:30:58 +02:00 |
|
Niels Lohmann
|
3abb788139
|
🚨 fixed some more clang-tidy warnings
|
2018-10-07 19:07:58 +02:00 |
|
Niels Lohmann
|
858e75c4df
|
🚨 fixed some clang-tidy warnings
|
2018-10-07 18:39:18 +02:00 |
|
Niels Lohmann
|
6d09cdec34
|
🐛 fixed a bug in the unget function
|
2018-10-07 16:48:45 +02:00 |
|
Niels Lohmann
|
011b15dd08
|
♿ added line positions to error messages
This is a follow-up to #1210.
|
2018-10-07 12:27:24 +02:00 |
|
Julian Becker
|
81f4b34e06
|
BSON: Improved documentation and error handling/reporting
|
2018-10-07 09:57:55 +02:00 |
|
Niels Lohmann
|
fa722d5ac3
|
🚨 fixed another linter warning
|
2018-10-06 16:26:47 +02:00 |
|
Niels Lohmann
|
ec95438a59
|
🚨 fixed some linter warnings
|
2018-10-06 13:49:02 +02:00 |
|
Niels Lohmann
|
bb55885215
|
💄 cleaned code
|
2018-10-04 20:42:19 +02:00 |
|
Antonio Borondo
|
b6fdad9acd
|
Remove anonymous namespace
|
2018-10-03 13:51:49 +01:00 |
|
Antonio Borondo
|
7c385a4844
|
Fix error: 'wide_string_input_helper' was not declared in this scope
|
2018-10-03 12:41:34 +01:00 |
|
Antonio Borondo
|
9ba3f79667
|
Fix error: explicit specialization in non-namespace scope
|
2018-10-03 12:26:24 +01:00 |
|
Antonio Borondo
|
8d1585f065
|
Change implementation to use templates
|
2018-10-03 11:44:02 +01:00 |
|
Antonio Borondo
|
0231059290
|
Fix warning
|
2018-10-03 11:27:53 +01:00 |
|
Julian Becker
|
e8730e5e82
|
BSON: Reworked binary_reader::get_bson_cstr()
|
2018-09-29 11:50:01 +02:00 |
|
Julian Becker
|
0a09db9cc2
|
BSON: Extend binary_reader::get_number to be able to hanlde little endian input to get rid of binary_reader::get_number_little_endian
|
2018-09-29 11:33:01 +02:00 |
|
Julian Becker
|
ef358ae695
|
BSON: Fixed hangup in case of incomplete bson input and improved test coverage
|
2018-09-25 20:34:25 +02:00 |
|
Julian Becker
|
df33a90774
|
BSON: Bugfix for non-empty arrays
|
2018-09-15 14:08:38 +02:00 |
|
Julian Becker
|
cf485c2907
|
BSON: Support for arrays
|
2018-09-15 13:54:08 +02:00 |
|
Julian Becker
|
5ce7d6bdd7
|
BSON: support objects with objects as members
|
2018-09-15 13:03:42 +02:00 |
|
Julian Becker
|
c0d8921a67
|
BSON: support objects with int64 members
|
2018-09-15 12:00:53 +02:00 |
|
Julian Becker
|
7ee361f7ad
|
BSON: support objects with int32 members
|
2018-09-15 11:54:17 +02:00 |
|
Julian Becker
|
c5ef023171
|
BSON: support objects with null members
|
2018-09-15 11:39:12 +02:00 |
|
Julian Becker
|
6c447de076
|
BSON: Support objects with string members
|
2018-09-15 11:33:24 +02:00 |
|
Julian Becker
|
0c0f2e44b5
|
BSON: support doubles
|
2018-09-15 10:32:03 +02:00 |
|
Julian Becker
|
9a0dddc5d2
|
BSON: Object with single boolean
|
2018-09-15 03:08:50 +02:00 |
|
Julian Becker
|
5f5836ce1c
|
BSON: Support empty objects
|
2018-09-15 00:43:39 +02:00 |
|
Julian Becker
|
f06c8fd8e3
|
BSON: serialization of non-objects is not supported
|
2018-09-15 00:20:03 +02:00 |
|
mandreyel
|
6b5334c167
|
Move lambda out of unevaluated context
|
2018-09-10 13:34:59 +02:00 |
|
Niels Lohmann
|
3811daa8a3
|
📝 release preparation
|
2018-08-18 12:00:14 +02:00 |
|
Tsz-Ho Yu
|
3004a73951
|
Fix -Wno-sometimes-uninitialized by initializing "result" in parse_sax
The function parse_sax() returns sometimes-uninitialized warnings in
some compilers. This commit fixes that.
|
2018-08-18 01:12:19 +01:00 |
|