Commit Graph

81 Commits

Author SHA1 Message Date
Mikhail Khachayants
b7c051fbc1 Fix buffer overflow in u8_strlen 2024-10-19 00:02:36 +03:00
sandwoodK
2431bdeaa6 Ability to customize regular expression engine 2024-05-02 09:18:28 +02:00
Tristan Penman
9de00d75b4 Bump minimum cmake version to 3.5.1 2023-11-01 16:41:02 +11:00
Tristan Penman
cd9258c241 Add picojson example 2023-08-24 09:38:06 +10: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
2cef1a6538 Switch to submodule for picojson 2022-08-30 11:41:15 +12:00
Johannes Rave
dee2fa64ff Support for time related format fields 2022-07-18 16:57:44 +03:00
Tristan Penman
1ff3625482 Add script to bundle library into a single header 2022-04-09 13:46:54 +10:00
Pras Velagapudi
f03461bb01 Fixed issue with YAML::Node reference usage. 2022-02-13 05:25:31 -05:00
Pras Velagapudi
698936aee1 Added missing dep for YAML-cpp. 2022-02-11 19:17:07 -05:00
Pras Velagapudi
328db2f644 Initial pass at yaml-cpp support. 2022-02-11 19:13:43 -05:00
Tristan Penman
27d30658d2 Update vendored jsoncpp to version 1.9.5 2022-02-09 22:01:49 +11:00
Tristan Penman
c2822576a2 Update CMakeLists to use add_compile_definitions 2022-02-08 09:21:21 +11:00
Jon Petrissans
4622b958e4 Set valijson_BUILD_TESTS OFF by default in cmake
Avoids extra unnecessary dependencies by default.
2022-01-31 08:40:44 +01:00
Jon Petrissans
50010fd959 Make VALIJSON_USE_EXCEPTIONS interface definition 2022-01-31 08:40:44 +01:00
Jon Petrissans
c5dac2bc0b Install cmake export file 2022-01-31 08:40:44 +01:00
Jon Petrissans
c7d5f2cbec Remove valijson_INSTALL_HEADERS from cmake build
As the install is done separately from the build, no need to make header
installation optional.
2022-01-30 18:11:30 +01:00
Tristan Penman
7b6d22f166 Update CMakeLists.txt to check for boost/json.hpp before building tests 2021-10-06 20:33:39 +11:00
Matt Young
f5cf601efa Add Boost.JSON support 2021-09-10 08:55:03 +02:00
Ray Vincent
ef42dae296 Add support for urn document references 2021-08-23 15:45:49 -07:00
Tristan Penman
c5487c39eb Update rapidjson to latest code from github 2021-07-29 07:31:00 +10:00
Tristan Penman
385d2d8306 Improve handling of compiler flags when exceptions are disabled 2021-07-28 21:05:26 +10:00
Tristan Penman
82e093fe18 Upgrade gtest to v1.11.0 2021-07-28 19:27:28 +10:00
Tristan Penman
6cc4cddc96 Suppress boost warnings that aren't relevant to the test suite 2021-05-24 10:00:16 +10:00
Tristan Penman
cb778b6bb6 Minor changes to address msvc warnings and make cmake work on Windows 2021-05-17 14:00:55 +10:00
Pascal Heinrich
8cc83c8be9 move curlpp findPackage in EXAMPLES block 2020-12-02 10:01:36 +01:00
Jordan Bayles
8f6f9b6a80 Use deprecated declarations 2020-11-08 17:18:14 -08:00
Jordan Bayles
a30ef97465 Add VALIJSON_USE_EXCEPTIONS mode
This patch adds support for a new Cmake option,
VALIJSON_USE_EXCEPTIONS. If specified and set to `0`, Valijson will
disable all exception throwing, add the `-fno-exceptions` compiler flag,
and print to std::err and abort where exceptions would have been thrown.

NOTE: to set the value of a CMake option, the easiest way is to modify
the appropriate source line in the <build folder>/CMakeCache.txt file.

Bug: #106
2020-11-08 16:58:32 -08:00
Jordan Bayles
88d9d890b5 Update JsonCpp to 1.9.4
This patch updates the JsonCpp third party dependency to the latest
version.
2020-11-05 17:11:35 -08:00
Arthur Farias
f60a30899b Added interface target to CMakeLists.txt 2020-07-09 18:24:41 +02:00
Tristan Penman
73a8e440c0 More aggressive compiler warnings 2020-07-06 19:30:55 +10:00
Tristan Penman
e5c1cbfe88 Ensure tests are run for Poco, Qt and property_tree adapters 2020-07-06 12:37:05 +10:00
Tristan Penman
94cef2fa8d Add example showing local file resolution 2020-06-26 20:05:26 +10:00
Tristan Penman
dbe09e0bab Tidy up handling of optional dependencies 2019-08-27 12:19:27 +10:00
Tristan Penman
99810fa60e Minor fixes for test suite build 2019-08-20 21:55:23 +10:00
Tristan Penman
1844241d2a Make Boost a truly optional dependency 2019-08-20 11:18:58 +10:00
Tristan Penman
56fb36dff9 Improve optional example and test suite options in CMakeLists.txt 2019-08-20 11:11:42 +10:00
Tristan Penman
93c69a729f
Merge pull request #71 from cjkoenig/update_rapidjson
Update rapidjson to v1.1.0
2018-10-30 21:58:34 +11:00
Christoph König
12425ff0be Update rapidjson to v1.1.0 2018-10-24 12:05:24 +02:00
Sebastian Stammler
61355b7d73 cmake: Add prefix to public options 2018-09-01 22:27:29 +02:00
Tristan Penman
a95be7a780 Upgrade bundled version of nlohmann json to v3.1.2 2018-08-01 14:39:43 +10:00
Tobias Kussel
7cbce6dca6 Inclusion of current's cmake module directory for nested projects 2018-05-30 10:43:44 +02:00
Kodekarl
7dbf0d862f Use keyword NOT instead of !
Cmake does not understand '!'.
2017-12-19 23:49:37 +01:00
Tristan Penman
665741110c Update embedded version of json11 so that tests can be built using clang 4+ 2017-09-23 09:36:01 +10:00
Tristan Penman
cff81eb2ab Add some example code that was prepared for a Melbourne C++ lightning talk 2017-07-10 12:58:46 +10:00