Commit Graph

4142 Commits

Author SHA1 Message Date
Niels Lohmann
519dcc5029 🐛 fix leak for all types 2021-08-07 21:46:26 +08:00
Niels Lohmann
3675770d22 🐛 fix leak for strings 2021-08-07 21:46:26 +08:00
Niels Lohmann
88ea375f39 🐛 fix leak for strings 2021-08-07 21:46:26 +08:00
Niels Lohmann
16758b933b 🐛 fix leak for strings 2021-08-07 21:46:26 +08:00
Niels Lohmann
5bbbe5fbfa 🐛 fix leak for strings 2021-08-07 21:46:26 +08:00
Niels Lohmann
e77ae77d7e ♻️ simplify destroy() function for primitive types 2021-08-07 21:46:26 +08:00
Niels Lohmann
97eb6414e4 add regression test 2021-08-07 21:46:25 +08:00
Niels Lohmann
8b643e4362 🚨 fix warnings 2021-08-07 21:46:25 +08:00
Niels Lohmann
45c77b1c72 ♻️ move capacity check to set_parent function 2021-08-07 21:46:25 +08:00
Niels Lohmann
44a7dceb04 🔥 remove duplicated line 2021-08-07 21:46:25 +08:00
Niels Lohmann
a5fd035506 🐛 fix logics 2021-08-07 21:46:25 +08:00
Niels Lohmann
714d9f56f8 🐛 fix assertion failure #2838 2021-08-07 21:46:25 +08:00
Rafail Giavrimis
23803e267a Specified git branch for google benchmark fetch
The default branch was renamed from "master" to "main", which breaks the cloning process.
2021-08-07 21:46:25 +08:00
Niels Lohmann
a4c9fa06ec ⚗️ fix coverage 2021-08-07 21:46:25 +08:00
Niels Lohmann
3363fc8aab 🚨 suppress missingReturn warnings 2021-08-07 21:46:25 +08:00
Niels Lohmann
1d7639a6f6 📝 document JSON_NO_IO macro #2842 2021-08-07 21:46:25 +08:00
Niels Lohmann
b475990b00 📝 add comment for handling of negative zeros #2854 2021-08-07 21:46:25 +08:00
David Pfahler
eeb48dd0a7 fixed amalgation file for #2728 2021-08-07 21:46:25 +08:00
David Pfahler
5a499323a2 include io only if JSON_NO_IO is not set for #2728 2021-08-07 21:46:25 +08:00
David Pfahler
378fbda911 fixed amalgation file for #2728 2021-08-07 21:46:25 +08:00
David Pfahler
6c99b750da Fixes #2728
includes some macros to be defined for using without file io.
2021-08-07 21:46:25 +08:00
Niels Lohmann
69de3eb786 📝 fix documentation (#2845) 2021-08-07 21:46:25 +08:00
justanotheranonymoususer
44201db12b Update arbitrary_types.md 2021-08-07 21:46:25 +08:00
justanotheranonymoususer
7ea27324c0 Update README.md 2021-08-07 21:46:25 +08:00
justanotheranonymoususer
a5104d1229 Consistency with using in README.md 2021-08-07 21:46:25 +08:00
Chaoya Li
db0287d2ef trigger upstream CI 2021-07-21 08:43:45 +08:00
Chaoya Li
98ac25b2ce Add const to getters for macro tests 2021-06-28 21:02:29 +08:00
Chaoya Li
f452a92c07 Added test for serialization of default constructed object 2021-06-28 18:35:02 +08:00
Chaoya Li
35c37c8ab5 Renamed default_obj in to avoid name clashes 2021-06-28 18:06:46 +08:00
Chaoya Li
d8ba9f43b0 Updated docs for NLOHMANN_DEFINE_TYPE_INTRUSIVE_WITH_DEFAULT and NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE_WITH_DEFAULT 2021-06-28 18:02:14 +08:00
Chaoya Li
5664233fe4 Rephrased docs for NLOHMANN_DEFINE_TYPE_INTRUSIVE_WITH_DEFAULT and NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE_WITH_DEFAULT 2021-06-26 05:57:45 +08:00
Chaoya Li
5a5832e178 Updated docs for NLOHMANN_DEFINE_TYPE_INTRUSIVE_WITH_DEFAULT and NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE_WITH_DEFAULT accordingly 2021-06-25 19:45:01 +08:00
Chaoya Li
7aeda9d433 Reverted changes for NLOHMANN_DEFINE_TYPE_INTRUSIVE and NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE; added new macros NLOHMANN_DEFINE_TYPE_INTRUSIVE_WITH_DEFAULT and NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE_WITH_DEFAULT 2021-06-22 09:00:11 +08:00
Chaoya Li
76f6740e30 Allow default values for NLOHMANN_DEFINE_TYPE_INTRUSIVE and NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE 2021-06-15 10:14:44 +08:00
Niels Lohmann
18a5f4c7ca
Merge pull request #2790 from nlohmann/macos_standards
Add C++ standards to macOS matrix
2021-06-14 20:23:21 +02:00
Niels Lohmann
71a514a651
Merge pull request #2770 from jasmcaus/patch-1
Keep consistent formatting
2021-06-14 07:18:46 +02:00
Niels Lohmann
fde6e1f800
Merge branch 'develop' of https://github.com/nlohmann/json into macos_standards 2021-06-14 07:17:47 +02:00
Niels Lohmann
95ad4ae071
Merge pull request #2817 from nlohmann/fix_ci
Fix CI
2021-06-14 07:16:32 +02:00
Niels Lohmann
802895b483
👷 remove Clang 10 2021-06-13 14:14:10 +02:00
Niels Lohmann
032f32ebe4
👷 add Clang 12 2021-06-13 14:04:20 +02:00
Niels Lohmann
30e52eb046
👷 execute all tests 2021-05-30 13:28:58 +02:00
Niels Lohmann
2b685c744b
👷 reduce load 2021-05-29 13:10:28 +02:00
Niels Lohmann
9f5ee3f145
👷 fix syntax 2021-05-28 22:27:46 +02:00
Niels Lohmann
311730bc3d
👷 add C++ standards to macOS matrix #2491 2021-05-28 22:23:50 +02:00
Niels Lohmann
e10a3fac8a
Merge pull request #2789 from TotalCaesar659/patch-2
Update URLs to HTTPS
2021-05-28 10:31:04 +02:00
TotalCaesar659
9a599ae63a
Update URLs to HTTPS 2021-05-28 00:53:17 +03:00
Jason Dsouza
f118091eaa
Update CMakeLists.txt 2021-05-15 23:39:15 +05:30
Niels Lohmann
0972f7ff0e
Merge pull request #2771 from offa/conan_package_url
Link to Conan Center package added
2021-05-15 19:26:34 +02:00
offa
7935a683f5 link to conan package in readme 2021-05-12 16:46:32 +02:00
Jason Dsouza
6d7959e05d
Keep consistent formatting 2021-05-12 19:25:06 +05:30