poco/JSON/testsuite
Aleksandar Fabijanic 669be63134
Allow set enum as json value (#4363) (#4434)
* Allow set enum as json value (#4363)

* fix issue #4341
add testEnum
if you set enum as json value then it will be cast to int

* add behavour for enum into VarHolderImpl
add tests for enum classes with differnent underline integral types

* replace static_cast with convertTo* methods, they can chaeck types and
limits

* fix missing types for convert methods

* fix code style
add testEnumType to the VarTest.cpp, extract() works

* enh(VarHolder): replace ::value and ::type with shortcuts

---------

Co-authored-by: Alexander B <ale.bychuk@gmail.com>
2024-07-29 23:30:51 +02:00
..
data #3470: bug in JSON ParseHandler.cpp (RFC 7159 should be valid) 2022-02-19 09:52:24 +01:00
src Allow set enum as json value (#4363) (#4434) 2024-07-29 23:30:51 +02:00
CMakeLists.txt RFC: Remove Windows CE support (#4342) 2023-12-14 00:25:04 +01:00
Makefile remove duplicate files and remaining Id headers 2017-11-10 09:26:24 +01:00
TestSuite_vs90.vcproj Regenerating VisualStudio projects 2018-06-20 09:47:40 +02:00
TestSuite_vs160.vcxproj chore(build): re-generated VS project files 2024-04-03 12:33:13 +02:00
TestSuite_vs160.vcxproj.filters chore(build): re-generated VS project files 2024-04-03 12:33:13 +02:00
TestSuite_vs170.vcxproj chore(build): re-generated VS project files 2024-04-03 12:33:13 +02:00
TestSuite_vs170.vcxproj.filters chore(build): re-generated VS project files 2024-04-03 12:33:13 +02:00
TestSuite.progen 4368 oracle odbc tests (#4410) 2024-01-31 22:07:07 +01:00