Théo Delrieu
|
dabe99f83c
|
rewrite unit-udt: basic usage
|
2016-12-04 17:53:36 +01:00 |
|
Théo DELRIEU
|
a645a766e4
|
add support for non-default-constructible udt
|
2016-11-30 23:39:16 +01:00 |
|
Théo DELRIEU
|
4e0ac5993e
|
add a few tests
|
2016-11-26 01:46:03 +01:00 |
|
Théo Delrieu
|
cd82e8e92b
|
remove some useless checks, format a bit, added some comments
|
2016-11-26 01:46:03 +01:00 |
|
Théo DELRIEU
|
453fe5d8a2
|
format biggest lines
|
2016-11-26 01:46:03 +01:00 |
|
Théo Delrieu
|
58b145f31e
|
only use conjunction & co when needed to avoid MSVC crashing
|
2016-11-26 01:46:02 +01:00 |
|
Théo DELRIEU
|
ec5ba4c7a7
|
add is_compatible_basic_json_type trait
|
2016-11-26 01:46:02 +01:00 |
|
Théo Delrieu
|
84242151c8
|
add a macro for has_xxx types
|
2016-11-26 01:46:02 +01:00 |
|
Théo DELRIEU
|
b97eb4df30
|
correctly constrain basic_json udt constructor
|
2016-11-26 01:46:02 +01:00 |
|
Théo DELRIEU
|
c8102d2ce7
|
add negation, disjunction, and conjunction from C++17
|
2016-11-26 01:46:02 +01:00 |
|
Théo DELRIEU
|
c41e03be6b
|
remove constraints on JSONSerializer instances, constrain correctly new methods
|
2016-11-26 01:46:02 +01:00 |
|
Théo DELRIEU
|
b1e47170c4
|
add is_compatible_* traits
|
2016-11-26 01:46:02 +01:00 |
|
Théo DELRIEU
|
a5d81ff3c2
|
add basic test for custom serializer
|
2016-11-26 01:46:02 +01:00 |
|
Théo DELRIEU
|
88f7eb63d9
|
fix compilation: add a return in constexpr functions
|
2016-11-26 01:46:02 +01:00 |
|
Théo DELRIEU
|
75a9cf116e
|
to_json and from_json takes both two arguments now
the first is the basic_json type, the second the user-defined type
|
2016-11-26 01:46:02 +01:00 |
|
Théo DELRIEU
|
d45533b32f
|
add template arguments for JSONSerializer
|
2016-11-26 01:46:02 +01:00 |
|
Théo DELRIEU
|
7d6dbcfbf4
|
add first version for alternate implementation
|
2016-11-26 01:46:02 +01:00 |
|
Théo DELRIEU
|
0ec64b6df4
|
fix compilation on gcc 4.9
|
2016-11-26 01:46:01 +01:00 |
|
Théo Delrieu
|
e90553f863
|
fix compilation on vs2015 (taken from MS-ranges)
|
2016-11-26 01:46:01 +01:00 |
|
Théo DELRIEU
|
d36ae188e1
|
move most SFINAE trickery in to/from_json_fn
|
2016-11-26 01:46:01 +01:00 |
|
Théo DELRIEU
|
93dabed0a8
|
remove has_destructor and has_json_traits, use decltype instead
|
2016-11-26 01:46:01 +01:00 |
|
Théo DELRIEU
|
27d4416a09
|
use uncvref_t<T> instead of remove_cv_t<remove_reference_t<T>>>
|
2016-11-26 01:46:01 +01:00 |
|
Théo DELRIEU
|
34c9f092a2
|
rename __static_const to _static_const (reserved identifier)
|
2016-11-26 01:46:01 +01:00 |
|
Théo DELRIEU
|
d2f8d439f9
|
revert useless formatting
|
2016-11-26 01:46:01 +01:00 |
|
Théo DELRIEU
|
eb58a4e51c
|
add alias templates to reduce boilerplate
|
2016-11-26 01:46:01 +01:00 |
|
Théo DELRIEU
|
3bbccb1544
|
wip: add get_impl overload that uses free from_json method
|
2016-11-26 01:46:01 +01:00 |
|
Théo DELRIEU
|
2bb49e1555
|
wip: modify from_json prototype
|
2016-11-26 01:46:01 +01:00 |
|
Théo DELRIEU
|
d6fea62a29
|
wip: add free function to_json/from_json support
|
2016-11-26 01:46:01 +01:00 |
|
Théo DELRIEU
|
528315fb03
|
anonymous namespace renamed to detail
|
2016-11-26 01:46:00 +01:00 |
|
Théo Delrieu
|
ca811a28ee
|
add first version support for user-defined types
|
2016-11-26 01:45:31 +01:00 |
|
Niels Lohmann
|
1ed510c232
|
Merge branch 'develop' into feature/filenotfound
|
2016-11-25 17:39:24 +01:00 |
|
Niels Lohmann
|
f194db9aa6
|
✅ added assertion for warning from #368
|
2016-11-24 22:07:35 +01:00 |
|
Niels Lohmann
|
dfc49e7afe
|
🐛 fixed a bug if parser was called with a stream at EOF (#367)
|
2016-11-24 21:45:10 +01:00 |
|
Niels Lohmann
|
4bb41d065b
|
🐛 parsing erroneous files yields an exception (#366)
|
2016-11-23 16:57:01 +01:00 |
|
Niels
|
abce5c25bb
|
📝 cleaned comments and updated README
|
2016-11-21 23:38:17 +01:00 |
|
Niels
|
43dbe02d5b
|
🐛 fixing #359
|
2016-11-21 21:53:10 +01:00 |
|
Niels
|
9ca00e4880
|
readded missing header
|
2016-11-03 07:27:32 +01:00 |
|
Niels
|
e385417047
|
documented and cleaned up headers (#314)
|
2016-11-02 21:27:19 +01:00 |
|
Niels
|
700977d73e
|
version bump
|
2016-11-02 20:52:15 +01:00 |
|
Niels
|
3716a2fbe8
|
Merge branch 'develop' into feature/jsontestsuite
|
2016-11-02 17:03:12 +01:00 |
|
Niels
|
737d43724f
|
Merge branch 'feature/issue329' into develop
|
2016-11-02 16:59:23 +01:00 |
|
Niels
|
59c8343851
|
cleanup
|
2016-11-02 15:44:46 +01:00 |
|
Niels
|
94c16b2c31
|
fixed coverage
|
2016-11-01 17:01:04 +01:00 |
|
Niels
|
8d1e65f297
|
evaluated i-tests (#344)
|
2016-10-30 16:07:17 +01:00 |
|
Niels
|
a8136c578a
|
fixed BOM handling #344
|
2016-10-29 21:08:30 +02:00 |
|
Niels
|
b820bb3b1f
|
fixed a lot of unicode errors (#344)
BOMs currently yield an error.
|
2016-10-29 19:35:17 +02:00 |
|
Niels
|
42ea4fb751
|
fixed a bug for short input files (#344)
For input files with less than 5 bytes, the parser had a bug so that
refilling the input buffer led to erasing it.
|
2016-10-29 13:32:36 +02:00 |
|
Niels
|
79d9fdc016
|
user-defined string literals exploit string length (#340)
|
2016-10-22 18:57:58 +02:00 |
|
Niels
|
606098f45d
|
release 2.0.6
|
2016-10-15 16:47:45 +02:00 |
|
Niels
|
d91067220f
|
added missing overflow check for #329
|
2016-10-13 21:00:48 +02:00 |
|