Niels Lohmann
e8bf1f62f7
✨ added define for library version #948 #943
2018-01-31 22:36:18 +01:00
Niels Lohmann
552d153842
📝 added more statistics on binary formats
2018-01-31 21:54:38 +01:00
Niels Lohmann
60e2d28eb7
🐛 fix for #947
2018-01-31 20:53:13 +01:00
Niels Lohmann
51c774f208
📝 added documentation for binary formats
2018-01-31 17:23:11 +01:00
Niels Lohmann
57e6fddd90
🚨 fixed warnings
2018-01-30 23:57:49 +01:00
Niels Lohmann
f7131715b1
Merge branch 'develop' of https://github.com/nlohmann/json into develop
2018-01-30 23:20:39 +01:00
Niels Lohmann
ce273af9b6
📝 added documentation for binary formats
2018-01-30 23:20:36 +01:00
Niels Lohmann
8049442c2a
🔨 rename yytext to token_buffer (fixes #933 )
2018-01-29 21:56:13 +01:00
Niels Lohmann
b3bd3b726b
📝 added link to OSS-Fuzz project repository
2018-01-28 21:02:02 +01:00
Niels Lohmann
52e9449563
📝 added more functions to overview
2018-01-28 20:44:45 +01:00
Niels Lohmann
cb4a9c85cb
🔨 excluded code from coverage
2018-01-28 17:55:40 +01:00
Niels Lohmann
1483d39c91
🔨 moved class json_pointer into separate file #920
2018-01-28 15:36:56 +01:00
Niels Lohmann
e95578f884
📝 documented JSON Merge Patch (RFC 7386)
2018-01-28 14:36:17 +01:00
Niels Lohmann
102c474397
🔨 clean up
2018-01-28 14:13:02 +01:00
Niels Lohmann
6855bbb902
🔨 split "parsing" directory to "input" and "output"
2018-01-28 13:15:03 +01:00
Niels Lohmann
05f49fa401
✅ added roundtrip tests for UBJSON
2018-01-27 18:47:32 +01:00
Niels Lohmann
f0b26c8f38
✅ added fuzzer for UBJSON input
2018-01-27 18:38:11 +01:00
Niels Lohmann
b0a68f540f
✅ added roundtrip tests for UBJSON
2018-01-27 18:37:55 +01:00
Niels Lohmann
1be3935e9d
📝 cleanup after #936
2018-01-27 17:43:44 +01:00
Niels Lohmann
355c1e946b
👷 added task to check amalgamation #906
...
- Builds and runs test cases from individual sources rather than from amalgamation.
- Checks whether amalgamation would create the same single-header file as checked in.
2018-01-23 18:00:12 +01:00
Niels Lohmann
dbfd7e532b
Merge branch 'develop' of https://github.com/nlohmann/json into develop
2018-01-23 16:33:10 +01:00
Niels Lohmann
3c68a796df
🔥 deprecated iterator_wrapper #874
...
Also fixed some warnings from GCC.
2018-01-23 16:33:08 +01:00
Niels Lohmann
7eabb6ba36
📝 updated documentation for UBJSON functions
2018-01-22 23:23:17 +01:00
Niels Lohmann
3cca630836
🔨 cleanup after #915
2018-01-21 15:55:35 +01:00
Niels Lohmann
3d776b0582
📝 updated README
2018-01-21 14:13:42 +01:00
Niels Lohmann
9e5d901f55
Merge branch 'feature/ubjson' into develop
2018-01-21 14:04:29 +01:00
Niels Lohmann
327b8bb09e
Merge branch 'feature/strings' into develop
2018-01-21 13:55:52 +01:00
Niels Lohmann
b406e3704b
➕ using Google Benchmark #921
2018-01-18 22:00:32 +01:00
Niels Lohmann
a8f711a2f1
➕ using Google Benchmark #921
2018-01-18 21:57:21 +01:00
Niels Lohmann
7456f1d87b
♻️ re-used existing UTF-8 decoder to simplfy string serialization
2018-01-16 20:42:00 +01:00
Niels Lohmann
afe4571309
🔨 cleanup + some noexcept
2018-01-16 20:41:04 +01:00
Niels Lohmann
b182308eff
🔨 cleanup
2018-01-16 20:40:24 +01:00
Niels Lohmann
92f7295063
🔨 cleanup
2018-01-15 13:21:33 +01:00
Niels Lohmann
3ac674562f
🔨 clean up
2018-01-14 22:26:20 +01:00
Niels Lohmann
9d6b3731b9
✅ improved test coverage
2018-01-14 20:07:38 +01:00
Niels Lohmann
06cddd371b
🔨 removed failing amalgamation test
2018-01-14 17:22:42 +01:00
Niels Lohmann
f85f4967fe
✅ improved test coverage
2018-01-14 17:22:06 +01:00
Niels Lohmann
6965ff00c8
Merge branch 'develop' into feature/ubjson
2018-01-14 13:58:06 +01:00
Niels Lohmann
411c16cbb2
📝 overworked documentation wrt. amalgamation #906
2018-01-14 13:08:28 +01:00
Niels Lohmann
fea5f3792b
📝 it's 2018
2018-01-14 10:41:59 +01:00
Niels Lohmann
541b46132d
♻️ adjusted code to split headers
2018-01-14 10:34:43 +01:00
Niels Lohmann
0e8f01a963
Merge branch 'develop' into feature/rfc7396
2018-01-14 10:28:09 +01:00
Niels Lohmann
c772c01a48
♻️ refactored code to split headers
2018-01-14 10:27:30 +01:00
Niels Lohmann
1b54d4a5aa
Merge branch 'develop' into feature/ubjson
2018-01-14 10:10:56 +01:00
Niels Lohmann
420dcf1f25
🚧 added check whether code is amalgamated
2018-01-14 10:10:23 +01:00
Niels Lohmann
a66b2d20c6
🚨 removed linter warnings for Python code
2018-01-13 11:15:23 +01:00
Niels Lohmann
f4a55f26b0
➕ added amalgamate Python script
2018-01-13 10:59:49 +01:00
Niels Lohmann
241eea0c0e
📝 documentation
2018-01-12 09:23:33 +01:00
Niels Lohmann
10bad9381d
🚧 added size benchmark for binary formats
2018-01-10 23:13:48 +01:00
Niels Lohmann
3a7585e738
✅ added more tests
2018-01-10 22:47:07 +01:00
Niels Lohmann
31bfabc4c0
🔨 optimized input format
2018-01-10 16:14:43 +01:00
Niels Lohmann
965a70e38d
🔨 optimized output format
2018-01-10 11:22:19 +01:00
Niels Lohmann
85173f5627
🔨 some clean up
2018-01-10 10:18:31 +01:00
Niels Lohmann
ce53537ba2
➖ ➕ replaces amalgamation tool
...
The tool used before created a lot of duplicates inside the generated amalgamation. The new tool is a single Python file which seems to do the same job.
2018-01-09 23:15:06 +01:00
Niels Lohmann
0a2920e0fd
♻️ reorganized code
2018-01-09 18:30:02 +01:00
Niels Lohmann
fd04967676
🐛 fixed copy-paste error
2018-01-08 21:37:51 +01:00
Niels Lohmann
fb1154c237
🚧 debug
2018-01-08 21:26:41 +01:00
Niels Lohmann
97e0d20ce9
🚧 debug
2018-01-08 21:16:20 +01:00
Niels Lohmann
ebf28a26ee
🚧 another try
2018-01-08 20:49:02 +01:00
Niels Lohmann
3d7658da89
🚧 working on AppVeyor's errors
2018-01-08 19:48:18 +01:00
Niels Lohmann
126ce2e56c
🚧 further UBJSON
2018-01-08 18:54:17 +01:00
Niels Lohmann
c9938ea838
🚧 started UBJSON implementation
2018-01-07 22:09:12 +01:00
Niels Lohmann
15b6421d07
✅ added UTF-8 decoder capability and stress test
...
As described in http://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-test.txt ; Markus Kuhn <http://www.cl.cam.ac.uk/~mgk25/ > - 2015-08-28 - CC BY 4.0
2018-01-05 23:26:22 +01:00
Niels Lohmann
78f8f837e6
added items() function #874
2018-01-05 18:34:10 +01:00
Niels Lohmann
96b40b27a5
📝 fixed Doxygen warnings
...
Apparently, using "\n" inside an alias is an error now, but "^^" basically means the same.
2018-01-05 18:33:42 +01:00
Niels Lohmann
ce1dccf347
Merge branch 'release/3.0.1' into develop
2017-12-29 20:24:49 +01:00
Niels Lohmann
92484f0caf
🔖 set version to 3.0.1
2017-12-29 18:31:13 +01:00
Niels Lohmann
ebc6849b71
✅ added test for #894
2017-12-29 16:53:04 +01:00
Niels Lohmann
3c76ff353d
📝 updated docs after PRs
2017-12-29 16:52:09 +01:00
Niels Lohmann
d45183d426
Merge branch 'develop' of https://github.com/nlohmann/json into develop
2017-12-28 13:52:26 +01:00
Niels Lohmann
3b3b6e8e69
🚑 fix for #894
...
- Implemented "copy" in terms of "add".
- Added check for JSON Pointer array indices to make sure the complete reference token was processed.
- Added test suite from https://github.com/json-patch/json-patch-tests
2017-12-28 13:52:23 +01:00
Niels Lohmann
3113a52a7d
📝 added exception 403 to documentation of at (#888 )
...
The at function throws json::out_of_range.403 when a nonexistent object key is provided (just like the usual at function). This was not documented and users could assume json::out_of_range.404 would be thrown instead.
- Updated documentation.
- Added example code.
2017-12-23 18:38:18 +01:00
Niels Lohmann
88ddb12afc
📝 fix for #883
...
- Adjusted table to user-defined exceptions. This was forgotten in the 3.0.0 update.
- Added update function to the table.
2017-12-18 19:46:53 +01:00
Niels Lohmann
1856f38c85
📝 removed paragraph on version 3.0.0
2017-12-17 11:22:35 +01:00
Niels Lohmann
afebb6a3bb
Merge branch 'release/3.0.0' into develop
2017-12-17 11:04:53 +01:00
Niels Lohmann
106f9f5436
⬆️ updated git-update-ghpages script
2017-12-17 10:20:30 +01:00
Niels Lohmann
9eb5e2c271
🔖 set version to 3.0.0
2017-12-17 08:40:19 +01:00
Niels Lohmann
9e3c4ad11f
🔖 set version to 3.0.0
2017-12-17 08:31:18 +01:00
Niels Lohmann
314e4e7699
📝 improved documentation for dump and iterator_wrapper
2017-12-16 23:58:10 +01:00
Niels Lohmann
9a51fb4da2
🚨 fixed some warnings
2017-12-16 22:19:30 +01:00
Niels Lohmann
980795b644
✏️ fixed typos
2017-12-16 12:37:44 +01:00
Niels Lohmann
f3bd755cab
➖ removing <iomanip> header
2017-12-16 12:37:25 +01:00
Niels Lohmann
4c871c58f8
✅ re-added tests for algorithms
2017-12-16 11:16:34 +01:00
Niels Lohmann
c23f5dcea6
📝 fixed year
2017-12-15 23:49:37 +01:00
Niels Lohmann
261caec2de
👥 added contributor image
2017-12-14 22:29:39 +01:00
Niels Lohmann
9a70c60fa5
Revert "⬆️ updated to Catch 2.0.1"
...
This reverts commit 920f64c01c .
2017-12-14 07:49:16 +01:00
Niels Lohmann
fb8482db76
👌 fixed some issues from the last commit #875
2017-12-13 23:44:53 +01:00
Niels Lohmann
c6e7eae394
✨ implemented JSON Merge Patch (RFC 7396)
...
SQLite's json1 extension (https://www.sqlite.org/json1.html ) supports JSON Merge Patch (https://tools.ietf.org/html/rfc7396 ). As the implementation is trivial and we already support JSON Patch, I think this could be a nice extension to the library.
2017-12-13 23:36:22 +01:00
Niels Lohmann
920f64c01c
⬆️ updated to Catch 2.0.1
...
Update required all CHECK_THROWS_AS macros to pass the exception type without reference, because this is now done by Catch2.
2017-12-13 22:18:05 +01:00
Niels Lohmann
293748a9a9
📝 overworked README
...
- Added recent contributors to thanks list.
- Linked PGP key for private mails.
- Updated compiler list.
2017-12-13 22:17:02 +01:00
Niels Lohmann
e8d9963abe
👌 cosmetic changes and overworked spelling
...
- All hex literals use upper case letters after the x.
- Fixed sime typos.
- Documented some more functions.
2017-12-13 22:15:53 +01:00
Niels Lohmann
a9a4ff61c6
🚨 remove C4996 warnings #872
...
These were the remaining direct calls to alloc.
2017-12-13 17:01:39 +01:00
Niels Lohmann
8419bfbbd2
✅ improved test coverage
...
As we guarantee proper UTF-8 before, we do not need to cope with it later.
2017-12-12 20:44:57 +01:00
Niels Lohmann
569d275f65
💥 throwing an exception in case dump encounters a non-UTF-8 string #838
...
We had a lot of issues with failing roundtrips (i.e., parse errors from serializations) in case string were stored in the library that were not UTF-8 encoded. This PR adds an exception in this case.
2017-12-11 22:38:05 +01:00
Niels Lohmann
7de009edd1
✏️ fixing typos #869
2017-12-10 13:07:47 +01:00
Niels Lohmann
772bb3cc20
📝 fixing documentation #867
...
The example in the documentation on how to "force" an array of arrays was wrong since the first release. Fixed the documentation and added checks for the README unit tests.
2017-12-10 12:32:20 +01:00
Niels Lohmann
7c2d4f1852
👷 added Xcode 9.1 and 9.2
2017-12-06 22:32:03 +01:00
Niels Lohmann
9e2f185ac6
💄 reformatted code after PRs
2017-12-06 22:21:11 +01:00
Niels Lohmann
25d205c16d
📝 clarified difference between serialization and string value retrieval #853
2017-12-06 21:42:36 +01:00
Niels Lohmann
cc937deaf6
🚑 the last commit contained a bug #821
2017-11-26 10:15:23 +01:00