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
..
2023-11-04 23:11:38 +01:00
2012-05-09 19:47:36 +00:00
2012-11-11 09:57:01 +01:00
2020-01-11 12:45:39 +01:00
2020-01-11 22:33:28 +01:00
2024-01-31 22:07:07 +01:00