Commit Graph

574 Commits

Author SHA1 Message Date
Dominic Reber
5d7a6c5c4c Fix isString() method in yaml_cpp_adapter 2023-12-13 15:48:55 +01:00
Tristan Penman
9de00d75b4 Bump minimum cmake version to 3.5.1 2023-11-01 16:41:02 +11:00
Tristan Penman
d52d2dd053 Use string instead string_view 2023-08-26 09:03:02 +10:00
Tristan Penman
373576a3d2 Process each invalid example separately in picojson_format_test 2023-08-24 20:52:18 +10:00
Tristan Penman
0b7efb3763 Make subschema constraint validation clearer 2023-08-24 20:45:43 +10:00
Tristan Penman
0530af0709 Improve PicoJSON format test example 2023-08-24 20:40:00 +10:00
Tristan Penman
cd9258c241 Add picojson example 2023-08-24 09:38:06 +10:00
Tristan Penman
138c3785ef Tweak behaviour of format constraint validation 2023-08-24 09:37:44 +10:00
Tristan Penman
92b9514bde Revert "fail with the first unmet constraint to avoid running into type mismatches"
This reverts commit aee67d58f0.

I believe the original intention of this code was to fall through to
later constraints, even if earlier constraints were not satisfied. This
is not captured by any of the tests in the test suite, which is an
oversight on my part.
2023-08-24 09:18:24 +10:00
Marco Porsch
aee67d58f0 fail with the first unmet constraint to avoid running into type mismatches 2023-08-23 15:42:06 +02:00
Marco Porsch
f716227d0a check the type constraint first because others might rely on it 2023-08-23 15:41:15 +02:00
Tristan Penman
f1902801d6
Merge pull request #179 from DavidKorczynski/cifuzz-int 2023-07-15 15:55:28 +10:00
David Korczynski
3c63c49d60 Add CIFuzz Github Action
Signed-off-by: David Korczynski <david@adalogics.com>
2023-07-11 11:13:57 -07:00
Tristan Penman
4d857316f2 Revert "Bump nlohmann-json submodule"
This reverts commit 8065a5accc.
2023-06-10 12:11:50 +10:00
Tristan Penman
8065a5accc Bump nlohmann-json submodule 2023-06-10 09:00:53 +08:00
Tristan Penman
5dcec3ef49
Merge pull request #177 from taichi-dev/master 2023-06-10 10:55:19 +10:00
yekuang
94ca772cc7
[Build] Make it work on Linux (#1) 2023-06-07 22:52:25 +08:00
Cheng Cao
780bf06715 Rework adapter to build on VS 2022 with latest JSON for modern C++ 2023-06-05 14:50:43 -07:00
Tristan Penman
f7399c1a24
Merge pull request #175 from cbrumgard/master 2023-05-19 11:26:40 +10:00
Chris Brumgard
9e5b479b95 Fixed validation_visitor to work with adaptors that only support the
forward_iterator_tag for array value iterators.
2023-05-18 10:11:37 -04:00
Tristan Penman
2acde8ec54
Merge pull request #172 from silvergasp/ci
Adds Github Actions configuration for CI
2023-02-26 13:09:30 +11:00
Nathaniel Brough
e339c2c2ef Adds Github Actions configuration for CI 2023-02-25 11:25:30 -08:00
Tristan Penman
65ba76e493
Merge pull request #169 from AustinHaigh-Hach/fix-typos 2022-11-02 09:25:22 +11:00
Austin Haigh
f1ff351828 fix typos in preprocessor macros 2022-11-01 13:29:16 -06:00
Tristan Penman
78ac8a737d Correct token replacement issue 2022-10-26 21:01:58 +11:00
Tristan Penman
c4355eaa47 Simplify implementation of YamlCppObject::find() 2022-09-19 21:01:37 +10:00
Tristan Penman
375eaae06c Tidy up doc-comments 2022-09-15 11:06:04 +10:00
Tristan Penman
db8daacc32 Add std::nothrow when using operator new 2022-09-12 13:02:34 +10:00
Tristan Penman
e895d035dc Attempt to fix oss-fuzz build 2022-09-02 10:20:17 +12:00
Tristan Penman
d9c9d2eb0c Revert nlohmann-json module to 3.1.2 2022-08-30 18:05:01 +10:00
Tristan Penman
8d04b757d3 Fix whitespace in .gitmodules 2022-08-30 14:31:28 +12:00
Tristan Penman
2642dd4efc Bump rapidjson submodule to 06d58b9 2022-08-30 13:41:44 +12:00
Tristan Penman
74bd2a990f Switch to using submodule for JSON-Schema-Test-Suite 2022-08-30 13:28:52 +12:00
Tristan Penman
2fe3c829e1 Switch to using submodule for googletest 2022-08-30 13:26:37 +12:00
Tristan Penman
b63a08f379 Switch to using submodule for json11 2022-08-30 13:23:59 +12:00
Tristan Penman
444bc02def Switch to using submodule for jsoncpp 2022-08-30 13:21:15 +12:00
Tristan Penman
ac122d9ed3 Switch to using submodule for yaml-cpp 2022-08-30 13:20:56 +12:00
Tristan Penman
fb995cebd3 Switch to using submodule for nlohmann-json 2022-08-30 13:07:33 +12:00
Tristan Penman
582fd0fc13 Switch to using submodule for rapidjson 2022-08-30 11:54:37 +12:00
Tristan Penman
008c7ca4f9 Update readme 2022-08-30 11:44:38 +12:00
Tristan Penman
2cef1a6538 Switch to submodule for picojson 2022-08-30 11:41:15 +12:00
Tristan Penman
c0ce4cde7e Correct typo in license 2022-08-11 13:29:23 +10:00
Tristan Penman
d397ac6074 Include <limits> header in custom_allocator.hpp 2022-08-10 23:50:03 +10:00
Tristan Penman
94d3bfd39a Fix format regex escape sequences 2022-07-21 22:45:25 +10:00
Tristan Penman
25dcdb1c3a
Merge pull request #160 from jrave/time-format-fields 2022-07-19 10:36:08 +10:00
Johannes Rave
dee2fa64ff Support for time related format fields 2022-07-18 16:57:44 +03:00
Tristan Penman
5f49d77b1e Basic structure for format constraint 2022-07-17 07:30:55 +03:00
Tristan Penman
a6a4fbb580 Remove redundant call to baseline 2022-04-09 17:26:32 +10:00
Tristan Penman
0de61e0cca Tidy up readme 2022-04-09 13:52:45 +10:00
Tristan Penman
1ff3625482 Add script to bundle library into a single header 2022-04-09 13:46:54 +10:00